Core/Misc: Define and use ChrRacesFlag and CreatureModelDataFlags
Port From (https://github.com/TrinityCore/TrinityCore/commit/d30e4a20e52a5025c59bfc746570ff7ef06af6f4)
This commit is contained in:
@@ -246,7 +246,7 @@ namespace Game.DataStorage
|
||||
public int Flags;
|
||||
public int FactionID;
|
||||
public uint CinematicSequenceID;
|
||||
public int ResSicknessSpellID;
|
||||
public uint ResSicknessSpellID;
|
||||
public int SplashSoundID;
|
||||
public int Alliance;
|
||||
public int RaceRelated;
|
||||
@@ -471,6 +471,8 @@ namespace Game.DataStorage
|
||||
public sbyte Unknown820_1; // scale related
|
||||
public float Unknown820_2; // scale related
|
||||
public float[] Unknown820_3 = new float[2]; // scale related
|
||||
|
||||
public CreatureModelDataFlags GetFlags() { return (CreatureModelDataFlags)Flags; }
|
||||
}
|
||||
|
||||
public sealed class CreatureTypeRecord
|
||||
|
||||
Reference in New Issue
Block a user