From 226a9f339914780e3da34eb36ec2473bb49db803 Mon Sep 17 00:00:00 2001 From: AzureGem Date: Thu, 31 Aug 2023 01:03:52 -0400 Subject: [PATCH] [WIP] Add missing XivChatTypeInfo to XivChatType I noticed some `XivChatType` doesn't have an associated `[XivChatTypeInfo]` attribute, therefore this PR aims in adding those missing attributes. This PR currently contain placeholders and therefore its not ready for merge. I currently do not know the exact default hex colors of the channels and whether the slugs would be okay/correct. --- Dalamud/Game/Text/XivChatType.cs | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Dalamud/Game/Text/XivChatType.cs b/Dalamud/Game/Text/XivChatType.cs index be9fb8e91..6e1dfd75d 100644 --- a/Dalamud/Game/Text/XivChatType.cs +++ b/Dalamud/Game/Text/XivChatType.cs @@ -13,6 +13,7 @@ public enum XivChatType : ushort // FIXME: this is a single byte /// /// The debug chat type. /// + [XivChatTypeInfo("Debug", "debug", 0x????????)] Debug = 1, /// @@ -42,6 +43,7 @@ public enum XivChatType : ushort // FIXME: this is a single byte /// /// The outgoing tell chat type. /// + [XivChatTypeInfo("Tell (Outgoing)", "tell_outgoing", 0x ????????)] // Do we want this? TellOutgoing = 12, /// @@ -167,31 +169,37 @@ public enum XivChatType : ushort // FIXME: this is a single byte /// /// The system error chat type. /// + [XivChatTypeInfo("SystemError", "system_error", 0x????????)] SystemError = 58, /// /// The system message chat type. /// + [XivChatTypeInfo("SystemError", "system_message", 0x????????)] SystemMessage = 57, /// /// The system message (gathering) chat type. /// + [XivChatTypeInfo("SystemError", "gathering", 0x ????????)] GatheringSystemMessage = 59, /// /// The error message chat type. /// + [XivChatTypeInfo("SystemError", "error", 0x ????????)] ErrorMessage = 60, /// /// The NPC Dialogue chat type. /// + [XivChatTypeInfo("SystemError", "npc", 0x ????????)] NPCDialogue = 61, /// /// The NPC Dialogue (Announcements) chat type. /// + [XivChatTypeInfo("SystemError", "npc_dialog", 0x ????????)] NPCDialogueAnnouncements = 68, /// @@ -200,6 +208,7 @@ public enum XivChatType : ushort // FIXME: this is a single byte /// /// This might be used for other purposes. /// + [XivChatTypeInfo("SystemError", "retainer", 0x ????????)] RetainerSale = 71, ///