Core/Realms: Replaced hardcoded realm category list with Cfg_Categories.db2
Port From (https://github.com/TrinityCore/TrinityCore/commit/e161874695c5506bfa3cbcddf944d68b11cbc124)
This commit is contained in:
@@ -6,6 +6,21 @@ using System.Numerics;
|
||||
|
||||
namespace Game.DataStorage
|
||||
{
|
||||
public sealed class Cfg_CategoriesRecord
|
||||
{
|
||||
public uint Id;
|
||||
public LocalizedString Name;
|
||||
public ushort LocaleMask;
|
||||
public byte CreateCharsetMask;
|
||||
public byte ExistingCharsetMask;
|
||||
public byte Flags;
|
||||
public sbyte Order;
|
||||
|
||||
public CfgCategoriesCharsets GetCreateCharsetMask() { return (CfgCategoriesCharsets)CreateCharsetMask; }
|
||||
public CfgCategoriesCharsets GetExistingCharsetMask() { return (CfgCategoriesCharsets)ExistingCharsetMask; }
|
||||
public CfgCategoriesFlags GetFlags() { return (CfgCategoriesFlags)Flags; }
|
||||
}
|
||||
|
||||
public sealed class Cfg_RegionsRecord
|
||||
{
|
||||
public uint Id;
|
||||
|
||||
Reference in New Issue
Block a user