Project SkyFire Core
SkyFire 5.4.8 server core API documentation
Loading...
Searching...
No Matches
Player.h File Reference
#include "CinematicPathMgr.h"
#include "DBCStores.h"
#include "GroupReference.h"
#include "MapReference.h"
#include "Item.h"
#include "ObjectMgr.h"
#include "Opcodes.h"
#include "PetDefines.h"
#include "PlayerTaxi.h"
#include "QuestDef.h"
#include "SpellMgr.h"
#include "Unit.h"
#include "WorldSession.h"
#include <string>
#include <set>
#include <vector>
Include dependency graph for Player.h:

Go to the source code of this file.

Classes

struct  AccessRequirement
struct  ActionButton
struct  ActionButtonPACKET
struct  Areas
struct  BGData
 Holder for Battleground data. More...
struct  CUFProfile
 Represents a CompactUnitFrame profile. More...
struct  DuelInfo
struct  EnchantDuration
struct  EquipmentSet
struct  InstancePlayerBind
struct  ItemPosCount
class  KillRewarder
class  Player
struct  Player::BgBattlegroundQueueID_Rec
struct  PlayerCreateInfoAction
struct  PlayerCreateInfoItem
struct  PlayerCurrency
struct  PlayerInfo
struct  PlayerLevelInfo
struct  PlayerSpell
struct  PlayerTalent
struct  PlayerTalentInfo
struct  PlayerTalentInfo::TalentSpecInfo
struct  PvPInfo
struct  ResearchDigsite
struct  ResearchProjectHistory
struct  ResurrectionData
struct  RuneInfo
struct  Runes
struct  SkillStatusData
struct  SpellCooldown
struct  SpellModifier
class  TradeData
struct  VoidStorageItem

Macros

#define ACTION_BUTTON_ACTION(X)
#define ACTION_BUTTON_TYPE(X)
#define DISABLED_MIRROR_TIMER   -1
#define INVENTORY_SLOT_BAG_0   255
#define KNOWN_TITLES_SIZE   4
#define MAX_ACTION_BUTTON_ACTION_VALUE   (0xFFFFFFFF)
#define MAX_ACTION_BUTTONS   132
#define MAX_CUF_PROFILES   5
 Maximum number of CompactUnitFrames profiles.
#define MAX_DIGSITES_PER_CONTINENT   4
#define MAX_EQUIPMENT_SET_INDEX   10
#define MAX_FINDS_PER_DIGSITE   6
#define MAX_MONEY_AMOUNT   (UI64LIT(9999999999))
#define MAX_PLAYED_TIME_INDEX   2
#define MAX_PLAYER_SUMMON_DELAY   (2*MINUTE)
#define MAX_QUEST_OFFSET   15
#define MAX_RUNES   6
#define MAX_TIMERS   3
#define MAX_TITLE_INDEX   (KNOWN_TITLES_SIZE * 64)
#define PANDAREN_FACTION_LANGUAGE_COUNT   3
#define PLAYER_EXPLORED_ZONES_SIZE   200
#define PLAYER_MAX_DAILY_QUESTS   750
#define PLAYER_MAX_SKILLS   128
#define RESEARCH_BRANCH_COUNT   12
#define RESEARCH_CONTINENT_COUNT   5

Typedefs

typedef std::map< uint8, ActionButtonActionButtonList
typedef std::list< EnchantDurationEnchantDurationList
typedef std::map< uint32, EquipmentSetEquipmentSets
typedef UNORDERED_MAP< uint32, time_t > InstanceTimeMap
typedef std::list< Item * > ItemDurationList
typedef std::vector< ItemPosCountItemPosCountVec
typedef std::list< PlayerCreateInfoActionPlayerCreateInfoActions
typedef std::list< PlayerCreateInfoItemPlayerCreateInfoItems
typedef std::list< uint32PlayerCreateInfoSpells
typedef UNORDERED_MAP< uint32, PlayerCurrencyPlayerCurrenciesMap
typedef std::deque< Mail * > PlayerMails
typedef UNORDERED_MAP< uint32, PlayerSpell * > PlayerSpellMap
typedef UNORDERED_MAP< uint32, PlayerTalent * > PlayerTalentMap
typedef std::map< uint32, uint32QuestObjectiveStatusMap
typedef std::map< uint32, bool > QuestObjectiveStatusSaveMap
typedef std::map< uint32, QuestStatusDataQuestStatusMap
typedef std::map< uint32, bool > QuestStatusSaveMap
typedef UNORDERED_MAP< uint32, ResearchProjectHistoryResearchHistoryMap
typedef UNORDERED_MAP< uint32, uint32ResearchProjectMap
typedef std::set< uint32RewardedQuestSet
typedef UNORDERED_MAP< uint32, SkillStatusDataSkillStatusMap
typedef std::map< uint32, SpellCooldownSpellCooldowns
typedef std::list< SpellModifier * > SpellModList
typedef std::list< uint64WhisperListContainer

Enumerations

enum class  ActionButtonType : uint8 {
  ACTION_BUTTON_SPELL = 0x00 , ACTION_BUTTON_C = 0x01 , ACTION_BUTTON_EQSET = 0x20 , ACTION_BUTTON_DROPDOWN = 0x30 ,
  ACTION_BUTTON_MACRO = 0x40 , ACTION_BUTTON_CMACRO = ACTION_BUTTON_C | ACTION_BUTTON_MACRO , ACTION_BUTTON_MOUNT = 0x60 , ACTION_BUTTON_ITEM = 0x80
}
enum class  ActionButtonUpdateState { ACTIONBUTTON_UNCHANGED = 0 , ACTIONBUTTON_CHANGED = 1 , ACTIONBUTTON_NEW = 2 , ACTIONBUTTON_DELETED = 3 }
enum  AtLoginFlags {
  AT_LOGIN_NONE = 0x00 , AT_LOGIN_RENAME = 0x01 , AT_LOGIN_RESET_SPELLS = 0x02 , AT_LOGIN_RESET_TALENTS = 0x04 ,
  AT_LOGIN_CUSTOMIZE = 0x08 , AT_LOGIN_RESET_PET_TALENTS = 0x10 , AT_LOGIN_FIRST = 0x20 , AT_LOGIN_CHANGE_FACTION = 0x40 ,
  AT_LOGIN_CHANGE_RACE = 0x80
}
enum  AttackSwingError { ATTACKSWINGERR_NOTINRANGE = 0 , ATTACKSWINGERR_BADFACING = 1 , ATTACKSWINGERR_DEADTARGET = 2 , ATTACKSWINGERR_CANT_ATTACK = 3 }
enum  BankBagSlots { BANK_SLOT_BAG_START = 67 , BANK_SLOT_BAG_END = 74 }
enum  BankItemSlots { BANK_SLOT_ITEM_START = 39 , BANK_SLOT_ITEM_END = 67 }
enum  BuyBackSlots { BUYBACK_SLOT_START = 74 , BUYBACK_SLOT_END = 86 }
enum  BuyBankSlotResult { ERR_BANKSLOT_FAILED_TOO_MANY = 0 , ERR_BANKSLOT_INSUFFICIENT_FUNDS = 1 , ERR_BANKSLOT_NOTBANKER = 2 , ERR_BANKSLOT_OK = 3 }
enum  CharDeleteMethod { CHAR_DELETE_REMOVE = 0 , CHAR_DELETE_UNLINK = 1 }
enum  CUFBoolOptions {
  CUF_KEEP_GROUPS_TOGETHER , CUF_DISPLAY_PETS , CUF_DISPLAY_MAIN_TANK_AND_ASSIST , CUF_DISPLAY_HEAL_PREDICTION ,
  CUF_DISPLAY_AGGRO_HIGHLIGHT , CUF_DISPLAY_ONLY_DISPELLABLE_DEBUFFS , CUF_DISPLAY_POWER_BAR , CUF_DISPLAY_BORDER ,
  CUF_USE_CLASS_COLORS , CUF_DISPLAY_NON_BOSS_DEBUFFS , CUF_DISPLAY_HORIZONTAL_GROUPS , CUF_LOCKED ,
  CUF_SHOWN , CUF_AUTO_ACTIVATE_2_PLAYERS , CUF_AUTO_ACTIVATE_3_PLAYERS , CUF_AUTO_ACTIVATE_5_PLAYERS ,
  CUF_AUTO_ACTIVATE_10_PLAYERS , CUF_AUTO_ACTIVATE_15_PLAYERS , CUF_AUTO_ACTIVATE_25_PLAYERS , CUF_AUTO_ACTIVATE_40_PLAYERS ,
  CUF_AUTO_ACTIVATE_SPEC_1 , CUF_AUTO_ACTIVATE_SPEC_2 , CUF_AUTO_ACTIVATE_PVP , CUF_AUTO_ACTIVATE_PVE ,
  CUF_UNK_145 , CUF_UNK_156 , CUF_UNK_157 , CUF_BOOL_OPTIONS_COUNT
}
 Bit index used in the many bool options of CompactUnitFrames. More...
