TrinityCore
|
#include "Player.h"
#include "AreaTrigger.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 "Log.h"
#include "Loot.h"
#include "LootItemStorage.h"
#include "LootMgr.h"
#include "LootPackets.h"
#include "Mail.h"
#include "MailPackets.h"
#include "MapManager.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 "QueryCallback.h"
#include "QueryHolder.h"
#include "QuestDef.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 "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 <G3D/g3dmath.h>
#include <sstream>
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 |
#define | REMOVE_VIOLATING_FLAGS(check, maskToRemove) |
Enumerations | |
enum | PlayerSpells { SPELL_EXPERIENCE_ELIMINATED = 206662 , SPELL_APPRENTICE_RIDING = 33389 , SPELL_JOURNEYMAN_RIDING = 33391 } |
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 } |
uint64 const | MAX_MONEY_AMOUNT = 99999999999ULL |
static constexpr Milliseconds | SPELL_QUEUE_TIME_WINDOW = 400ms |
#define DEATH_EXPIRE_STEP (5*MINUTE) |
Definition at line 146 of file Player.cpp.
#define MAX_DEATH_COUNT 3 |
Definition at line 147 of file Player.cpp.
#define REMOVE_VIOLATING_FLAGS | ( | check, | |
maskToRemove | |||
) |
#define ZONE_UPDATE_INTERVAL (1*IN_MILLISECONDS) |
Definition at line 143 of file Player.cpp.
enum PlayerSpells |
Enumerator | |
---|---|
SPELL_EXPERIENCE_ELIMINATED | |
SPELL_APPRENTICE_RIDING | |
SPELL_JOURNEYMAN_RIDING |
Definition at line 149 of file Player.cpp.
|
inline |
Definition at line 23800 of file Player.cpp.
|
inline |
Definition at line 23803 of file Player.cpp.
|
inline |
Definition at line 23834 of file Player.cpp.
|
inline |
Definition at line 23820 of file Player.cpp.
void DeleteSpellFromAllPlayers | ( | uint32 | spellId | ) |
Definition at line 2681 of file Player.cpp.
|
static |
|
inline |
void SavePlayerCustomizations | ( | CharacterDatabaseTransaction | trans, |
ObjectGuid::LowType | guid, | ||
Trinity::IteratorPair< iterator > | customizations | ||
) |
Definition at line 20376 of file Player.cpp.
|
static |
Definition at line 156 of file Player.cpp.
uint64 const MAX_MONEY_AMOUNT = 99999999999ULL |
Definition at line 158 of file Player.cpp.
|
staticconstexpr |
Definition at line 30253 of file Player.cpp.