feat(Core/EnumUtils): add more enum for support chat command (#8828)

This commit is contained in:
Kargatum
2021-11-03 16:50:11 +07:00
committed by GitHub
parent 34d32f689a
commit aa7932e971
18 changed files with 3455 additions and 80 deletions

View File

@@ -599,6 +599,7 @@ enum DamageEffectType
};
// Value masks for UNIT_FIELD_FLAGS
// EnumUtils: DESCRIBE THIS
enum UnitFlags
{
UNIT_FLAG_SERVER_CONTROLLED = 0x00000001, // set only when unit movement is controlled by server - by SPLINE/MONSTER_MOVE packets, together with UNIT_FLAG_STUNNED; only set to units controlled by client; client function CGUnit_C::IsClientControlled returns false when set for owner
@@ -659,7 +660,8 @@ enum UnitFlags2
};
/// Non Player Character flags
enum NPCFlags
// EnumUtils: DESCRIBE THIS
enum NPCFlags : uint32
{
UNIT_NPC_FLAG_NONE = 0x00000000, // SKIP
UNIT_NPC_FLAG_GOSSIP = 0x00000001, // TITLE has gossip menu DESCRIPTION 100%