enum  EnviromentalDamage {
  DAMAGE_EXHAUSTED = 0 , DAMAGE_DROWNING = 1 , DAMAGE_FALL = 2 , DAMAGE_LAVA = 3 ,
  DAMAGE_SLIME = 4 , DAMAGE_FIRE = 5 , DAMAGE_FALL_TO_VOID = 6
}
 Type of environmental damages. More...
enum class  EquipmentSetUpdateState { EQUIPMENT_SET_UNCHANGED = 0 , EQUIPMENT_SET_CHANGED = 1 , EQUIPMENT_SET_NEW = 2 , EQUIPMENT_SET_DELETED = 3 }
enum  EquipmentSlots {
  EQUIPMENT_SLOT_START = 0 , EQUIPMENT_SLOT_HEAD = 0 , EQUIPMENT_SLOT_NECK = 1 , EQUIPMENT_SLOT_SHOULDERS = 2 ,
  EQUIPMENT_SLOT_BODY = 3 , EQUIPMENT_SLOT_CHEST = 4 , EQUIPMENT_SLOT_WAIST = 5 , EQUIPMENT_SLOT_LEGS = 6 ,
  EQUIPMENT_SLOT_FEET = 7 , EQUIPMENT_SLOT_WRISTS = 8 , EQUIPMENT_SLOT_HANDS = 9 , EQUIPMENT_SLOT_FINGER1 = 10 ,
  EQUIPMENT_SLOT_FINGER2 = 11 , EQUIPMENT_SLOT_TRINKET1 = 12 , EQUIPMENT_SLOT_TRINKET2 = 13 , EQUIPMENT_SLOT_BACK = 14 ,
  EQUIPMENT_SLOT_MAINHAND = 15 , EQUIPMENT_SLOT_OFFHAND = 16 , EQUIPMENT_SLOT_TABARD = 18 , EQUIPMENT_SLOT_END = 19
}
enum  InstanceResetWarningType {
  RAID_INSTANCE_WARNING_HOURS = 1 , RAID_INSTANCE_WARNING_MIN = 2 , RAID_INSTANCE_WARNING_MIN_SOON = 3 , RAID_INSTANCE_WELCOME = 4 ,
  RAID_INSTANCE_EXPIRED = 5
}
enum  InventoryPackSlots { INVENTORY_SLOT_ITEM_START = 23 , INVENTORY_SLOT_ITEM_END = 39 }
enum  InventorySlots { INVENTORY_SLOT_BAG_START = 19 , INVENTORY_SLOT_BAG_END = 23 }
enum  MirrorTimerType { FATIGUE_TIMER = 0 , BREATH_TIMER = 1 , FIRE_TIMER = 2 }
enum  PlayedTimeIndex { PLAYED_TIME_TOTAL = 0 , PLAYED_TIME_LEVEL = 1 }
enum  PlayerChatTag {
  CHAT_TAG_NONE = 0x00 , CHAT_TAG_AFK = 0x01 , CHAT_TAG_DND = 0x02 , CHAT_TAG_GM = 0x04 ,
  CHAT_TAG_COM = 0x08 , CHAT_TAG_DEV = 0x10
}
enum  PlayerCommandStates {
  CHEAT_NONE = 0x00 , CHEAT_GOD = 0x01 , CHEAT_CASTTIME = 0x02 , CHEAT_COOLDOWN = 0x04 ,
  CHEAT_POWER = 0x08 , CHEAT_WATERWALK = 0x10
}
enum  PlayerCurrencyState { PLAYERCURRENCY_UNCHANGED = 0 , PLAYERCURRENCY_CHANGED = 1 , PLAYERCURRENCY_NEW = 2 , PLAYERCURRENCY_REMOVED = 3 }
enum  PlayerDelayedOperations {
  DELAYED_SAVE_PLAYER = 0x01 , DELAYED_RESURRECT_PLAYER = 0x02 , DELAYED_SPELL_CAST_DESERTER = 0x04 , DELAYED_BG_MOUNT_RESTORE = 0x08 ,
  DELAYED_BG_TAXI_RESTORE = 0x10 , DELAYED_BG_GROUP_RESTORE = 0x20 , DELAYED_END
}
enum  PlayerExtraFlags {
  PLAYER_EXTRA_GM_ON = 0x0001 , PLAYER_EXTRA_ACCEPT_WHISPERS = 0x0004 , PLAYER_EXTRA_TAXICHEAT = 0x0008 , PLAYER_EXTRA_GM_INVISIBLE = 0x0010 ,
  PLAYER_EXTRA_GM_CHAT = 0x0020 , PLAYER_EXTRA_PVP_DEATH = 0x0100
}
enum  PlayerFieldByte2Flags { PLAYER_FIELD_BYTE2_NONE = 0x00 , PLAYER_FIELD_BYTE2_STEALTH = 0x20 , PLAYER_FIELD_BYTE2_INVISIBILITY_GLOW = 0x40 }
enum  PlayerFieldByteFlags { PLAYER_FIELD_BYTE_TRACK_STEALTHED = 0x00000002 , PLAYER_FIELD_BYTE_RELEASE_TIMER = 0x00000008 , PLAYER_FIELD_BYTE_NO_RELEASE_WINDOW = 0x00000010 }
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_UNK6 = 0x00000040 , PLAYER_FLAGS_UNK7 = 0x00000080 ,
  PLAYER_FLAGS_CONTESTED_PVP = 0x00000100 , PLAYER_FLAGS_IN_PVP = 0x00000200 , PLAYER_FLAGS_HIDE_HELM = 0x00000400 , PLAYER_FLAGS_HIDE_CLOAK = 0x00000800 ,
  PLAYER_FLAGS_PLAYED_LONG_TIME = 0x00001000 , PLAYER_FLAGS_PLAYED_TOO_LONG = 0x00002000 , PLAYER_FLAGS_IS_OUT_OF_BOUNDS = 0x00004000 , PLAYER_FLAGS_DEVELOPER = 0x00008000 ,
  PLAYER_FLAGS_UNK16 = 0x00010000 , PLAYER_FLAGS_TAXI_BENCHMARK = 0x00020000 , PLAYER_FLAGS_PVP_TIMER = 0x00040000 , PLAYER_FLAGS_UBER = 0x00080000 ,
  PLAYER_FLAGS_UNK20 = 0x00100000 , PLAYER_FLAGS_UNK21 = 0x00200000 , PLAYER_FLAGS_COMMENTATOR2 = 0x00400000 , PLAYER_FLAGS_ALLOW_ONLY_ABILITY = 0x00800000 ,
  PLAYER_FLAGS_BATTLE_PET_ENABLED = 0x01000000 , PLAYER_FLAGS_NO_XP_GAIN = 0x02000000 , PLAYER_FLAGS_UNK26 = 0x04000000 , PLAYER_FLAGS_AUTO_DECLINE_GUILD = 0x08000000 ,
  PLAYER_FLAGS_GUILD_LEVEL_ENABLED = 0x10000000 , PLAYER_FLAGS_VOID_UNLOCKED = 0x20000000 , PLAYER_FLAGS_UNK30 = 0x40000000 , PLAYER_FLAGS_UNK31 = 0x80000000
}
enum  PlayerLoginQueryIndex {
  PLAYER_LOGIN_QUERY_LOAD_FROM = 0 , PLAYER_LOGIN_QUERY_LOAD_GROUP = 1 , PLAYER_LOGIN_QUERY_LOAD_BOUND_INSTANCES = 2 , PLAYER_LOGIN_QUERY_LOAD_AURAS = 3 ,
  PLAYER_LOGIN_QUERY_LOAD_SPELLS = 4 , PLAYER_LOGIN_QUERY_LOAD_QUEST_STATUS = 5 , PLAYER_LOGIN_QUERY_LOAD_DAILY_QUEST_STATUS = 6 , PLAYER_LOGIN_QUERY_LOAD_REPUTATION = 7 ,
  PLAYER_LOGIN_QUERY_LOAD_INVENTORY = 8 , PLAYER_LOGIN_QUERY_LOAD_ACTIONS = 9 , PLAYER_LOGIN_QUERY_LOAD_MAIL_COUNT = 10 , PLAYER_LOGIN_QUERY_LOAD_MAIL_DATE = 11 ,
  PLAYER_LOGIN_QUERY_LOAD_SOCIAL_LIST = 12 , PLAYER_LOGIN_QUERY_LOAD_HOME_BIND = 13 , PLAYER_LOGIN_QUERY_LOAD_SPELL_COOLDOWNS = 14 , PLAYER_LOGIN_QUERY_LOAD_DECLINED_NAMES = 15 ,
  PLAYER_LOGIN_QUERY_LOAD_GUILD = 16 , PLAYER_LOGIN_QUERY_LOAD_ACHIEVEMENTS = 18 , PLAYER_LOGIN_QUERY_LOAD_CRITERIA_PROGRESS = 19 , PLAYER_LOGIN_QUERY_LOAD_EQUIPMENT_SETS = 20 ,
  PLAYER_LOGIN_QUERY_LOAD_BG_DATA = 21 , PLAYER_LOGIN_QUERY_LOAD_GLYPHS = 22 , PLAYER_LOGIN_QUERY_LOAD_TALENTS = 23 , PLAYER_LOGIN_QUERY_LOAD_ACCOUNT_DATA = 24 ,
  PLAYER_LOGIN_QUERY_LOAD_SKILLS = 25 , PLAYER_LOGIN_QUERY_LOAD_WEEKLY_QUEST_STATUS = 26 , PLAYER_LOGIN_QUERY_LOAD_RANDOM_BG = 27 , PLAYER_LOGIN_QUERY_LOAD_BANNED = 28 ,
  PLAYER_LOGIN_QUERY_LOAD_QUEST_STATUS_REW = 29 , PLAYER_LOGIN_QUERY_LOAD_INSTANCE_LOCK_TIMES = 30 , PLAYER_LOGIN_QUERY_LOAD_SEASONAL_QUEST_STATUS = 31 , PLAYER_LOGIN_QUERY_LOAD_MONTHLY_QUEST_STATUS = 32 ,
  PLAYER_LOGIN_QUERY_LOAD_VOID_STORAGE = 33 , PLAYER_LOGIN_QUERY_LOAD_CURRENCY = 34 , PLAYER_LOGIN_QUERY_LOAD_CUF_PROFILES = 35 , PLAYER_LOGIN_QUERY_LOAD_BATTLE_PETS = 36 ,
  PLAYER_LOGIN_QUERY_LOAD_BATTLE_PET_SLOTS = 37 , PLAYER_LOGIN_QUERY_LOAD_QUEST_OBJECTIVE_STATUS = 38 , PLAYER_LOGIN_QUERY_LOAD_RESEARCH_DIGSITES = 39 , PLAYER_LOGIN_QUERY_LOAD_RESEARCH_HISTORY = 40 ,
  PLAYER_LOGIN_QUERY_LOAD_RESEARCH_PROJECTS = 41 , MAX_PLAYER_LOGIN_QUERY
}
enum  PlayerRestState { REST_STATE_RESTED = 0x01 , REST_STATE_NOT_RAF_LINKED = 0x02 , REST_STATE_RAF_LINKED = 0x06 }
enum  PlayerSlots { PLAYER_SLOT_START = 0 , PLAYER_SLOT_END = 86 , PLAYER_SLOTS_COUNT = (PLAYER_SLOT_END - PLAYER_SLOT_START) }
enum  PlayerSpellState {
  PLAYERSPELL_UNCHANGED = 0 , PLAYERSPELL_CHANGED = 1 , PLAYERSPELL_NEW = 2 , PLAYERSPELL_REMOVED = 3 ,
  PLAYERSPELL_TEMPORARY = 4
}
enum  PlayerUnderwaterState {
  UNDERWATER_NONE = 0x00 , UNDERWATER_INWATER = 0x01 , UNDERWATER_INLAVA = 0x02 , UNDERWATER_INSLIME = 0x04 ,
  UNDERWARER_INDARKWATER = 0x08 , UNDERWATER_EXIST_TIMERS = 0x10
}
enum  QuestSlotOffsets { QUEST_ID_OFFSET = 0 , QUEST_STATE_OFFSET = 1 , QUEST_COUNTS_OFFSET = 2 , QUEST_TIME_OFFSET = 4 }
enum  QuestSlotStateMask { QUEST_STATE_NONE = 0x0000 , QUEST_STATE_COMPLETE = 0x0001 , QUEST_STATE_FAIL = 0x0002 }
enum  ReferAFriendError {
  ERR_REFER_A_FRIEND_NONE = 0x00 , ERR_REFER_A_FRIEND_NOT_REFERRED_BY = 0x01 , ERR_REFER_A_FRIEND_TARGET_TOO_HIGH = 0x02 , ERR_REFER_A_FRIEND_INSUFFICIENT_GRANTABLE_LEVELS = 0x03 ,
  ERR_REFER_A_FRIEND_TOO_FAR = 0x04 , ERR_REFER_A_FRIEND_DIFFERENT_FACTION = 0x05 , ERR_REFER_A_FRIEND_NOT_NOW = 0x06 , ERR_REFER_A_FRIEND_GRANT_LEVEL_MAX_I = 0x07 ,
  ERR_REFER_A_FRIEND_NO_TARGET = 0x08 , ERR_REFER_A_FRIEND_NOT_IN_GROUP = 0x09 , ERR_REFER_A_FRIEND_SUMMON_LEVEL_MAX_I = 0x0A , ERR_REFER_A_FRIEND_SUMMON_COOLDOWN = 0x0B ,
  ERR_REFER_A_FRIEND_INSUF_EXPAN_LVL = 0x0C , ERR_REFER_A_FRIEND_SUMMON_OFFLINE_S = 0x0D
}
enum  ReputationSource {
  REPUTATION_SOURCE_KILL , REPUTATION_SOURCE_QUEST , REPUTATION_SOURCE_DAILY_QUEST , REPUTATION_SOURCE_WEEKLY_QUEST ,
  REPUTATION_SOURCE_MONTHLY_QUEST , REPUTATION_SOURCE_REPEATABLE_QUEST , REPUTATION_SOURCE_SPELL
}
enum  RestType { REST_TYPE_NO = 0 , REST_TYPE_IN_TAVERN = 1 , REST_TYPE_IN_CITY = 2 }
enum  RuneCooldowns { RUNE_BASE_COOLDOWN = 10000 , RUNE_MISS_COOLDOWN = 1500 }
enum class  RuneType {
  RUNE_BLOOD = 0 , RUNE_UNHOLY = 1 , RUNE_FROST = 2 , RUNE_DEATH = 3 ,
  NUM_RUNE_TYPES = 4
}
enum class  SkillUpdateState { SKILL_UNCHANGED = 0 , SKILL_CHANGED = 1 , SKILL_NEW = 2 , SKILL_DELETED = 3 }
enum  SpellModType { SPELLMOD_FLAT = 107 , SPELLMOD_PCT = 108 }
enum  TalentTree {
  TALENT_TREE_WARRIOR_ARMS = 746 , TALENT_TREE_WARRIOR_FURY = 815 , TALENT_TREE_WARRIOR_PROTECTION = 845 , TALENT_TREE_PALADIN_HOLY = 831 ,
  TALENT_TREE_PALADIN_PROTECTION = 839 , TALENT_TREE_PALADIN_RETRIBUTION = 855 , TALENT_TREE_HUNTER_BEAST_MASTERY = 811 , TALENT_TREE_HUNTER_MARKSMANSHIP = 807 ,
  TALENT_TREE_HUNTER_SURVIVAL = 809 , TALENT_TREE_ROGUE_ASSASSINATION = 182 , TALENT_TREE_ROGUE_COMBAT = 181 , TALENT_TREE_ROGUE_SUBTLETY = 183 ,
  TALENT_TREE_PRIEST_DISCIPLINE = 760 , TALENT_TREE_PRIEST_HOLY = 813 , TALENT_TREE_PRIEST_SHADOW = 795 , TALENT_TREE_DEATH_KNIGHT_BLOOD = 398 ,
  TALENT_TREE_DEATH_KNIGHT_FROST = 399 , TALENT_TREE_DEATH_KNIGHT_UNHOLY = 400 , TALENT_TREE_SHAMAN_ELEMENTAL = 261 , TALENT_TREE_SHAMAN_ENHANCEMENT = 263 ,
  TALENT_TREE_SHAMAN_RESTORATION = 262 , TALENT_TREE_MAGE_ARCANE = 799 , TALENT_TREE_MAGE_FIRE = 851 , TALENT_TREE_MAGE_FROST = 823 ,
  TALENT_TREE_WARLOCK_AFFLICTION = 871 , TALENT_TREE_WARLOCK_DEMONOLOGY = 867 , TALENT_TREE_WARLOCK_DESTRUCTION = 865 , TALENT_TREE_DRUID_BALANCE = 752 ,
  TALENT_TREE_DRUID_FERAL_COMBAT = 750 , TALENT_TREE_DRUID_RESTORATION = 748 , TALENT_TREE_MONK_BREWMASTER = 268 , TALENT_TREE_MONK_MISTWEAVER = 270 ,
  TALENT_TREE_MONK_WINDWALKER = 269
}
enum  TeleportToOptions {
  TELE_TO_GM_MODE = 0x01 , TELE_TO_NOT_LEAVE_TRANSPORT = 0x02 , TELE_TO_NOT_LEAVE_COMBAT = 0x04 , TELE_TO_NOT_UNSUMMON_PET = 0x08 ,
  TELE_TO_SPELL = 0x10
}
enum  TradeSlots { TRADE_SLOT_COUNT = 7 , TRADE_SLOT_TRADED_COUNT = 6 , TRADE_SLOT_NONTRADED = 6 , TRADE_SLOT_INVALID = -1 }
enum  TrainerSpellState { TRAINER_SPELL_GRAY = 0 , TRAINER_SPELL_GREEN = 1 , TRAINER_SPELL_RED = 2 , TRAINER_SPELL_GREEN_DISABLED = 10 }
enum class  TransferAbortReason {
  TRANSFER_ABORT_NONE = 0x00 , TRANSFER_ABORT_ERROR = 0x01 , TRANSFER_ABORT_MAX_PLAYERS = 0x02 , TRANSFER_ABORT_NOT_FOUND = 0x03 ,
  TRANSFER_ABORT_TOO_MANY_INSTANCES = 0x04 , TRANSFER_ABORT_ZONE_IN_COMBAT = 0x06 , TRANSFER_ABORT_INSUF_EXPAN_LVL = 0x07 , TRANSFER_ABORT_DIFFICULTY = 0x08 ,
  TRANSFER_ABORT_UNIQUE_MESSAGE = 0x09 , TRANSFER_ABORT_TOO_MANY_REALM_INSTANCES = 0x0A , TRANSFER_ABORT_NEED_GROUP = 0x0B , TRANSFER_ABORT_NOT_FOUND1 = 0x0C ,
  TRANSFER_ABORT_NOT_FOUND2 = 0x0D , TRANSFER_ABORT_NOT_FOUND3 = 0x0E , TRANSFER_ABORT_REALM_ONLY = 0x0F , TRANSFER_ABORT_MAP_NOT_ALLOWED = 0x10 ,
  TRANSFER_ABORT_LOCKED_TO_DIFFERENT_INSTANCE = 0x12 , TRANSFER_ABORT_ALREADY_COMPLETED_ENCOUNTER = 0x13
}

