AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
Player.cpp File Reference
#include "Player.h"
#include "AccountMgr.h"
#include "AchievementMgr.h"
#include "ArenaSpectator.h"
#include "ArenaTeam.h"
#include "ArenaTeamMgr.h"
#include "Battlefield.h"
#include "BattlefieldMgr.h"
#include "BattlefieldWG.h"
#include "Battleground.h"
#include "BattlegroundAV.h"
#include "BattlegroundMgr.h"
#include "CellImpl.h"
#include "CharmInfo.h"
#include "Channel.h"
#include "CharacterCache.h"
#include "CharacterDatabaseCleaner.h"
#include "Chat.h"
#include "CombatLogPackets.h"
#include "Common.h"
#include "ConditionMgr.h"
#include "Config.h"
#include "CreatureAI.h"
#include "DatabaseEnv.h"
#include "DisableMgr.h"
#include "Formulas.h"
#include "GameEventMgr.h"
#include "GameGraveyard.h"
#include "GameTime.h"
#include "GossipDef.h"
#include "GridNotifiers.h"
#include "Group.h"
#include "GroupMgr.h"
#include "Guild.h"
#include "GuildMgr.h"
#include "InstanceSaveMgr.h"
#include "InstanceScript.h"
#include "LFGMgr.h"
#include "Log.h"
#include "LootItemStorage.h"
#include "MapMgr.h"
#include "MiscPackets.h"
#include "ObjectAccessor.h"
#include "ObjectMgr.h"
#include "OutdoorPvP.h"
#include "OutdoorPvPMgr.h"
#include "Pet.h"
#include "PetitionMgr.h"
#include "QuestDef.h"
#include "Realm.h"
#include "ReputationMgr.h"
#include "ScriptMgr.h"
#include "SocialMgr.h"
#include "Spell.h"
#include "SpellAuraEffects.h"
#include "SpellAuras.h"
#include "SpellMgr.h"
#include "StringConvert.h"
#include "TicketMgr.h"
#include "Tokenize.h"
#include "Transport.h"
#include "UpdateData.h"
#include "Util.h"
#include "Vehicle.h"
#include "Weather.h"
#include "World.h"
#include "WorldPacket.h"
#include "WorldSession.h"
#include <cmath>
#include "GridNotifiersImpl.h"

Go to the source code of this file.

Classes

class  SpellModPred
 
class  MageSpellModPred
 

Enumerations

enum  CharacterFlags {
  CHARACTER_FLAG_NONE = 0x00000000 ,
  CHARACTER_FLAG_UNK1 = 0x00000001 ,
  CHARACTER_FLAG_UNK2 = 0x00000002 ,
  CHARACTER_LOCKED_FOR_TRANSFER = 0x00000004 ,
  CHARACTER_FLAG_UNK4 = 0x00000008 ,
  CHARACTER_FLAG_UNK5 = 0x00000010 ,
  CHARACTER_FLAG_UNK6 = 0x00000020 ,
  CHARACTER_FLAG_UNK7 = 0x00000040 ,
  CHARACTER_FLAG_UNK8 = 0x00000080 ,
  CHARACTER_FLAG_UNK9 = 0x00000100 ,
  CHARACTER_FLAG_UNK10 = 0x00000200 ,
  CHARACTER_FLAG_HIDE_HELM = 0x00000400 ,
  CHARACTER_FLAG_HIDE_CLOAK = 0x00000800 ,
  CHARACTER_FLAG_UNK13 = 0x00001000 ,
  CHARACTER_FLAG_GHOST = 0x00002000 ,
  CHARACTER_FLAG_RENAME = 0x00004000 ,
  CHARACTER_FLAG_UNK16 = 0x00008000 ,
  CHARACTER_FLAG_UNK17 = 0x00010000 ,
  CHARACTER_FLAG_UNK18 = 0x00020000 ,
  CHARACTER_FLAG_UNK19 = 0x00040000 ,
  CHARACTER_FLAG_UNK20 = 0x00080000 ,
  CHARACTER_FLAG_UNK21 = 0x00100000 ,
  CHARACTER_FLAG_UNK22 = 0x00200000 ,
  CHARACTER_FLAG_UNK23 = 0x00400000 ,
  CHARACTER_FLAG_UNK24 = 0x00800000 ,
  CHARACTER_FLAG_LOCKED_BY_BILLING = 0x01000000 ,
  CHARACTER_FLAG_DECLINED = 0x02000000 ,
  CHARACTER_FLAG_UNK27 = 0x04000000 ,
  CHARACTER_FLAG_UNK28 = 0x08000000 ,
  CHARACTER_FLAG_UNK29 = 0x10000000 ,
  CHARACTER_FLAG_UNK30 = 0x20000000 ,
  CHARACTER_FLAG_UNK31 = 0x40000000 ,
  CHARACTER_FLAG_UNK32 = 0x80000000
}
 
