You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
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
354
354
};
355
355
356
356
enum PlayerBytesOffsets
@@ -1673,6 +1673,8 @@ class TC_GAME_API Player : public Unit, public GridObject<Player>
1673
1673
floatOCTRegenMPPerSpirit() const;
1674
1674
floatGetRatingMultiplier(CombatRating cr) const;
1675
1675
floatGetRatingBonusValue(CombatRating cr) const;
1676
+
1677
+
/// Returns base spellpower bonus from spellpower stat on items
0 commit comments