Functions

void AddItemsSetItem (Player *player, Item *item)
void RemoveItemsSetItem (Player *player, ItemTemplate const *proto)

Variables

uint32 const pandarenLanguageSpellsAlliance []
uint32 const pandarenLanguageSpellsHorde []
const uint32 ResearchContinents [RESEARCH_CONTINENT_COUNT] = { 0, 1, 530, 571, 870 }

Macro Definition Documentation

◆ ACTION_BUTTON_ACTION

#define ACTION_BUTTON_ACTION ( X)
Value:
(uint64(X) & 0x00000000FFFFFFFF)
std::uint64_t uint64
Definition Define.h:76

Definition at line 347 of file Player.h.

Referenced by ActionButton::GetAction(), and WorldSession::HandleSetActionButtonOpcode().

◆ ACTION_BUTTON_TYPE

#define ACTION_BUTTON_TYPE ( X)
Value:
((uint64(X) & 0xFFFFFFFF00000000) >> 56)

Definition at line 348 of file Player.h.

Referenced by ActionButton::GetType(), and WorldSession::HandleSetActionButtonOpcode().

◆ DISABLED_MIRROR_TIMER

#define DISABLED_MIRROR_TIMER   -1

◆ INVENTORY_SLOT_BAG_0

#define INVENTORY_SLOT_BAG_0   255