enum  CharacterCustomizeFlags {
  CHAR_CUSTOMIZE_FLAG_NONE = 0x00000000 ,
  CHAR_CUSTOMIZE_FLAG_CUSTOMIZE = 0x00000001 ,
  CHAR_CUSTOMIZE_FLAG_FACTION = 0x00010000 ,
  CHAR_CUSTOMIZE_FLAG_RACE = 0x00100000
}
 

Variables

static uint32 copseReclaimDelay [MAX_DEATH_COUNT] = { 30, 60, 120 }
 
static RuneType runeSlotTypes [MAX_RUNES]
 

Enumeration Type Documentation

◆ CharacterCustomizeFlags

Enumerator
CHAR_CUSTOMIZE_FLAG_NONE 
CHAR_CUSTOMIZE_FLAG_CUSTOMIZE 
CHAR_CUSTOMIZE_FLAG_FACTION 
CHAR_CUSTOMIZE_FLAG_RACE 
132{
133 CHAR_CUSTOMIZE_FLAG_NONE = 0x00000000,
134 CHAR_CUSTOMIZE_FLAG_CUSTOMIZE = 0x00000001, // name, gender, etc...
135 CHAR_CUSTOMIZE_FLAG_FACTION = 0x00010000, // name, gender, faction, etc...
136 CHAR_CUSTOMIZE_FLAG_RACE = 0x00100000 // name, gender, race, etc...
137};
@ CHAR_CUSTOMIZE_FLAG_RACE
Definition: Player.cpp:136
@ CHAR_CUSTOMIZE_FLAG_NONE
Definition: Player.cpp:133
@ CHAR_CUSTOMIZE_FLAG_FACTION
Definition: Player.cpp:135
@ CHAR_CUSTOMIZE_FLAG_CUSTOMIZE
Definition: Player.cpp:134

◆ CharacterFlags

