Skip to content

Commit 6522446

Browse files
committed
Core/Players: Name some unknown player flags
1 parent caa058d commit 6522446

File tree

1 file changed

+32
-32
lines changed

1 file changed

+32
-32
lines changed

src/server/game/Entities/Player/Player.h

Lines changed: 32 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -319,38 +319,38 @@ enum DrunkenState
319319

320320
enum PlayerFlags
321321
{
322-
PLAYER_FLAGS_GROUP_LEADER = 0x00000001,
323-
PLAYER_FLAGS_AFK = 0x00000002,
324-
PLAYER_FLAGS_DND = 0x00000004,
325-
PLAYER_FLAGS_GM = 0x00000008,
326-
PLAYER_FLAGS_GHOST = 0x00000010,
327-
PLAYER_FLAGS_RESTING = 0x00000020,
328-
PLAYER_FLAGS_UNK6 = 0x00000040,
329-
PLAYER_FLAGS_UNK7 = 0x00000080, // pre-3.0.3 PLAYER_FLAGS_FFA_PVP flag for FFA PVP state
330-
PLAYER_FLAGS_CONTESTED_PVP = 0x00000100, // Player has been involved in a PvP combat and will be attacked by contested guards
331-
PLAYER_FLAGS_IN_PVP = 0x00000200,
332-
PLAYER_FLAGS_HIDE_HELM = 0x00000400,
333-
PLAYER_FLAGS_HIDE_CLOAK = 0x00000800,
334-
PLAYER_FLAGS_PLAYED_LONG_TIME = 0x00001000, // played long time
335-
PLAYER_FLAGS_PLAYED_TOO_LONG = 0x00002000, // played too long time
336-
PLAYER_FLAGS_IS_OUT_OF_BOUNDS = 0x00004000,
337-
PLAYER_FLAGS_DEVELOPER = 0x00008000, // <Dev> prefix for something?
338-
PLAYER_FLAGS_UNK16 = 0x00010000, // pre-3.0.3 PLAYER_FLAGS_SANCTUARY flag for player entered sanctuary
339-
PLAYER_FLAGS_TAXI_BENCHMARK = 0x00020000, // taxi benchmark mode (on/off) (2.0.1)
340-
PLAYER_FLAGS_PVP_TIMER = 0x00040000, // 3.0.2, pvp timer active (after you disable pvp manually)
341-
PLAYER_FLAGS_UBER = 0x00080000,
342-
PLAYER_FLAGS_UNK20 = 0x00100000,
343-
PLAYER_FLAGS_UNK21 = 0x00200000,
344-
PLAYER_FLAGS_COMMENTATOR2 = 0x00400000,
345-
PLAYER_ALLOW_ONLY_ABILITY = 0x00800000, // used by bladestorm and killing spree, allowed only spells with SPELL_ATTR0_REQ_AMMO, SPELL_EFFECT_ATTACK, checked only for active player
346-
PLAYER_FLAGS_UNK24 = 0x01000000, // disabled all melee ability on tab include autoattack
347-
PLAYER_FLAGS_NO_XP_GAIN = 0x02000000,
348-
PLAYER_FLAGS_UNK26 = 0x04000000,
349-
PLAYER_FLAGS_UNK27 = 0x08000000,
350-
PLAYER_FLAGS_UNK28 = 0x10000000,
351-
PLAYER_FLAGS_UNK29 = 0x20000000,
352-
PLAYER_FLAGS_UNK30 = 0x40000000,
353-
PLAYER_FLAGS_UNK31 = 0x80000000
322+
PLAYER_FLAGS_GROUP_LEADER = 0x00000001,
323+
PLAYER_FLAGS_AFK = 0x00000002,
324+
PLAYER_FLAGS_DND = 0x00000004,
325+
PLAYER_FLAGS_GM = 0x00000008,
326+
PLAYER_FLAGS_GHOST = 0x00000010,
327+
PLAYER_FLAGS_RESTING = 0x00000020,
328+
PLAYER_FLAGS_VOICE_CHAT = 0x00000040,
329+
PLAYER_FLAGS_UNK7 = 0x00000080, // pre-3.0.3 PLAYER_FLAGS_FFA_PVP flag for FFA PVP state
330+
PLAYER_FLAGS_CONTESTED_PVP = 0x00000100, // Player has been involved in a PvP combat and will be attacked by contested guards
331+
PLAYER_FLAGS_IN_PVP = 0x00000200,
332+
PLAYER_FLAGS_HIDE_HELM = 0x00000400,
333+
PLAYER_FLAGS_HIDE_CLOAK = 0x00000800,
334+
PLAYER_FLAGS_PLAYED_LONG_TIME = 0x00001000, // played long time
335+
PLAYER_FLAGS_PLAYED_TOO_LONG = 0x00002000, // played too long time
336+
PLAYER_FLAGS_IS_OUT_OF_BOUNDS = 0x00004000,
337+
PLAYER_FLAGS_DEVELOPER = 0x00008000, // <Dev> prefix for something?
338+
PLAYER_FLAGS_LOW_LEVEL_RAID_ENABLED = 0x00010000, // pre-3.0.3 PLAYER_FLAGS_SANCTUARY flag for player entered sanctuary
339+
PLAYER_FLAGS_TAXI_BENCHMARK = 0x00020000, // taxi benchmark mode (on/off) (2.0.1)
340+
PLAYER_FLAGS_PVP_TIMER = 0x00040000, // 3.0.2, pvp timer active (after you disable pvp manually)
341+
PLAYER_FLAGS_UBER = 0x00080000,
342+
PLAYER_FLAGS_UNK20 = 0x00100000,
343+
PLAYER_FLAGS_UNK21 = 0x00200000,
344+
PLAYER_FLAGS_COMMENTATOR2 = 0x00400000,
345+
PLAYER_ALLOW_ONLY_ABILITY = 0x00800000, // used by bladestorm and killing spree, allowed only spells with SPELL_ATTR0_REQ_AMMO, SPELL_EFFECT_ATTACK, checked only for active player
346+
PLAYER_FLAGS_UNK24 = 0x01000000, // disabled all melee ability on tab include autoattack
347+
PLAYER_FLAGS_NO_XP_GAIN = 0x02000000,
348+
PLAYER_FLAGS_UNK26 = 0x04000000,
349+
PLAYER_FLAGS_UNK27 = 0x08000000,
350+
PLAYER_FLAGS_UNK28 = 0x10000000,
351+
PLAYER_FLAGS_UNK29 = 0x20000000,
352+
PLAYER_FLAGS_UNK30 = 0x40000000,
353+
PLAYER_FLAGS_UNK31 = 0x80000000
354354
};
355355

356356
enum PlayerBytesOffsets

0 commit comments

Comments
 (0)