Definition at line 684 of file Player.h.

Referenced by Player::_LoadInventory(), Player::_SaveInventory(), Player::_StoreItem(), Player::AutoUnequipOffhandIfNeed(), Player::BuildEnchantmentsInfoData(), Player::CanBankItem(), Player::CanEquipItem(), Player::CanStoreItem(), Player::CanStoreItem_InInventorySlots(), Player::CanStoreItem_InSpecificSlot(), Player::CanStoreItems(), Player::CanUnequipItems(), Player::CastItemCombatSpell(), Player::CorrectMetaGemEnchants(), Player::Create(), Player::DestroyConjuredItems(), Player::DestroyItem(), Player::DestroyItemCount(), Player::DestroyZoneLimitedItem(), Player::DurabilityLossAll(), Player::DurabilityPointLossForEquipSlot(), Player::DurabilityPointsLossAll(), Player::DurabilityRepairAll(), Spell::EffectDurabilityDamage(), Spell::EffectDurabilityDamagePCT(), Spell::EffectEnchantHeldItem(), Player::EnchantmentFitsRequirements(), EquippedOk(), Player::FindEquipSlot(), Player::GetBagByPos(), Item::GetBagSlot(), LuaPlayer::GetEquippedItemBySlot(), Player::GetItemByEntry(), Player::GetItemByGuid(), Player::GetItemByPos(), Player::GetItemCount(), Player::GetItemCountWithLimitCategory(), Player::GetShield(), Unit::GetUnitBlockChance(), Player::GetWeaponForAttack(), spell_rog_deadly_poison::spell_rog_deadly_poison_SpellScript::HandleAfterHit(), AuraEffect::HandleAuraModDisarm(), AuraEffect::HandleAuraModShapeshift(), WorldSession::HandleAutoEquipItemSlotOpcode(), WorldSession::HandleBuyItemInSlotOpcode(), WorldSession::HandleBuyItemOpcode(), WorldSession::HandleCancelTempEnchantmentOpcode(), debug_commandscript::HandleDebugGetItemStateCommand(), spell_gen_fishing::spell_gen_fishing_SpellScript::HandleDummy(), spell_sha_lava_lash::spell_sha_lava_lash_SpellScript::HandleDummy(), WorldSession::HandleEquipmentSetSave(), WorldSession::HandleEquipmentSetUse(), misc_commandscript::HandleItemMoveCommand(), WorldSession::HandleMirrorImageDataRequest(), WorldSession::HandleSwapInvItemOpcode(), WorldSession::HandleTransmogrifyItems(), WorldSession::HandleVoidStorageTransfer(), Player::HasItemCount(), Player::HasItemFitToSpellRequirements(), Player::HasItemOrGemWithIdEquipped(), Player::HasItemOrGemWithLimitCategoryEquipped(), Player::IsBagPos(), Player::IsBankPos(), Player::IsEquipmentPos(), Player::IsInventoryPos(), Aura::IsProcTriggeredOnEvent(), Unit::IsTriggeredAtSpellProcEvent(), Player::IsTwoHandUsed(), Player::IsValidPos(), spell_gen_clone_weapon_aura::spell_gen_clone_weapon_auraScript::OnApply(), spell_monk_grapple_weapon::spell_monk_grapple_weapon_SpellScript::PrepareSpellScript(), Player::RemoveArenaEnchantments(), Player::RemoveItem(), Player::SaveToDB(), Player::SendInspectResult(), instance_ulduar::instance_ulduar_InstanceMapScript::SetBossState(), Player::StoreNewItemInBestSlots(), and Player::ToggleMetaGemsActive().

