|
Project SkyFire Core
SkyFire 5.4.8 server core API documentation
|
#include "AccountMgr.h"#include "AchievementMgr.h"#include "ArenaTeam.h"#include "ArenaTeamMgr.h"#include "Battlefield.h"#include "BattlefieldMgr.h"#include "BattlefieldWG.h"#include "Battleground.h"#include "BattlegroundMgr.h"#include "BattlePetMgr.h"#include "CellImpl.h"#include "Channel.h"#include "ChannelMgr.h"#include "CharacterDatabaseCleaner.h"#include "Chat.h"#include "Common.h"#include "ConditionMgr.h"#include "CreatureAI.h"#include "DatabaseEnv.h"#include "Player.h"#include "DB2Stores.h"#include "DisableMgr.h"#include "Formulas.h"#include "GameEventMgr.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 "LFGMgr.h"#include "Language.h"#include "Log.h"#include "MapInstanced.h"#include "MapManager.h"#include "ObjectAccessor.h"#include "ObjectMgr.h"#include "Opcodes.h"#include "Platform/TimeUtils.h"#include "OutdoorPvP.h"#include "OutdoorPvPMgr.h"#include "Pet.h"#include "PetTransportController.h"#include "PetTransportSupport.h"#include "QuestDef.h"#include "ReputationMgr.h"#include "PlayerPackets.h"#include "PlayerRestState.h"#include "SkillDiscovery.h"#include "SocialMgr.h"#include "Spell.h"#include "SpellAuraEffects.h"#include "SpellAuras.h"#include "SpellBookPackets.h"#include "SpellMgr.h"#include "Transport.h"#include "UpdateData.h"#include "UpdateFieldFlags.h"#include "UpdateMask.h"#include "Util.h"#include "Vehicle.h"#include "Weather.h"#include "WeatherMgr.h"#include "World.h"#include "WorldPacket.h"#include "WorldSession.h"#include "WorldStateBuilder.h"#include "MovementStructures.h"#include "Config.h"Go to the source code of this file.
Macros | |
| #define | DEATH_EXPIRE_STEP (5*MINUTE) |
| #define | MAX_DEATH_COUNT 3 |
| #define | RelocateToHomebind() |
| #define | REMOVE_VIOLATING_FLAGS(check, maskToRemove) |
| #define | ZONE_UPDATE_INTERVAL (1*IN_MILLISECONDS) |
Functions | |
| template<class T> | |
| void | BeforeVisibilityDestroy (T *, Player *) |
| template<> | |
| void | BeforeVisibilityDestroy< Creature > (Creature *t, Player *p) |
| void | DeleteSpellFromAllPlayers (uint32 spellId) |
| int | SkillGainChance (uint32 SkillValue, uint32 GrayLevel, uint32 GreenLevel, uint32 YellowLevel) |
| template<> | |
| void | UpdateVisibilityOf_helper (std::set< uint64 > &s64, Creature *target, std::set< Unit * > &v) |
| template<> | |
| void | UpdateVisibilityOf_helper (std::set< uint64 > &s64, GameObject *target, std::set< Unit * > &) |
| template<> | |
| void | UpdateVisibilityOf_helper (std::set< uint64 > &s64, Player *target, std::set< Unit * > &v) |
| template<class T> | |
| void | UpdateVisibilityOf_helper (std::set< uint64 > &s64, T *target, std::set< Unit * > &) |
Variables | |
| static uint32 | copseReclaimDelay [MAX_DEATH_COUNT] = { 30, 60, 120 } |
| static RuneType | runeSlotTypes [MAX_RUNES] |
| #define DEATH_EXPIRE_STEP (5*MINUTE) |
Definition at line 128 of file Player.cpp.
Referenced by Player::GetCorpseReclaimDelay(), Player::LoadFromDB(), Player::SendCorpseReclaimDelay(), and Player::UpdateCorpseReclaimDelay().
| #define MAX_DEATH_COUNT 3 |
Definition at line 129 of file Player.cpp.
Referenced by Player::LoadFromDB(), Player::SendCorpseReclaimDelay(), and Player::UpdateCorpseReclaimDelay().
| #define RelocateToHomebind | ( | ) |
Referenced by Player::LoadFromDB().
| #define REMOVE_VIOLATING_FLAGS | ( | check, | |
| maskToRemove ) |
Referenced by Player::ReadMovementInfo().
| #define ZONE_UPDATE_INTERVAL (1*IN_MILLISECONDS) |
Definition at line 80 of file Player.cpp.
Referenced by Player::Update(), and Player::UpdateZone().
| Enumerator | |
|---|---|
| CHAR_CUSTOMIZE_FLAG_NONE | |
| CHAR_CUSTOMIZE_FLAG_CUSTOMIZE | |
| CHAR_CUSTOMIZE_FLAG_FACTION | |
| CHAR_CUSTOMIZE_FLAG_RACE | |
Definition at line 119 of file Player.cpp.
| enum CharacterFlags |
Definition at line 82 of file Player.cpp.
|
inline |
Definition at line 18161 of file Player.cpp.
Referenced by Player::UpdateVisibilityOf().
|
inline |
Definition at line 18164 of file Player.cpp.
References Object::GetGUID(), Unit::GetPetGUID(), Unit::IsPet(), PET_SAVE_NOT_IN_SLOT, and Object::ToCreature().
Referenced by Player::UpdateVisibilityOf().
| void DeleteSpellFromAllPlayers | ( | uint32 | spellId | ) |
Definition at line 3567 of file Player.cpp.
References CHAR_DEL_INVALID_SPELL_SPELLS, CHAR_DEL_INVALID_SPELL_TALENTS, CharacterDatabase, and PreparedStatement::setUInt32().
Referenced by Player::addSpell(), and Player::AddTalent().
|
inline |
Definition at line 6151 of file Player.cpp.
References CONFIG_SKILL_CHANCE_GREEN, CONFIG_SKILL_CHANCE_GREY, CONFIG_SKILL_CHANCE_ORANGE, CONFIG_SKILL_CHANCE_YELLOW, and sWorld.
Referenced by Player::UpdateCraftSkill(), and Player::UpdateGatherSkill().
|
inline |
Definition at line 18147 of file Player.cpp.
References Object::GetGUID().
|
inline |
Definition at line 18139 of file Player.cpp.
References GAMEOBJECT_TYPE_TRANSPORT, GameObject::GetGOInfo(), Object::GetGUID(), and GameObjectTemplate::type.
|
inline |
Definition at line 18154 of file Player.cpp.
References Object::GetGUID().
|
inline |
Definition at line 18133 of file Player.cpp.
Referenced by Player::UpdateVisibilityOf().
|
static |
Definition at line 131 of file Player.cpp.
Referenced by Player::GetCorpseReclaimDelay(), and Player::SendCorpseReclaimDelay().
Definition at line 20612 of file Player.cpp.
Referenced by Player::InitRunes().