Core/Chat: Corrected chat channel flag implementations

Port From (https://github.com/TrinityCore/TrinityCore/commit/d2baaac9ec9c0b0839d5868d9666aa0901031b28)
This commit is contained in:
hondacrx
2024-02-01 10:10:38 -05:00
parent a436f7b2d1
commit d68f52bdc3
8 changed files with 91 additions and 51 deletions
+5 -2
View File
@@ -20,7 +20,7 @@ namespace Game.DataStorage
public CfgCategoriesCharsets GetExistingCharsetMask() { return (CfgCategoriesCharsets)ExistingCharsetMask; }
public CfgCategoriesFlags GetFlags() { return (CfgCategoriesFlags)Flags; }
}
public sealed class Cfg_RegionsRecord
{
public uint Id;
@@ -75,9 +75,12 @@ namespace Game.DataStorage
public uint Id;
public LocalizedString Name;
public string Shortcut;
public ChannelDBCFlags Flags;
public int Flags;
public sbyte FactionGroup;
public int Ruleset;
public ChatChannelFlags GetFlags() { return (ChatChannelFlags)Flags; }
public ChatChannelRuleset GetRuleset() { return (ChatChannelRuleset)Ruleset; }
}
public sealed class ChrClassUIDisplayRecord