◆ KNOWN_TITLES_SIZE

#define KNOWN_TITLES_SIZE   4

◆ MAX_ACTION_BUTTON_ACTION_VALUE

#define MAX_ACTION_BUTTON_ACTION_VALUE   (0xFFFFFFFF)

Definition at line 349 of file Player.h.

Referenced by Player::IsActionButtonDataValid().

◆ MAX_ACTION_BUTTONS

#define MAX_ACTION_BUTTONS   132

Definition at line 384 of file Player.h.

Referenced by Player::IsActionButtonDataValid(), and Player::SendActionButtons().

◆ MAX_CUF_PROFILES

#define MAX_CUF_PROFILES   5

◆ MAX_DIGSITES_PER_CONTINENT

◆ MAX_EQUIPMENT_SET_INDEX

#define MAX_EQUIPMENT_SET_INDEX   10

Definition at line 766 of file Player.h.

Referenced by Player::_LoadEquipmentSets(), and WorldSession::HandleEquipmentSetSave().

◆ MAX_FINDS_PER_DIGSITE

#define MAX_FINDS_PER_DIGSITE   6

◆ MAX_MONEY_AMOUNT

◆ MAX_PLAYED_TIME_INDEX

#define MAX_PLAYED_TIME_INDEX   2

Definition at line 864 of file Player.h.

◆ MAX_PLAYER_SUMMON_DELAY

#define MAX_PLAYER_SUMMON_DELAY   (2*MINUTE)

◆ MAX_QUEST_OFFSET

◆ MAX_RUNES

◆ MAX_TIMERS

#define MAX_TIMERS   3

Definition at line 596 of file Player.h.

Referenced by Player::HandleDrowning(), and Player::Player().

◆ MAX_TITLE_INDEX

#define MAX_TITLE_INDEX   (KNOWN_TITLES_SIZE * 64)

Definition at line 572 of file Player.h.

Referenced by WorldSession::HandleSetTitleOpcode(), and Player::HasTitle().

◆ PANDAREN_FACTION_LANGUAGE_COUNT

#define PANDAREN_FACTION_LANGUAGE_COUNT   3

Definition at line 127 of file Player.h.

Referenced by CharacterBooster::_LearnSpells().

◆ PLAYER_EXPLORED_ZONES_SIZE

◆ PLAYER_MAX_DAILY_QUESTS

#define PLAYER_MAX_DAILY_QUESTS   750

◆ PLAYER_MAX_SKILLS

#define PLAYER_MAX_SKILLS   128

Definition at line 53 of file Player.h.

Referenced by Player::_LoadSkills(), and Player::SetSkill().

◆ RESEARCH_BRANCH_COUNT

#define RESEARCH_BRANCH_COUNT   12

Definition at line 1226 of file Player.h.

Referenced by Player::UpdateResearchProjects().

◆ RESEARCH_CONTINENT_COUNT

Typedef Documentation

◆ ActionButtonList

typedef std::map<uint8, ActionButton> ActionButtonList

Definition at line 386 of file Player.h.

◆ EnchantDurationList

Definition at line 531 of file Player.h.

◆ EquipmentSets

typedef std::map<uint32, EquipmentSet> EquipmentSets

Definition at line 768 of file Player.h.

◆ InstanceTimeMap

Definition at line 306 of file Player.h.

◆ ItemDurationList

typedef std::list<Item*> ItemDurationList

Definition at line 532 of file Player.h.

◆ ItemPosCountVec

typedef std::vector<ItemPosCount> ItemPosCountVec

Definition at line 777 of file Player.h.

◆ PlayerCreateInfoActions

Definition at line 417 of file Player.h.

◆ PlayerCreateInfoItems

Definition at line 396 of file Player.h.

◆ PlayerCreateInfoSpells

typedef std::list<uint32> PlayerCreateInfoSpells

Definition at line 405 of file Player.h.

◆ PlayerCurrenciesMap

Definition at line 201 of file Player.h.

◆ PlayerMails

typedef std::deque<Mail*> PlayerMails

Definition at line 51 of file Player.h.

◆ PlayerSpellMap

Definition at line 199 of file Player.h.

◆ PlayerTalentMap

Definition at line 198 of file Player.h.

◆ QuestObjectiveStatusMap

Definition at line 628 of file Player.h.

◆ QuestObjectiveStatusSaveMap

typedef std::map<uint32, bool> QuestObjectiveStatusSaveMap

Definition at line 633 of file Player.h.

◆ QuestStatusMap

Definition at line 627 of file Player.h.

◆ QuestStatusSaveMap

typedef std::map<uint32, bool> QuestStatusSaveMap

Definition at line 632 of file Player.h.

◆ ResearchHistoryMap

◆ ResearchProjectMap

Definition at line 1278 of file Player.h.

◆ RewardedQuestSet

typedef std::set<uint32> RewardedQuestSet

Definition at line 629 of file Player.h.

◆ SkillStatusMap

Definition at line 668 of file Player.h.

◆ SpellCooldowns

typedef std::map<uint32, SpellCooldown> SpellCooldowns

Definition at line 305 of file Player.h.

◆ SpellModList

typedef std::list<SpellModifier*> SpellModList

Definition at line 200 of file Player.h.

◆ WhisperListContainer

typedef std::list<uint64> WhisperListContainer

Definition at line 203 of file Player.h.

Enumeration Type Documentation

◆ ActionButtonType

enum class ActionButtonType : uint8
strong
Enumerator
ACTION_BUTTON_SPELL 
ACTION_BUTTON_C 
ACTION_BUTTON_EQSET 
ACTION_BUTTON_DROPDOWN 
ACTION_BUTTON_MACRO 
ACTION_BUTTON_CMACRO 
ACTION_BUTTON_MOUNT 
ACTION_BUTTON_ITEM 

