![]() |
TrinityCore
|
#include "Player.h"#include "AccountMgr.h"#include "AchievementMgr.h"#include "ArenaTeam.h"#include "ArenaTeamMgr.h"#include "Bag.h"#include "Battlefield.h"#include "BattlefieldMgr.h"#include "Battleground.h"#include "BattlegroundMgr.h"#include "BattlegroundPackets.h"#include "BattlegroundScore.h"#include "CellImpl.h"#include "Channel.h"#include "ChannelMgr.h"#include "CharacterCache.h"#include "CharacterDatabaseCleaner.h"#include "CharacterPackets.h"#include "Chat.h"#include "CinematicMgr.h"#include "CombatLogPackets.h"#include "CombatPackets.h"#include "Common.h"#include "ConditionMgr.h"#include "Containers.h"#include "CreatureAI.h"#include "DatabaseEnv.h"#include "DisableMgr.h"#include "Formulas.h"#include "GameClient.h"#include "GameEventMgr.h"#include "GameObjectAI.h"#include "GameTime.h"#include "GitRevision.h"#include "GossipDef.h"#include "GridNotifiers.h"#include "GridNotifiersImpl.h"#include "Group.h"#include "GroupMgr.h"#include "Guild.h"#include "GuildMgr.h"#include "InstanceSaveMgr.h"#include "InstanceScript.h"#include "Item.h"#include "KillRewarder.h"#include "Language.h"#include "LFGMgr.h"#include "Log.h"#include "LootItemStorage.h"#include "LootMgr.h"#include "Mail.h"#include "MailPackets.h"#include "MapManager.h"#include "MiscPackets.h"#include "MotionMaster.h"#include "ObjectAccessor.h"#include "ObjectMgr.h"#include "Opcodes.h"#include "OutdoorPvP.h"#include "OutdoorPvPMgr.h"#include "Pet.h"#include "PetitionMgr.h"#include "PoolMgr.h"#include "QueryHolder.h"#include "QuestDef.h"#include "QuestPools.h"#include "Realm.h"#include "ReputationMgr.h"#include "SkillDiscovery.h"#include "SocialMgr.h"#include "Spell.h"#include "SpellAuraEffects.h"#include "SpellAuras.h"#include "SpellHistory.h"#include "SpellMgr.h"#include "SpellPackets.h"#include "StringConvert.h"#include "TalentPackets.h"#include "TicketMgr.h"#include "TradeData.h"#include "Trainer.h"#include "Transport.h"#include "UpdateData.h"#include "UpdateFieldFlags.h"#include "UpdateMask.h"#include "Util.h"#include "Weather.h"#include "WeatherMgr.h"#include "World.h"#include "WorldPacket.h"#include "WorldSession.h"#include "WorldStatePackets.h"
Include dependency graph for Player.cpp:Go to the source code of this file.
Macros | |
| #define | ZONE_UPDATE_INTERVAL (1*IN_MILLISECONDS) |
| #define | DEATH_EXPIRE_STEP (5*MINUTE) |
| #define | MAX_DEATH_COUNT 3 |
Functions | |
| void | DeleteSpellFromAllPlayers (uint32 spellId) |
| static bool | IsUnlearnSpellsPacketNeededForSpell (uint32 spellId) |
| int | SkillGainChance (uint32 SkillValue, uint32 GrayLevel, uint32 GreenLevel, uint32 YellowLevel) |
| uint8 | GetFishingStepsNeededToLevelUp (uint32 SkillValue) |
| template<class T > | |
| void | UpdateVisibilityOf_helper (GuidUnorderedSet &s64, T *target, std::set< Unit * > &) |
| template<> | |
| void | UpdateVisibilityOf_helper (GuidUnorderedSet &s64, GameObject *target, std::set< Unit * > &) |
| template<> | |
| void | UpdateVisibilityOf_helper (GuidUnorderedSet &s64, Creature *target, std::set< Unit * > &v) |
| template<> | |
| void | UpdateVisibilityOf_helper (GuidUnorderedSet &s64, Player *target, std::set< Unit * > &v) |
| template<class T > | |
| void | BeforeVisibilityDestroy (T *, Player *) |
| template<> | |
| void | BeforeVisibilityDestroy< Creature > (Creature *t, Player *p) |
Variables | |
| static uint32 | corpseReclaimDelay [MAX_DEATH_COUNT] = { 30, 60, 120 } |
| uint32 const | MAX_MONEY_AMOUNT = static_cast<uint32>(std::numeric_limits<int32>::max()) |
| static RuneType | runeSlotTypes [MAX_RUNES] |
| #define DEATH_EXPIRE_STEP (5*MINUTE) |
Definition at line 114 of file Player.cpp.
| #define MAX_DEATH_COUNT 3 |
Definition at line 115 of file Player.cpp.
| #define ZONE_UPDATE_INTERVAL (1*IN_MILLISECONDS) |
Definition at line 111 of file Player.cpp.
|
inline |
Definition at line 22163 of file Player.cpp.
|
inline |
Definition at line 22166 of file Player.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| void DeleteSpellFromAllPlayers | ( | uint32 | spellId | ) |
Definition at line 2854 of file Player.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 2926 of file Player.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
|
inline |
|
inline |
|
inline |
|
static |
Definition at line 117 of file Player.cpp.
Definition at line 119 of file Player.cpp.
Definition at line 24485 of file Player.cpp.