![]() |
TrinityCore
|
#include "Player.h"#include "AreaTrigger.h"#include "Account.h"#include "AccountMgr.h"#include "AchievementMgr.h"#include "ArenaTeam.h"#include "ArenaTeamMgr.h"#include "AzeriteEmpoweredItem.h"#include "AzeriteItem.h"#include "Bag.h"#include "Battlefield.h"#include "BattlefieldMgr.h"#include "Battleground.h"#include "BattlegroundMgr.h"#include "BattlegroundPackets.h"#include "BattlegroundScore.h"#include "BattlePetMgr.h"#include "CellImpl.h"#include "Channel.h"#include "ChannelMgr.h"#include "CharacterCache.h"#include "CharacterDatabaseCleaner.h"#include "CharacterTemplateDataStore.h"#include "CharacterPackets.h"#include "CharmInfo.h"#include "Chat.h"#include "ChatPackets.h"#include "ChatTextBuilder.h"#include "CinematicMgr.h"#include "ClubUtils.h"#include "CombatLogPackets.h"#include "CombatPackets.h"#include "Common.h"#include "ConditionMgr.h"#include "Containers.h"#include "CreatureAI.h"#include "DB2Stores.h"#include "DatabaseEnv.h"#include "DisableMgr.h"#include "DuelPackets.h"#include "EquipmentSetPackets.h"#include "Formulas.h"#include "GameEventMgr.h"#include "GameEventSender.h"#include "GameObjectAI.h"#include "Garrison.h"#include "GarrisonMgr.h"#include "GitRevision.h"#include "GossipDef.h"#include "GridNotifiers.h"#include "GridNotifiersImpl.h"#include "Group.h"#include "GroupMgr.h"#include "GameTables.h"#include "GameTime.h"#include "Guild.h"#include "GuildMgr.h"#include "InstanceLockMgr.h"#include "InstancePackets.h"#include "InstanceScript.h"#include "ItemPackets.h"#include "Language.h"#include "LanguageMgr.h"#include "LFGMgr.h"#include "ListUtils.h"#include "Log.h"#include "Loot.h"#include "LootItemStorage.h"#include "LootMgr.h"#include "LootPackets.h"#include "Mail.h"#include "MailPackets.h"#include "MapManager.h"#include "MapUtils.h"#include "MiscPackets.h"#include "MotionMaster.h"#include "MovementPackets.h"#include "ObjectAccessor.h"#include "ObjectMgr.h"#include "Opcodes.h"#include "OutdoorPvP.h"#include "OutdoorPvPMgr.h"#include "PartyPackets.h"#include "Pet.h"#include "PetPackets.h"#include "PoolMgr.h"#include "PetitionMgr.h"#include "PhasingHandler.h"#include "PlayerChoice.h"#include "QueryCallback.h"#include "QueryHolder.h"#include "QueryResultStructured.h"#include "QuestDef.h"#include "QuestMgr.h"#include "QuestObjectiveCriteriaMgr.h"#include "QuestPackets.h"#include "RealmList.h"#include "ReputationMgr.h"#include "RestMgr.h"#include "Scenario.h"#include "SkillDiscovery.h"#include "SocialMgr.h"#include "Spell.h"#include "SpellAuraEffects.h"#include "SpellAuras.h"#include "SpellCastRequest.h"#include "SpellHistory.h"#include "SpellMgr.h"#include "SpellPackets.h"#include "StringConvert.h"#include "TalentPackets.h"#include "TerrainMgr.h"#include "ToyPackets.h"#include "TradeData.h"#include "TraitMgr.h"#include "TraitPacketsCommon.h"#include "TransmogMgr.h"#include "TransmogrificationPackets.h"#include "Transport.h"#include "UpdateData.h"#include "Util.h"#include "Vehicle.h"#include "VehiclePackets.h"#include "Vignette.h"#include "VignettePackets.h"#include "World.h"#include "WorldPacket.h"#include "WorldSession.h"#include "WorldStateMgr.h"#include "WorldStatePackets.h"#include <boost/dynamic_bitset.hpp>#include <G3D/g3dmath.h>#include <sstream>
Include dependency graph for Player.cpp:Go to the source code of this file.
Macros | |
| #define | DEATH_EXPIRE_STEP (5*MINUTE) |
| #define | MAX_DEATH_COUNT 3 |
Enumerations | |
| enum | PlayerSpells { SPELL_EXPERIENCE_ELIMINATED = 206662 } |
Functions | |
| void | DeleteSpellFromAllPlayers (uint32 spellId) |
| float | GetGameTableColumnForCombatRating (GtCombatRatingsEntry const *row, uint32 rating) |
| int | SkillGainChance (uint32 SkillValue, uint32 GrayLevel, uint32 GreenLevel, uint32 YellowLevel) |
| uint8 | GetFishingStepsNeededToLevelUp (uint32 SkillValue) |
| template<typename iterator > | |
| void | SavePlayerCustomizations (CharacterDatabaseTransaction trans, ObjectGuid::LowType guid, Trinity::IteratorPair< iterator > customizations) |
| template<class T > | |
| void | BeforeVisibilityDestroy (T *, Player *) |
| template<> | |
| void | BeforeVisibilityDestroy< Creature > (Creature *t, Player *p) |
| template<> | |
| void | BeforeVisibilityDestroy< Player > (Player *t, Player *p) |
| template<> | |
| void | BeforeVisibilityDestroy< GameObject > (GameObject *t, Player *p) |
| template<typename T > | |
| static bool | ForEachEquipmentSlot (InventoryType inventoryType, bool canDualWield, bool canTitanGrip, T callback) |
Variables | |
| static uint32 | copseReclaimDelay [MAX_DEATH_COUNT] = { 30, 60, 120 } |
| static constexpr Milliseconds | SPELL_QUEUE_TIME_WINDOW = 400ms |
| #define DEATH_EXPIRE_STEP (5*MINUTE) |
Definition at line 153 of file Player.cpp.
| #define MAX_DEATH_COUNT 3 |
Definition at line 154 of file Player.cpp.
| enum PlayerSpells |
| Enumerator | |
|---|---|
| SPELL_EXPERIENCE_ELIMINATED | |
Definition at line 156 of file Player.cpp.
|
inline |
Definition at line 24550 of file Player.cpp.
|
inline |
Definition at line 24553 of file Player.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 24584 of file Player.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 24570 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 2678 of file Player.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
|
inline |
| void SavePlayerCustomizations | ( | CharacterDatabaseTransaction | trans, |
| ObjectGuid::LowType | guid, | ||
| Trinity::IteratorPair< iterator > | customizations | ||
| ) |
Definition at line 20855 of file Player.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 161 of file Player.cpp.
|
staticconstexpr |
Definition at line 31602 of file Player.cpp.