- Add glamour notifications chat type
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<Project Sdk="Dalamud.NET.Sdk/13.0.0">
|
||||
<PropertyGroup>
|
||||
<Version>1.31.0</Version>
|
||||
<Version>1.31.1</Version>
|
||||
<TargetFramework>net9.0-windows</TargetFramework>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Nullable>enable</Nullable>
|
||||
|
||||
@@ -61,6 +61,7 @@ internal class ChatCode
|
||||
ChatType.LoseDebuff => ChatType.GainDebuff,
|
||||
ChatType.System => ChatType.System,
|
||||
ChatType.Alarm => ChatType.System,
|
||||
ChatType.GlamourNotifications => ChatType.System,
|
||||
ChatType.RetainerSale => ChatType.System,
|
||||
ChatType.PeriodicRecruitmentNotification => ChatType.System,
|
||||
ChatType.Sign => ChatType.System,
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
using Dalamud.Game.Config;
|
||||
|
||||
namespace ChatTwo.Code;
|
||||
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Design", "CA1028:Enum Storage should be Int32")]
|
||||
@@ -41,6 +39,7 @@ public enum ChatType : ushort
|
||||
GainDebuff = 47,
|
||||
LoseBuff = 48,
|
||||
LoseDebuff = 49,
|
||||
GlamourNotifications = 54,
|
||||
Alarm = 55,
|
||||
Echo = 56,
|
||||
System = 57,
|
||||
|
||||
@@ -87,6 +87,7 @@ internal static class ChatTypeExt
|
||||
ChatType.Orchestrion,
|
||||
ChatType.MessageBook,
|
||||
ChatType.Alarm,
|
||||
ChatType.GlamourNotifications,
|
||||
}),
|
||||
// Note: ExtraChat linkshells are handled separately in the tab settings
|
||||
// UI.
|
||||
@@ -131,6 +132,7 @@ internal static class ChatTypeExt
|
||||
ChatType.LoseBuff => Language.ChatType_LoseBuff,
|
||||
ChatType.LoseDebuff => Language.ChatType_LoseDebuff,
|
||||
ChatType.Alarm => Language.ChatType_Alarm,
|
||||
ChatType.GlamourNotifications => Language.ChatType_Glamour,
|
||||
ChatType.Echo => Language.ChatType_Echo,
|
||||
ChatType.System => Language.ChatType_System,
|
||||
ChatType.BattleSystem => Language.ChatType_BattleSystem,
|
||||
@@ -258,6 +260,7 @@ internal static class ChatTypeExt
|
||||
case ChatType.PeriodicRecruitmentNotification:
|
||||
case ChatType.Orchestrion:
|
||||
case ChatType.Alarm:
|
||||
case ChatType.GlamourNotifications:
|
||||
case ChatType.RetainerSale:
|
||||
case ChatType.Sign:
|
||||
case ChatType.MessageBook:
|
||||
|
||||
Generated
+11
-3
@@ -572,6 +572,15 @@ namespace ChatTwo.Resources {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Glamour Notifications.
|
||||
/// </summary>
|
||||
internal static string ChatType_Glamour {
|
||||
get {
|
||||
return ResourceManager.GetString("ChatType_Glamour", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Free Company (GM).
|
||||
/// </summary>
|
||||
@@ -2076,7 +2085,7 @@ namespace ChatTwo.Resources {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Don't collapse messages if they link to different things with the same text.
|
||||
/// Looks up a localized string similar to Don't collapse messages if they link to different things with the same text..
|
||||
/// </summary>
|
||||
internal static string Options_CollapseDuplicateMsgUniqueLink_Description {
|
||||
get {
|
||||
@@ -2085,7 +2094,7 @@ namespace ChatTwo.Resources {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Keep unique links seperate
|
||||
/// Looks up a localized string similar to Keep unique links seperate.
|
||||
/// </summary>
|
||||
internal static string Options_CollapseDuplicateMsgUniqueLink_Name {
|
||||
get {
|
||||
@@ -3885,4 +3894,3 @@ namespace ChatTwo.Resources {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -841,6 +841,9 @@
|
||||
<data name="ChatType_Alarm">
|
||||
<value>Alarm Notifications</value>
|
||||
</data>
|
||||
<data name="ChatType_Glamour">
|
||||
<value>Glamour Notifications</value>
|
||||
</data>
|
||||
<data name="ChatType_Echo">
|
||||
<value>Echo</value>
|
||||
</data>
|
||||
|
||||
@@ -75,6 +75,7 @@ internal static class TabsUtil
|
||||
[ChatType.Orchestrion] = ChatSourceExt.All,
|
||||
[ChatType.MessageBook] = ChatSourceExt.All,
|
||||
[ChatType.Alarm] = ChatSourceExt.All,
|
||||
[ChatType.GlamourNotifications] = ChatSourceExt.All,
|
||||
},
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user