Jump to content

How to obtain PlayerFlags?


Guest marry521

Recommended Posts

How to obtain PlayerFlags? :confused:

enum PlayerFlags
{
   PLAYER_FLAGS_GROUP_LEADER   = 0x00000001,
   PLAYER_FLAGS_AFK            = 0x00000002,
   PLAYER_FLAGS_DND            = 0x00000004,
   PLAYER_FLAGS_GM             = 0x00000008,
   PLAYER_FLAGS_GHOST          = 0x00000010,
   PLAYER_FLAGS_RESTING        = 0x00000020,
   PLAYER_FLAGS_FFA_PVP        = 0x00000080,
   PLAYER_FLAGS_CONTESTED_PVP  = 0x00000100,               // Player has been involved in a PvP combat and will be attacked by contested guards
   PLAYER_FLAGS_IN_PVP         = 0x00000200,
   PLAYER_FLAGS_HIDE_HELM      = 0x00000400,
   PLAYER_FLAGS_HIDE_CLOAK     = 0x00000800,
   PLAYER_FLAGS_UNK1           = 0x00001000,               // played long time
   PLAYER_FLAGS_UNK2           = 0x00002000,               // played too long time
   PLAYER_FLAGS_UNK3           = 0x00008000,               // strange visual effect (2.0.1), looks like PLAYER_FLAGS_GHOST flag
   PLAYER_FLAGS_UNK4           = 0x00010000,               // pre-3.0.3 PLAYER_FLAGS_SANCTUARY flag for player entered sanctuary
   PLAYER_FLAGS_UNK5           = 0x00020000,               // taxi benchmark mode (on/off) (2.0.1)
   PLAYER_FLAGS_PVP_TIMER      = 0x00040000,               // 3.0.2, pvp timer active (after you disable pvp manually)
};

// used for PLAYER__FIELD_KNOWN_TITLES field (uint64), (1<<bit_index) without (-1)
// can't use enum for uint64 values
#define PLAYER_TITLE_DISABLED              0x0000000000000000LL
#define PLAYER_TITLE_NONE                  0x0000000000000001LL
#define PLAYER_TITLE_PRIVATE               0x0000000000000002LL // 1
#define PLAYER_TITLE_CORPORAL              0x0000000000000004LL // 2
#define PLAYER_TITLE_SERGEANT_A            0x0000000000000008LL // 3
#define PLAYER_TITLE_MASTER_SERGEANT       0x0000000000000010LL // 4
#define PLAYER_TITLE_SERGEANT_MAJOR        0x0000000000000020LL // 5
#define PLAYER_TITLE_KNIGHT                0x0000000000000040LL // 6
#define PLAYER_TITLE_KNIGHT_LIEUTENANT     0x0000000000000080LL // 7
#define PLAYER_TITLE_KNIGHT_CAPTAIN        0x0000000000000100LL // 8
#define PLAYER_TITLE_KNIGHT_CHAMPION       0x0000000000000200LL // 9
#define PLAYER_TITLE_LIEUTENANT_COMMANDER  0x0000000000000400LL // 10
#define PLAYER_TITLE_COMMANDER             0x0000000000000800LL // 11
#define PLAYER_TITLE_MARSHAL               0x0000000000001000LL // 12
#define PLAYER_TITLE_FIELD_MARSHAL         0x0000000000002000LL // 13
#define PLAYER_TITLE_GRAND_MARSHAL         0x0000000000004000LL // 14
#define PLAYER_TITLE_SCOUT                 0x0000000000008000LL // 15
#define PLAYER_TITLE_GRUNT                 0x0000000000010000LL // 16
#define PLAYER_TITLE_SERGEANT_H            0x0000000000020000LL // 17

How are these information obtain?

Link to comment
Share on other sites

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use