Todo:
: this import is not necessary for compilation and marked as unused by the IDE
Enumerator
CHARACTER_FLAG_NONE 
CHARACTER_FLAG_UNK1 
CHARACTER_FLAG_UNK2 
CHARACTER_LOCKED_FOR_TRANSFER 
CHARACTER_FLAG_UNK4 
CHARACTER_FLAG_UNK5 
CHARACTER_FLAG_UNK6 
CHARACTER_FLAG_UNK7 
CHARACTER_FLAG_UNK8 
CHARACTER_FLAG_UNK9 
CHARACTER_FLAG_UNK10 
CHARACTER_FLAG_HIDE_HELM 
CHARACTER_FLAG_HIDE_CLOAK 
CHARACTER_FLAG_UNK13 
CHARACTER_FLAG_GHOST 
CHARACTER_FLAG_RENAME 
CHARACTER_FLAG_UNK16 
CHARACTER_FLAG_UNK17 
CHARACTER_FLAG_UNK18 
CHARACTER_FLAG_UNK19 
CHARACTER_FLAG_UNK20 
CHARACTER_FLAG_UNK21 
CHARACTER_FLAG_UNK22 
CHARACTER_FLAG_UNK23 
CHARACTER_FLAG_UNK24 
CHARACTER_FLAG_LOCKED_BY_BILLING 
CHARACTER_FLAG_DECLINED 
CHARACTER_FLAG_UNK27 
CHARACTER_FLAG_UNK28 
CHARACTER_FLAG_UNK29 
CHARACTER_FLAG_UNK30 
CHARACTER_FLAG_UNK31 
CHARACTER_FLAG_UNK32 
95{
96 CHARACTER_FLAG_NONE = 0x00000000,
97 CHARACTER_FLAG_UNK1 = 0x00000001,
98 CHARACTER_FLAG_UNK2 = 0x00000002,
100 CHARACTER_FLAG_UNK4 = 0x00000008,
101 CHARACTER_FLAG_UNK5 = 0x00000010,
102 CHARACTER_FLAG_UNK6 = 0x00000020,
103 CHARACTER_FLAG_UNK7 = 0x00000040,
104 CHARACTER_FLAG_UNK8 = 0x00000080,
105 CHARACTER_FLAG_UNK9 = 0x00000100,
106 CHARACTER_FLAG_UNK10 = 0x00000200,
107 CHARACTER_FLAG_HIDE_HELM = 0x00000400,
108 CHARACTER_FLAG_HIDE_CLOAK = 0x00000800,
109 CHARACTER_FLAG_UNK13 = 0x00001000,
110 CHARACTER_FLAG_GHOST = 0x00002000,
111 CHARACTER_FLAG_RENAME = 0x00004000,
112 CHARACTER_FLAG_UNK16 = 0x00008000,
113 CHARACTER_FLAG_UNK17 = 0x00010000,
114 CHARACTER_FLAG_UNK18 = 0x00020000,
115 CHARACTER_FLAG_UNK19 = 0x00040000,
116 CHARACTER_FLAG_UNK20 = 0x00080000,
117 CHARACTER_FLAG_UNK21 = 0x00100000,
118 CHARACTER_FLAG_UNK22 = 0x00200000,
119 CHARACTER_FLAG_UNK23 = 0x00400000,
120 CHARACTER_FLAG_UNK24 = 0x00800000,
122 CHARACTER_FLAG_DECLINED = 0x02000000,
123 CHARACTER_FLAG_UNK27 = 0x04000000,
124 CHARACTER_FLAG_UNK28 = 0x08000000,
125 CHARACTER_FLAG_UNK29 = 0x10000000,
126 CHARACTER_FLAG_UNK30 = 0x20000000,
127 CHARACTER_FLAG_UNK31 = 0x40000000,
128 CHARACTER_FLAG_UNK32 = 0x80000000
129};
@ CHARACTER_FLAG_UNK1
Definition: Player.cpp:97
@ CHARACTER_FLAG_UNK19
Definition: Player.cpp:115
@ CHARACTER_FLAG_UNK27
Definition: Player.cpp:123
@ CHARACTER_FLAG_UNK2
Definition: Player.cpp:98
@ CHARACTER_FLAG_UNK30
Definition: Player.cpp:126
@ CHARACTER_FLAG_UNK24
Definition: Player.cpp:120
@ CHARACTER_FLAG_UNK10
Definition: Player.cpp:106
@ CHARACTER_FLAG_UNK18
Definition: Player.cpp:114
@ CHARACTER_FLAG_GHOST
Definition: Player.cpp:110
@ CHARACTER_FLAG_DECLINED
Definition: Player.cpp:122
@ CHARACTER_FLAG_UNK4
Definition: Player.cpp:100
@ CHARACTER_FLAG_UNK5
Definition: Player.cpp:101
@ CHARACTER_FLAG_HIDE_HELM
Definition: Player.cpp:107
@ CHARACTER_FLAG_HIDE_CLOAK
Definition: Player.cpp:108
@ CHARACTER_FLAG_UNK31
Definition: Player.cpp:127
@ CHARACTER_FLAG_UNK20
Definition: Player.cpp:116
@ CHARACTER_FLAG_UNK8
Definition: Player.cpp:104
@ CHARACTER_FLAG_UNK16
Definition: Player.cpp:112
@ CHARACTER_FLAG_UNK23
Definition: Player.cpp:119
@ CHARACTER_FLAG_UNK21
Definition: Player.cpp:117
@ CHARACTER_FLAG_UNK9
Definition: Player.cpp:105
@ CHARACTER_FLAG_LOCKED_BY_BILLING
Definition: Player.cpp:121
@ CHARACTER_LOCKED_FOR_TRANSFER
Definition: Player.cpp:99
@ CHARACTER_FLAG_RENAME
Definition: Player.cpp:111
@ CHARACTER_FLAG_UNK29
Definition: Player.cpp:125
@ CHARACTER_FLAG_UNK17
Definition: Player.cpp:113
@ CHARACTER_FLAG_UNK28
Definition: Player.cpp:124
@ CHARACTER_FLAG_UNK7
Definition: Player.cpp:103
@ CHARACTER_FLAG_NONE
Definition: Player.cpp:96
@ CHARACTER_FLAG_UNK13
Definition: Player.cpp:109
@ CHARACTER_FLAG_UNK6
Definition: Player.cpp:102
@ CHARACTER_FLAG_UNK22
Definition: Player.cpp:118
@ CHARACTER_FLAG_UNK32
Definition: Player.cpp:128

Variable Documentation

◆ copseReclaimDelay

uint32 copseReclaimDelay[MAX_DEATH_COUNT] = { 30, 60, 120 }
static

◆ runeSlotTypes

RuneType runeSlotTypes[MAX_RUNES]
static
Initial value:
=
{
}
@ RUNE_UNHOLY
Definition: Player.h:410
@ RUNE_FROST
Definition: Player.h:411
@ RUNE_BLOOD
Definition: Player.h:409

Referenced by Player::InitRunes().