Definition at line 324 of file Player.h.

◆ ActionButtonUpdateState

enum class ActionButtonUpdateState
strong
Enumerator
ACTIONBUTTON_UNCHANGED 
ACTIONBUTTON_CHANGED 
ACTIONBUTTON_NEW 
ACTIONBUTTON_DELETED 

Definition at line 316 of file Player.h.

◆ AtLoginFlags

Enumerator
AT_LOGIN_NONE 
AT_LOGIN_RENAME 
AT_LOGIN_RESET_SPELLS 
AT_LOGIN_RESET_TALENTS 
AT_LOGIN_CUSTOMIZE 
AT_LOGIN_RESET_PET_TALENTS 
AT_LOGIN_FIRST 
AT_LOGIN_CHANGE_FACTION 
AT_LOGIN_CHANGE_RACE 

Definition at line 614 of file Player.h.

◆ AttackSwingError

Enumerator
ATTACKSWINGERR_NOTINRANGE 
ATTACKSWINGERR_BADFACING 
ATTACKSWINGERR_DEADTARGET 
ATTACKSWINGERR_CANT_ATTACK 

Definition at line 1280 of file Player.h.

◆ BankBagSlots

Enumerator
BANK_SLOT_BAG_START 
BANK_SLOT_BAG_END 

Definition at line 729 of file Player.h.

◆ BankItemSlots

Enumerator
BANK_SLOT_ITEM_START 
BANK_SLOT_ITEM_END 

Definition at line 723 of file Player.h.

◆ BuyBackSlots

Enumerator
BUYBACK_SLOT_START 
BUYBACK_SLOT_END 

Definition at line 735 of file Player.h.

◆ BuyBankSlotResult

Enumerator
ERR_BANKSLOT_FAILED_TOO_MANY 
ERR_BANKSLOT_INSUFFICIENT_FUNDS 
ERR_BANKSLOT_NOTBANKER 
ERR_BANKSLOT_OK 

Definition at line 82 of file Player.h.

◆ CharDeleteMethod

Enumerator
CHAR_DELETE_REMOVE 
CHAR_DELETE_UNLINK 

Definition at line 953 of file Player.h.

◆ CUFBoolOptions

Bit index used in the many bool options of CompactUnitFrames.

Enumerator
CUF_KEEP_GROUPS_TOGETHER 
CUF_DISPLAY_PETS 
CUF_DISPLAY_MAIN_TANK_AND_ASSIST 
CUF_DISPLAY_HEAL_PREDICTION 
CUF_DISPLAY_AGGRO_HIGHLIGHT 
CUF_DISPLAY_ONLY_DISPELLABLE_DEBUFFS 
CUF_DISPLAY_POWER_BAR 
CUF_DISPLAY_BORDER 
CUF_USE_CLASS_COLORS 
CUF_DISPLAY_NON_BOSS_DEBUFFS 
CUF_DISPLAY_HORIZONTAL_GROUPS 
CUF_LOCKED 
CUF_SHOWN 
CUF_AUTO_ACTIVATE_2_PLAYERS 
CUF_AUTO_ACTIVATE_3_PLAYERS 
CUF_AUTO_ACTIVATE_5_PLAYERS 
CUF_AUTO_ACTIVATE_10_PLAYERS 
CUF_AUTO_ACTIVATE_15_PLAYERS 
CUF_AUTO_ACTIVATE_25_PLAYERS 
CUF_AUTO_ACTIVATE_40_PLAYERS 
CUF_AUTO_ACTIVATE_SPEC_1 
CUF_AUTO_ACTIVATE_SPEC_2 
CUF_AUTO_ACTIVATE_PVP 
CUF_AUTO_ACTIVATE_PVE 
CUF_UNK_145 
CUF_UNK_156 
CUF_UNK_157 
CUF_BOOL_OPTIONS_COUNT 

Definition at line 209 of file Player.h.

◆ EnviromentalDamage

Type of environmental damages.

Enumerator
DAMAGE_EXHAUSTED 
DAMAGE_DROWNING 
DAMAGE_FALL 
DAMAGE_LAVA 
DAMAGE_SLIME 
DAMAGE_FIRE 
DAMAGE_FALL_TO_VOID 

Definition at line 837 of file Player.h.

◆ EquipmentSetUpdateState

enum class EquipmentSetUpdateState
strong
Enumerator
EQUIPMENT_SET_UNCHANGED 
EQUIPMENT_SET_CHANGED 
EQUIPMENT_SET_NEW 
EQUIPMENT_SET_DELETED 

Definition at line 742 of file Player.h.

◆ EquipmentSlots

Enumerator
EQUIPMENT_SLOT_START 
EQUIPMENT_SLOT_HEAD 
EQUIPMENT_SLOT_NECK 
EQUIPMENT_SLOT_SHOULDERS 
EQUIPMENT_SLOT_BODY 
EQUIPMENT_SLOT_CHEST 
EQUIPMENT_SLOT_WAIST 
EQUIPMENT_SLOT_LEGS 
EQUIPMENT_SLOT_FEET 
EQUIPMENT_SLOT_WRISTS 
EQUIPMENT_SLOT_HANDS 
EQUIPMENT_SLOT_FINGER1 
EQUIPMENT_SLOT_FINGER2 
EQUIPMENT_SLOT_TRINKET1 
EQUIPMENT_SLOT_TRINKET2 
EQUIPMENT_SLOT_BACK 
EQUIPMENT_SLOT_MAINHAND 
EQUIPMENT_SLOT_OFFHAND 
EQUIPMENT_SLOT_TABARD 
EQUIPMENT_SLOT_END 

Definition at line 686 of file Player.h.

◆ InstanceResetWarningType

Enumerator
RAID_INSTANCE_WARNING_HOURS 
RAID_INSTANCE_WARNING_MIN 
RAID_INSTANCE_WARNING_MIN_SOON 
RAID_INSTANCE_WELCOME 
RAID_INSTANCE_EXPIRED 

Definition at line 809 of file Player.h.

◆ InventoryPackSlots

Enumerator
INVENTORY_SLOT_ITEM_START 
INVENTORY_SLOT_ITEM_END 

Definition at line 717 of file Player.h.

◆ InventorySlots

Enumerator
INVENTORY_SLOT_BAG_START 
INVENTORY_SLOT_BAG_END 

Definition at line 711 of file Player.h.

◆ MirrorTimerType

Enumerator
FATIGUE_TIMER 
BREATH_TIMER 
FIRE_TIMER 

Definition at line 590 of file Player.h.

◆ PlayedTimeIndex

Enumerator
PLAYED_TIME_TOTAL 
PLAYED_TIME_LEVEL 

Definition at line 858 of file Player.h.

◆ PlayerChatTag

Enumerator
CHAT_TAG_NONE 
CHAT_TAG_AFK 
CHAT_TAG_DND 
CHAT_TAG_GM 
CHAT_TAG_COM 
CHAT_TAG_DEV 

Definition at line 848 of file Player.h.

◆ PlayerCommandStates

Enumerator
CHEAT_NONE 
CHEAT_GOD 
CHEAT_CASTTIME 
CHEAT_COOLDOWN 
CHEAT_POWER 
CHEAT_WATERWALK 

Definition at line 985 of file Player.h.

◆ PlayerCurrencyState

Enumerator
PLAYERCURRENCY_UNCHANGED 
PLAYERCURRENCY_CHANGED 
PLAYERCURRENCY_NEW 
PLAYERCURRENCY_REMOVED 

Definition at line 180 of file Player.h.

◆ PlayerDelayedOperations

Enumerator
DELAYED_SAVE_PLAYER 
DELAYED_RESURRECT_PLAYER 
DELAYED_SPELL_CAST_DESERTER 
DELAYED_BG_MOUNT_RESTORE 

Flag to restore mount state after teleport from BG.

DELAYED_BG_TAXI_RESTORE 

Flag to restore taxi state after teleport from BG.

DELAYED_BG_GROUP_RESTORE 

Flag to restore group state after teleport from BG.

DELAYED_END 

Definition at line 914 of file Player.h.

◆ PlayerExtraFlags

Enumerator
PLAYER_EXTRA_GM_ON 
PLAYER_EXTRA_ACCEPT_WHISPERS 
PLAYER_EXTRA_TAXICHEAT 
PLAYER_EXTRA_GM_INVISIBLE 
PLAYER_EXTRA_GM_CHAT 
PLAYER_EXTRA_PVP_DEATH 

Definition at line 600 of file Player.h.

◆ PlayerFieldByte2Flags

Enumerator
PLAYER_FIELD_BYTE2_NONE 
PLAYER_FIELD_BYTE2_STEALTH 
PLAYER_FIELD_BYTE2_INVISIBILITY_GLOW 

Definition at line 583 of file Player.h.

◆ PlayerFieldByteFlags

Enumerator
PLAYER_FIELD_BYTE_TRACK_STEALTHED 
PLAYER_FIELD_BYTE_RELEASE_TIMER 
PLAYER_FIELD_BYTE_NO_RELEASE_WINDOW 

Definition at line 575 of file Player.h.

◆ PlayerFlags

Enumerator
PLAYER_FLAGS_GROUP_LEADER 
PLAYER_FLAGS_AFK 
PLAYER_FLAGS_DND 
PLAYER_FLAGS_GM 
PLAYER_FLAGS_GHOST 
PLAYER_FLAGS_RESTING 
PLAYER_FLAGS_UNK6 
PLAYER_FLAGS_UNK7 
PLAYER_FLAGS_CONTESTED_PVP 
PLAYER_FLAGS_IN_PVP 
PLAYER_FLAGS_HIDE_HELM 
PLAYER_FLAGS_HIDE_CLOAK 
PLAYER_FLAGS_PLAYED_LONG_TIME 
PLAYER_FLAGS_PLAYED_TOO_LONG 
PLAYER_FLAGS_IS_OUT_OF_BOUNDS 
PLAYER_FLAGS_DEVELOPER 
PLAYER_FLAGS_UNK16 
PLAYER_FLAGS_TAXI_BENCHMARK 
PLAYER_FLAGS_PVP_TIMER 
PLAYER_FLAGS_UBER 
PLAYER_FLAGS_UNK20 
PLAYER_FLAGS_UNK21 
PLAYER_FLAGS_COMMENTATOR2 
PLAYER_FLAGS_ALLOW_ONLY_ABILITY 
PLAYER_FLAGS_BATTLE_PET_ENABLED 
PLAYER_FLAGS_NO_XP_GAIN 
PLAYER_FLAGS_UNK26 
PLAYER_FLAGS_AUTO_DECLINE_GUILD 
PLAYER_FLAGS_GUILD_LEVEL_ENABLED 
PLAYER_FLAGS_VOID_UNLOCKED 
PLAYER_FLAGS_UNK30 
PLAYER_FLAGS_UNK31 

Definition at line 535 of file Player.h.

◆ PlayerLoginQueryIndex

Enumerator
PLAYER_LOGIN_QUERY_LOAD_FROM 
PLAYER_LOGIN_QUERY_LOAD_GROUP 
PLAYER_LOGIN_QUERY_LOAD_BOUND_INSTANCES 
PLAYER_LOGIN_QUERY_LOAD_AURAS 
PLAYER_LOGIN_QUERY_LOAD_SPELLS 
PLAYER_LOGIN_QUERY_LOAD_QUEST_STATUS 
PLAYER_LOGIN_QUERY_LOAD_DAILY_QUEST_STATUS 
PLAYER_LOGIN_QUERY_LOAD_REPUTATION 
PLAYER_LOGIN_QUERY_LOAD_INVENTORY 
PLAYER_LOGIN_QUERY_LOAD_ACTIONS 
PLAYER_LOGIN_QUERY_LOAD_MAIL_COUNT 
PLAYER_LOGIN_QUERY_LOAD_MAIL_DATE 
PLAYER_LOGIN_QUERY_LOAD_SOCIAL_LIST 
PLAYER_LOGIN_QUERY_LOAD_HOME_BIND 
PLAYER_LOGIN_QUERY_LOAD_SPELL_COOLDOWNS 
PLAYER_LOGIN_QUERY_LOAD_DECLINED_NAMES 
PLAYER_LOGIN_QUERY_LOAD_GUILD 
PLAYER_LOGIN_QUERY_LOAD_ACHIEVEMENTS 
PLAYER_LOGIN_QUERY_LOAD_CRITERIA_PROGRESS 
PLAYER_LOGIN_QUERY_LOAD_EQUIPMENT_SETS 
PLAYER_LOGIN_QUERY_LOAD_BG_DATA 
PLAYER_LOGIN_QUERY_LOAD_GLYPHS 
PLAYER_LOGIN_QUERY_LOAD_TALENTS 
PLAYER_LOGIN_QUERY_LOAD_ACCOUNT_DATA 
PLAYER_LOGIN_QUERY_LOAD_SKILLS 
PLAYER_LOGIN_QUERY_LOAD_WEEKLY_QUEST_STATUS 
PLAYER_LOGIN_QUERY_LOAD_RANDOM_BG 
PLAYER_LOGIN_QUERY_LOAD_BANNED 
PLAYER_LOGIN_QUERY_LOAD_QUEST_STATUS_REW 
PLAYER_LOGIN_QUERY_LOAD_INSTANCE_LOCK_TIMES 
PLAYER_LOGIN_QUERY_LOAD_SEASONAL_QUEST_STATUS 
PLAYER_LOGIN_QUERY_LOAD_MONTHLY_QUEST_STATUS 
PLAYER_LOGIN_QUERY_LOAD_VOID_STORAGE 
PLAYER_LOGIN_QUERY_LOAD_CURRENCY 
PLAYER_LOGIN_QUERY_LOAD_CUF_PROFILES 
PLAYER_LOGIN_QUERY_LOAD_BATTLE_PETS 
PLAYER_LOGIN_QUERY_LOAD_BATTLE_PET_SLOTS 
PLAYER_LOGIN_QUERY_LOAD_QUEST_OBJECTIVE_STATUS 
PLAYER_LOGIN_QUERY_LOAD_RESEARCH_DIGSITES 
PLAYER_LOGIN_QUERY_LOAD_RESEARCH_HISTORY 
PLAYER_LOGIN_QUERY_LOAD_RESEARCH_PROJECTS 
MAX_PLAYER_LOGIN_QUERY 

Definition at line 867 of file Player.h.

◆ PlayerRestState

Enumerator
REST_STATE_RESTED 
REST_STATE_NOT_RAF_LINKED 
REST_STATE_RAF_LINKED 

Definition at line 978 of file Player.h.

◆ PlayerSlots

Enumerator
PLAYER_SLOT_START 
PLAYER_SLOT_END 
PLAYER_SLOTS_COUNT 

Definition at line 675 of file Player.h.

◆ PlayerSpellState

Enumerator
PLAYERSPELL_UNCHANGED 
PLAYERSPELL_CHANGED 
PLAYERSPELL_NEW 
PLAYERSPELL_REMOVED 
PLAYERSPELL_TEMPORARY 

Definition at line 90 of file Player.h.

◆ PlayerUnderwaterState

Enumerator
UNDERWATER_NONE 
UNDERWATER_INWATER 
UNDERWATER_INLAVA 
UNDERWATER_INSLIME 
UNDERWARER_INDARKWATER 
UNDERWATER_EXIST_TIMERS 

Definition at line 71 of file Player.h.

◆ QuestSlotOffsets

Enumerator
QUEST_ID_OFFSET 
QUEST_STATE_OFFSET 
QUEST_COUNTS_OFFSET 
QUEST_TIME_OFFSET 

Definition at line 635 of file Player.h.

◆ QuestSlotStateMask

Enumerator
QUEST_STATE_NONE 
QUEST_STATE_COMPLETE 
QUEST_STATE_FAIL 

Definition at line 645 of file Player.h.

◆ ReferAFriendError

Enumerator
ERR_REFER_A_FRIEND_NONE 
ERR_REFER_A_FRIEND_NOT_REFERRED_BY 
ERR_REFER_A_FRIEND_TARGET_TOO_HIGH 
ERR_REFER_A_FRIEND_INSUFFICIENT_GRANTABLE_LEVELS 
ERR_REFER_A_FRIEND_TOO_FAR 
ERR_REFER_A_FRIEND_DIFFERENT_FACTION 
ERR_REFER_A_FRIEND_NOT_NOW 
ERR_REFER_A_FRIEND_GRANT_LEVEL_MAX_I 
ERR_REFER_A_FRIEND_NO_TARGET 
ERR_REFER_A_FRIEND_NOT_IN_GROUP 
ERR_REFER_A_FRIEND_SUMMON_LEVEL_MAX_I 
ERR_REFER_A_FRIEND_SUMMON_COOLDOWN 
ERR_REFER_A_FRIEND_INSUF_EXPAN_LVL 
ERR_REFER_A_FRIEND_SUMMON_OFFLINE_S 

Definition at line 960 of file Player.h.

◆ ReputationSource

Enumerator
REPUTATION_SOURCE_KILL 
REPUTATION_SOURCE_QUEST 
REPUTATION_SOURCE_DAILY_QUEST 
REPUTATION_SOURCE_WEEKLY_QUEST 
REPUTATION_SOURCE_MONTHLY_QUEST 
REPUTATION_SOURCE_REPEATABLE_QUEST 
REPUTATION_SOURCE_SPELL 

Definition at line 336 of file Player.h.

◆ RestType

enum RestType
Enumerator
REST_TYPE_NO 
REST_TYPE_IN_TAVERN 
REST_TYPE_IN_CITY 

Definition at line 820 of file Player.h.

◆ RuneCooldowns

Enumerator
RUNE_BASE_COOLDOWN 
RUNE_MISS_COOLDOWN 

Definition at line 478 of file Player.h.

◆ RuneType

enum class RuneType
strong
Enumerator
RUNE_BLOOD 
RUNE_UNHOLY 
RUNE_FROST 
RUNE_DEATH 
NUM_RUNE_TYPES 

Definition at line 484 of file Player.h.

◆ SkillUpdateState

enum class SkillUpdateState
strong
Enumerator
SKILL_UNCHANGED 
SKILL_CHANGED 
SKILL_NEW 
SKILL_DELETED 

Definition at line 652 of file Player.h.

◆ SpellModType

Enumerator
SPELLMOD_FLAT 
SPELLMOD_PCT 

Definition at line 64 of file Player.h.

◆ TalentTree

enum TalentTree
Enumerator
TALENT_TREE_WARRIOR_ARMS 
TALENT_TREE_WARRIOR_FURY 
TALENT_TREE_WARRIOR_PROTECTION 
TALENT_TREE_PALADIN_HOLY 
TALENT_TREE_PALADIN_PROTECTION 
TALENT_TREE_PALADIN_RETRIBUTION 
TALENT_TREE_HUNTER_BEAST_MASTERY 
TALENT_TREE_HUNTER_MARKSMANSHIP 
TALENT_TREE_HUNTER_SURVIVAL 
TALENT_TREE_ROGUE_ASSASSINATION 
TALENT_TREE_ROGUE_COMBAT 
TALENT_TREE_ROGUE_SUBTLETY 
TALENT_TREE_PRIEST_DISCIPLINE 
TALENT_TREE_PRIEST_HOLY 
TALENT_TREE_PRIEST_SHADOW 
TALENT_TREE_DEATH_KNIGHT_BLOOD 
TALENT_TREE_DEATH_KNIGHT_FROST 
TALENT_TREE_DEATH_KNIGHT_UNHOLY 
TALENT_TREE_SHAMAN_ELEMENTAL 
TALENT_TREE_SHAMAN_ENHANCEMENT 
TALENT_TREE_SHAMAN_RESTORATION 
TALENT_TREE_MAGE_ARCANE 
TALENT_TREE_MAGE_FIRE 
TALENT_TREE_MAGE_FROST 
TALENT_TREE_WARLOCK_AFFLICTION 
TALENT_TREE_WARLOCK_DEMONOLOGY 
TALENT_TREE_WARLOCK_DESTRUCTION 
TALENT_TREE_DRUID_BALANCE 
TALENT_TREE_DRUID_FERAL_COMBAT 
TALENT_TREE_DRUID_RESTORATION 
TALENT_TREE_MONK_BREWMASTER 
TALENT_TREE_MONK_MISTWEAVER 
TALENT_TREE_MONK_WINDWALKER 

Definition at line 129 of file Player.h.

◆ TeleportToOptions

Enumerator
TELE_TO_GM_MODE 
TELE_TO_NOT_LEAVE_TRANSPORT 
TELE_TO_NOT_LEAVE_COMBAT 
TELE_TO_NOT_UNSUMMON_PET 
TELE_TO_SPELL 

Definition at line 827 of file Player.h.

◆ TradeSlots

enum TradeSlots
Enumerator
TRADE_SLOT_COUNT 
TRADE_SLOT_TRADED_COUNT 
TRADE_SLOT_NONTRADED 
TRADE_SLOT_INVALID 

Definition at line 779 of file Player.h.

◆ TrainerSpellState

Enumerator
TRAINER_SPELL_GRAY 
TRAINER_SPELL_GREEN 
TRAINER_SPELL_RED 
TRAINER_SPELL_GREEN_DISABLED 

Definition at line 308 of file Player.h.

◆ TransferAbortReason

enum class TransferAbortReason
strong
Enumerator
TRANSFER_ABORT_NONE 
TRANSFER_ABORT_ERROR 
TRANSFER_ABORT_MAX_PLAYERS 
TRANSFER_ABORT_NOT_FOUND 
TRANSFER_ABORT_TOO_MANY_INSTANCES 
TRANSFER_ABORT_ZONE_IN_COMBAT 
TRANSFER_ABORT_INSUF_EXPAN_LVL 
TRANSFER_ABORT_DIFFICULTY 
TRANSFER_ABORT_UNIQUE_MESSAGE 
TRANSFER_ABORT_TOO_MANY_REALM_INSTANCES 
TRANSFER_ABORT_NEED_GROUP 
TRANSFER_ABORT_NOT_FOUND1 
TRANSFER_ABORT_NOT_FOUND2 
TRANSFER_ABORT_NOT_FOUND3 
TRANSFER_ABORT_REALM_ONLY 
TRANSFER_ABORT_MAP_NOT_ALLOWED 
TRANSFER_ABORT_LOCKED_TO_DIFFERENT_INSTANCE 
TRANSFER_ABORT_ALREADY_COMPLETED_ENCOUNTER 

Definition at line 787 of file Player.h.

Function Documentation

◆ AddItemsSetItem()

◆ RemoveItemsSetItem()

Variable Documentation

◆ pandarenLanguageSpellsAlliance

uint32 const pandarenLanguageSpellsAlliance[]
Initial value:
=
{
668,
143368,
108130
}

Definition at line 113 of file Player.h.

Referenced by CharacterBooster::_LearnSpells().

◆ pandarenLanguageSpellsHorde

uint32 const pandarenLanguageSpellsHorde[]
Initial value:
=
{
669,
143369,
108131
}

Definition at line 120 of file Player.h.

Referenced by CharacterBooster::_LearnSpells().

◆ ResearchContinents