TrinityCore
Player Class Referencefinal

#include <Player.h>

+ Inheritance diagram for Player:

Classes

struct  BgBattlegroundQueueID_Rec
 
struct  ChatFloodThrottle
 
struct  ValuesUpdateForPlayerWithMaskSender
 

Public Types

typedef std::unordered_map< ObjectGuid::LowType, Item * > ItemMap
 
typedef std::list< Channel * > JoinedChannelsList
 
typedef std::set< uint32DFQuestsDoneList
 
- Public Types inherited from Unit
typedef std::set< Unit * > AttackerSet
 
typedef std::set< Unit * > ControlList
 
typedef std::vector< Unit * > UnitVector
 
typedef std::multimap< uint32, Aura * > AuraMap
 
typedef std::pair< AuraMap::const_iterator, AuraMap::const_iterator > AuraMapBounds
 
typedef std::pair< AuraMap::iterator, AuraMap::iterator > AuraMapBoundsNonConst
 
typedef std::multimap< uint32, AuraApplication * > AuraApplicationMap
 
typedef std::pair< AuraApplicationMap::const_iterator, AuraApplicationMap::const_iterator > AuraApplicationMapBounds
 
typedef std::pair< AuraApplicationMap::iterator, AuraApplicationMap::iterator > AuraApplicationMapBoundsNonConst
 
typedef std::multimap< AuraStateType, AuraApplication * > AuraStateAurasMap
 
typedef std::pair< AuraStateAurasMap::const_iterator, AuraStateAurasMap::const_iterator > AuraStateAurasMapBounds
 
typedef std::forward_list< AuraEffect * > AuraEffectList
 
typedef std::forward_list< Aura * > AuraList
 
typedef std::forward_list< AuraApplication * > AuraApplicationList
 
typedef std::array< DiminishingReturn, DIMINISHING_MAXDiminishing
 
typedef std::vector< std::pair< uint32, AuraApplication * > > AuraApplicationProcContainer
 
typedef std::set< AuraApplication *, VisibleAuraSlotCompareVisibleAuraContainer
 

Public Member Functions

 Player (WorldSession *session)
 
 ~Player ()
 
PlayerAIAI () const
 
void CleanupsBeforeDelete (bool finalCleanup=true) override
 
void AddToWorld () override
 
void RemoveFromWorld () override
 
void SetObjectScale (float scale) override
 
bool TeleportTo (uint32 mapid, float x, float y, float z, float orientation, TeleportToOptions options=TELE_TO_NONE, Optional< uint32 > instanceId={})
 
bool TeleportTo (WorldLocation const &loc, TeleportToOptions options=TELE_TO_NONE, Optional< uint32 > instanceId={})
 
bool TeleportToBGEntryPoint ()
 
bool HasSummonPending () const
 
void SendSummonRequestFrom (Unit *summoner)
 
void SummonIfPossible (bool agree)
 
bool Create (ObjectGuid::LowType guidlow, WorldPackets::Character::CharacterCreateInfo const *createInfo)
 
void Update (uint32 time) override
 
bool IsImmunedToSpellEffect (SpellInfo const *spellInfo, SpellEffectInfo const &spellEffectInfo, WorldObject const *caster, bool requireImmunityPurgesEffectAttribute=false) const override
 
bool IsInAreaTriggerRadius (AreaTriggerEntry const *trigger) const
 
void SendInitialPacketsBeforeAddToMap ()
 
void SendInitialPacketsAfterAddToMap ()
 
void SendSupercededSpell (uint32 oldSpell, uint32 newSpell) const
 
void SendTransferAborted (uint32 mapid, TransferAbortReason reason, uint8 arg=0, int32 mapDifficultyXConditionID=0) const
 
bool CanInteractWithQuestGiver (Object *questGiver) const
 
CreatureGetNPCIfCanInteractWith (ObjectGuid const &guid, NPCFlags npcFlags, NPCFlags2 npcFlags2) const
 
GameObjectGetGameObjectIfCanInteractWith (ObjectGuid const &guid) const
 
GameObjectGetGameObjectIfCanInteractWith (ObjectGuid const &guid, GameobjectTypes type) const
 
void ToggleAFK ()
 
void ToggleDND ()
 
bool isAFK () const
 
bool isDND () const
 
uint16 GetChatFlags () const
 
int64 GetBarberShopCost (Trinity::IteratorPair< UF::ChrCustomizationChoice const * > newCustomizations) const
 
PlayerSocialGetSocial () const
 
void RemoveSocial ()
 
void InitTaxiNodesForLevel ()
 
bool ActivateTaxiPathTo (std::vector< uint32 > const &nodes, Creature *npc=nullptr, uint32 spellid=0, uint32 preferredMountDisplay=0)
 
bool ActivateTaxiPathTo (uint32 taxi_path_id, uint32 spellid=0)
 
void FinishTaxiFlight ()
 
void CleanupAfterTaxiFlight ()
 
void ContinueTaxiFlight () const
 
bool IsDeveloper () const
 
void SetDeveloper (bool on)
 
bool isAcceptWhispers () const
 
void SetAcceptWhispers (bool on)
 
bool IsGameMaster () const
 
bool IsGameMasterAcceptingWhispers () const
 
bool CanBeGameMaster () const
 
void SetGameMaster (bool on)
 
bool isGMChat () const
 
void SetGMChat (bool on)
 
bool isTaxiCheater () const
 
void SetTaxiCheater (bool on)
 
bool isGMVisible () const
 
void SetGMVisible (bool on)
 
void SetPvPDeath (bool on)
 
bool HasRaceChanged () const
 
void SetHasRaceChanged ()
 
bool HasBeenGrantedLevelsFromRaF () const
 
void SetBeenGrantedLevelsFromRaF ()
 
bool HasLevelBoosted () const
 
void SetHasLevelBoosted ()
 
uint32 GetXP () const
 
uint32 GetXPForNextLevel () const
 
void SetXP (uint32 xp)
 
void GiveXP (uint32 xp, Unit *victim, float group_rate=1.0f)
 
void GiveLevel (uint8 level)
 
bool IsMaxLevel () const
 
void InitStatsForLevel (bool reapplyMods=false)
 
bool GetCommandStatus (uint32 command) const
 
void SetCommandStatusOn (uint32 command)
 
void SetCommandStatusOff (uint32 command)
 
uint32 GetTotalPlayedTime () const
 
uint32 GetLevelPlayedTime () const
 
Gender GetNativeGender () const override
 
void SetNativeGender (Gender gender) override
 
void setDeathState (DeathState s) override
 
PetStableGetPetStable ()
 
PetStableGetOrInitPetStable ()
 
PetStable const * GetPetStable () const
 
void AddPetToUpdateFields (PetStable::PetInfo const &pet, PetSaveMode slot, PetStableFlags flags)
 
void SetPetSlot (uint32 petNumber, PetSaveMode dstPetSlot)
 
ObjectGuid GetStableMaster () const
 
void SetStableMaster (ObjectGuid stableMaster)
 
PetGetPet () const
 
PetSummonPet (uint32 entry, Optional< PetSaveMode > slot, float x, float y, float z, float ang, uint32 despwtime, bool *isNew=nullptr)
 
void RemovePet (Pet *pet, PetSaveMode mode, bool returnreagent=false)
 
void SendTameFailure (PetTameResult result)
 
void AddPetAura (PetAura const *petSpell)
 
void RemovePetAura (PetAura const *petSpell)
 
CreatureGetSummonedBattlePet () const
 
void SetBattlePetData (BattlePets::BattlePet const *pet=nullptr)
 
void Say (std::string_view text, Language language, WorldObject const *=nullptr) override
 Handles said message in regular chat based on declared language and in config pre-defined Range. More...
 
void Say (uint32 textId, WorldObject const *target=nullptr) override
 
void Yell (std::string_view text, Language language, WorldObject const *=nullptr) override
 Handles yelled message in regular chat based on declared language and in config pre-defined Range. More...
 
void Yell (uint32 textId, WorldObject const *target=nullptr) override
 
void TextEmote (std::string_view text, WorldObject const *=nullptr, bool=false) override
 Outputs an universal text which is supposed to be an action. More...
 
void TextEmote (uint32 textId, WorldObject const *target=nullptr, bool isBossEmote=false) override
 
void Whisper (std::string_view text, Language language, Player *receiver, bool=false) override
 Handles whispers from Addons and players based on sender, receiver's guid and language. More...
 
void Whisper (uint32 textId, Player *target, bool isBossWhisper=false) override
 
void WhisperAddon (std::string const &text, std::string const &prefix, bool isLogged, Player *receiver)
 
bool CanUnderstandLanguage (Language language) const
 
template<typename T >
bool ForEachItem (ItemSearchLocation location, T callback) const
 Iterate over each item in the player storage. More...
 
void UpdateAverageItemLevelTotal ()
 
void UpdateAverageItemLevelEquipped ()
 
uint8 FindEquipSlot (Item const *item, uint32 slot, bool swap) const
 
uint32 GetFreeInventorySlotCount (EnumFlag< ItemSearchLocation > location=ItemSearchLocation::Inventory) const
 
uint32 GetItemCount (uint32 item, bool inBankAlso=false, Item *skipItem=nullptr) const
 
uint32 GetItemCountWithLimitCategory (uint32 limitCategory, Item *skipItem=nullptr) const
 
ItemGetItemByGuid (ObjectGuid guid) const
 
ItemGetItemByEntry (uint32 entry, ItemSearchLocation where=ItemSearchLocation::Default) const
 
std::vector< Item * > GetItemListByEntry (uint32 entry, bool inBankAlso=false) const
 
ItemGetItemByPos (uint16 pos) const
 
ItemGetItemByPos (uint8 bag, uint8 slot) const
 
ItemGetUseableItemByPos (uint8 bag, uint8 slot) const
 
BagGetBagByPos (uint8 slot) const
 
std::vector< Item * > GetCraftingReagentItemsToDeposit ()
 
uint32 GetFreeInventorySpace () const
 
ItemGetWeaponForAttack (WeaponAttackType attackType, bool useable=false) const
 
ItemGetShield (bool useable=false) const
 
ItemGetChildItemByGuid (ObjectGuid guid) const
 
std::vector< Item * > & GetItemUpdateQueue ()
 
bool IsValidPos (uint16 pos, bool explicit_pos) const
 
bool IsValidPos (uint8 bag, uint8 slot, bool explicit_pos) const
 
uint8 GetInventorySlotCount () const
 
void SetInventorySlotCount (uint8 slots)
 
uint8 GetBankBagSlotCount () const
 
void SetBankBagSlotCount (uint8 count)
 
bool HasItemCount (uint32 item, uint32 count=1, bool inBankAlso=false) const
 
bool HasItemFitToSpellRequirements (SpellInfo const *spellInfo, Item const *ignoreItem=nullptr) const
 
bool CanNoReagentCast (SpellInfo const *spellInfo) const
 
void SetNoRegentCostMask (flag128 mask)
 
bool HasItemOrGemWithIdEquipped (uint32 item, uint32 count, uint8 except_slot=NULL_SLOT) const
 
bool HasItemWithLimitCategoryEquipped (uint32 limitCategory, uint32 count, uint8 except_slot=NULL_SLOT) const
 
bool HasGemWithLimitCategoryEquipped (uint32 limitCategory, uint32 count, uint8 except_slot=NULL_SLOT) const
 
InventoryResult CanTakeMoreSimilarItems (Item *pItem, uint32 *offendingItemId=nullptr) const
 
InventoryResult CanTakeMoreSimilarItems (uint32 entry, uint32 count, uint32 *offendingItemId=nullptr) const
 
InventoryResult CanStoreNewItem (uint8 bag, uint8 slot, ItemPosCountVec &dest, uint32 item, uint32 count, uint32 *no_space_count=nullptr) const
 
InventoryResult CanStoreItem (uint8 bag, uint8 slot, ItemPosCountVec &dest, Item *pItem, bool swap=false) const
 
InventoryResult CanStoreItems (Item **items, int count, uint32 *offendingItemId) const
 
InventoryResult CanEquipNewItem (uint8 slot, uint16 &dest, uint32 item, bool swap) const
 
InventoryResult CanEquipItem (uint8 slot, uint16 &dest, Item *pItem, bool swap, bool not_loading=true) const
 
InventoryResult CanEquipChildItem (Item *parentItem) const
 
InventoryResult CanEquipUniqueItem (Item *pItem, uint8 except_slot=NULL_SLOT, uint32 limit_count=1) const
 
InventoryResult CanEquipUniqueItem (ItemTemplate const *itemProto, uint8 except_slot=NULL_SLOT, uint32 limit_count=1) const
 
InventoryResult CanUnequipItems (uint32 item, uint32 count) const
 
InventoryResult CanUnequipItem (uint16 src, bool swap) const
 
InventoryResult CanBankItem (uint8 bag, uint8 slot, ItemPosCountVec &dest, Item *pItem, bool swap, bool not_loading=true, bool reagentBankOnly=false) const
 
InventoryResult CanUseItem (Item *pItem, bool not_loading=true) const
 
bool HasItemTotemCategory (uint32 TotemCategory) const
 
InventoryResult CanUseItem (ItemTemplate const *pItem, bool skipRequiredLevelCheck=false) const
 
InventoryResult CanRollNeedForItem (ItemTemplate const *item, Map const *map, bool restrictOnlyLfg) const
 
ItemStoreNewItem (ItemPosCountVec const &pos, uint32 itemId, bool update, ItemRandomBonusListId randomBonusListId=0, GuidSet const &allowedLooters=GuidSet(), ItemContext context=ItemContext::NONE, std::vector< int32 > const *bonusListIDs=nullptr, bool addToCollection=true)
 
ItemStoreItem (ItemPosCountVec const &pos, Item *pItem, bool update)
 
ItemEquipNewItem (uint16 pos, uint32 item, ItemContext context, bool update)
 
ItemEquipItem (uint16 pos, Item *pItem, bool update)
 
void AutoUnequipOffhandIfNeed (bool force=false)
 
void EquipChildItem (uint8 parentBag, uint8 parentSlot, Item *parentItem)
 
void AutoUnequipChildItem (Item *parentItem)
 
bool StoreNewItemInBestSlots (uint32 itemId, uint32 amount, ItemContext context)
 
void AutoStoreLoot (uint8 bag, uint8 slot, uint32 loot_id, LootStore const &store, ItemContext context=ItemContext::NONE, bool broadcast=false, bool createdByPlayer=false)
 
void AutoStoreLoot (uint32 loot_id, LootStore const &store, ItemContext context=ItemContext::NONE, bool broadcast=false, bool createdByPlayer=false)
 
void StoreLootItem (ObjectGuid lootWorldObjectGuid, uint8 lootSlot, Loot *loot, AELootResult *aeResult=nullptr)
 
InventoryResult CanTakeMoreSimilarItems (uint32 entry, uint32 count, Item *pItem, uint32 *no_space_count=nullptr, uint32 *offendingItemId=nullptr) const
 
InventoryResult CanStoreItem (uint8 bag, uint8 slot, ItemPosCountVec &dest, uint32 entry, uint32 count, Item *pItem=nullptr, bool swap=false, uint32 *no_space_count=nullptr) const
 
void AddRefundReference (ObjectGuid it)
 
void DeleteRefundReference (ObjectGuid it)
 
void SendCurrencies () const
 Send full data about all currencies to client. More...
 
void SendPvpRewards () const
 Send conquest currency points and their cap week/arena. More...
 
void SetCreateCurrency (uint32 id, uint32 amount)
 Initialize currency amount for custom initialization at create character. More...
 
void ModifyCurrency (uint32 id, int32 amount, CurrencyGainSource gainSource=CurrencyGainSource::Cheat, CurrencyDestroyReason destroyReason=CurrencyDestroyReason::Cheat)
 Modify currency amount. More...
 
void AddCurrency (uint32 id, uint32 amount, CurrencyGainSource gainSource=CurrencyGainSource::Cheat)
 
void RemoveCurrency (uint32 id, int32 amount, CurrencyDestroyReason destroyReason=CurrencyDestroyReason::Cheat)
 
void IncreaseCurrencyCap (uint32 id, uint32 amount)
 Increase currency cap. More...
 
void ResetCurrencyWeekCap ()
 Reset weekly quantity. More...
 
uint32 GetCurrencyQuantity (uint32 id) const
 
uint32 GetCurrencyWeeklyQuantity (uint32 id) const
 
uint32 GetCurrencyTrackedQuantity (uint32 id) const
 
uint32 GetCurrencyIncreasedCapQuantity (uint32 id) const
 
uint32 GetCurrencyMaxQuantity (CurrencyTypesEntry const *currency, bool onLoad=false, bool onUpdateVersion=false) const
 
uint32 GetCurrencyWeeklyCap (uint32 id) const
 
uint32 GetCurrencyWeeklyCap (CurrencyTypesEntry const *currency) const
 
bool HasCurrency (uint32 id, uint32 amount) const
 
void SetInvSlot (uint32 slot, ObjectGuid guid)
 
void ApplyEquipCooldown (Item *pItem)
 
void QuickEquipItem (uint16 pos, Item *pItem)
 
void VisualizeItem (uint8 slot, Item *pItem)
 
void SetVisibleItemSlot (uint8 slot, Item *pItem)
 
ItemBankItem (ItemPosCountVec const &dest, Item *pItem, bool update)
 
void RemoveItem (uint8 bag, uint8 slot, bool update)
 
void MoveItemFromInventory (uint8 bag, uint8 slot, bool update)
 
void MoveItemToInventory (ItemPosCountVec const &dest, Item *pItem, bool update, bool in_characterInventoryDB=false)
 
void RemoveItemDependentAurasAndCasts (Item *pItem)
 
void DestroyItem (uint8 bag, uint8 slot, bool update)
 
uint32 DestroyItemCount (uint32 item, uint32 count, bool update, bool unequip_check=false)
 
void DestroyItemCount (Item *item, uint32 &count, bool update)
 
void DestroyConjuredItems (bool update)
 
void DestroyZoneLimitedItem (bool update, uint32 new_zone)
 
void SplitItem (uint16 src, uint16 dst, uint32 count)
 
void SwapItem (uint16 src, uint16 dst)
 
void AddItemToBuyBackSlot (Item *pItem)
 
void SetBuybackPrice (uint32 slot, uint32 price)
 
void SetBuybackTimestamp (uint32 slot, time_t timestamp)
 
ItemGetItemFromBuyBackSlot (uint32 slot)
 
void RemoveItemFromBuyBackSlot (uint32 slot, bool del)
 
void SendEquipError (InventoryResult msg, Item const *item1=nullptr, Item const *item2=nullptr, uint32 itemId=0) const
 
void SendBuyError (BuyResult msg, Creature *creature, uint32 item, uint32 param) const
 
void SendSellError (SellResult msg, Creature *creature, ObjectGuid guid) const
 
void AddWeaponProficiency (uint32 newflag)
 
void AddArmorProficiency (uint32 newflag)
 
uint32 GetWeaponProficiency () const
 
uint32 GetArmorProficiency () const
 
bool IsUseEquipedWeapon (bool mainhand) const
 
bool IsTwoHandUsed () const
 
bool IsUsingTwoHandedWeaponInOneHand () const
 
void SendNewItem (Item *item, uint32 quantity, bool received, bool created, bool broadcast=false, uint32 dungeonEncounterId=0)
 
bool BuyItemFromVendorSlot (ObjectGuid vendorguid, uint32 vendorslot, uint32 item, uint8 count, uint8 bag, uint8 slot)
 
bool BuyCurrencyFromVendorSlot (ObjectGuid vendorGuid, uint32 vendorSlot, uint32 currency, uint32 count)
 
bool _StoreOrEquipNewItem (uint32 vendorslot, uint32 item, uint8 count, uint8 bag, uint8 slot, int64 price, ItemTemplate const *pProto, Creature *pVendor, VendorItem const *crItem, bool bStore)
 
float GetReputationPriceDiscount (Creature const *creature) const
 
float GetReputationPriceDiscount (FactionTemplateEntry const *factionTemplate) const
 
PlayerGetTrader () const
 
TradeDataGetTradeData () const
 
void TradeCancel (bool sendback)
 
CinematicMgrGetCinematicMgr () const
 
void UpdateEnchantTime (uint32 time)
 
void UpdateSoulboundTradeItems ()
 
void AddTradeableItem (Item *item)
 
void RemoveTradeableItem (Item *item)
 
void UpdateItemDuration (uint32 time, bool realtimeonly=false)
 
void AddEnchantmentDurations (Item *item)
 
void RemoveEnchantmentDurations (Item *item)
 
void RemoveEnchantmentDurationsReferences (Item *item)
 
void RemoveArenaEnchantments (EnchantmentSlot slot)
 
void AddEnchantmentDuration (Item *item, EnchantmentSlot slot, uint32 duration)
 
void ApplyEnchantment (Item *item, EnchantmentSlot slot, bool apply, bool apply_dur=true, bool ignore_condition=false)
 
void ApplyEnchantment (Item *item, bool apply)
 
void UpdateSkillEnchantments (uint16 skill_id, uint16 curr_value, uint16 new_value)
 
void SendEnchantmentDurations ()
 
void AddItemDurations (Item *item)
 
void RemoveItemDurations (Item *item)
 
void SendItemDurations ()
 
void LoadCorpse (PreparedQueryResult result)
 
bool AddItem (uint32 itemId, uint32 count)
 
void PrepareGossipMenu (WorldObject *source, uint32 menuId, bool showQuests=false)
 
void SendPreparedGossip (WorldObject *source)
 
void OnGossipSelect (WorldObject *source, int32 gossipOptionId, uint32 menuId)
 
uint32 GetGossipTextId (uint32 menuId, WorldObject *source)
 
uint32 GetGossipTextId (WorldObject *source)
 
uint32 GetGossipMenuForSource (WorldObject const *source) const
 
int32 GetQuestMinLevel (Quest const *quest) const
 
int32 GetQuestMinLevel (uint32 contentTuningId) const
 
int32 GetQuestLevel (Quest const *quest) const
 
int32 GetQuestLevel (uint32 contentTuningId) const
 
void PrepareQuestMenu (ObjectGuid guid)
 
void SendPreparedQuest (WorldObject *source)
 
bool IsActiveQuest (uint32 quest_id) const
 
Quest const * GetNextQuest (Object const *questGiver, Quest const *quest) const
 
bool CanSeeStartQuest (Quest const *quest) const
 
bool CanTakeQuest (Quest const *quest, bool msg) const
 
bool CanAddQuest (Quest const *quest, bool msg) const
 
bool CanCompleteQuest (uint32 quest_id, uint32 ignoredQuestObjectiveId=0)
 
bool CanCompleteRepeatableQuest (Quest const *quest)
 
bool CanRewardQuest (Quest const *quest, bool msg) const
 
bool CanRewardQuest (Quest const *quest, LootItemType rewardType, uint32 rewardId, bool msg) const
 
void AddQuestAndCheckCompletion (Quest const *quest, Object *questGiver)
 
void AddQuest (Quest const *quest, Object *questGiver)
 
void AbandonQuest (uint32 quest_id)
 
void CompleteQuest (uint32 quest_id)
 
void IncompleteQuest (uint32 quest_id)
 
uint32 GetQuestMoneyReward (Quest const *quest) const
 
uint32 GetQuestXPReward (Quest const *quest)
 
bool CanSelectQuestPackageItem (QuestPackageItemEntry const *questPackageItem) const
 
void RewardQuestPackage (uint32 questPackageId, ItemContext context, uint32 onlyItemId=0)
 
void RewardQuest (Quest const *quest, LootItemType rewardType, uint32 rewardId, Object *questGiver, bool announce=true)
 
void SetRewardedQuest (uint32 quest_id)
 
void FailQuest (uint32 quest_id)
 
void FailQuestsWithFlag (QuestFlags flag)
 
bool SatisfyQuestSkill (Quest const *qInfo, bool msg) const
 
bool SatisfyQuestLevel (Quest const *qInfo, bool msg) const
 
bool SatisfyQuestMinLevel (Quest const *qInfo, bool msg) const
 
bool SatisfyQuestMaxLevel (Quest const *qInfo, bool msg) const
 
bool SatisfyQuestLog (bool msg) const
 
bool SatisfyQuestDependentQuests (Quest const *qInfo, bool msg) const
 
bool SatisfyQuestPreviousQuest (Quest const *qInfo, bool msg) const
 
bool SatisfyQuestDependentPreviousQuests (Quest const *qInfo, bool msg) const
 
bool SatisfyQuestBreadcrumbQuest (Quest const *qInfo, bool msg) const
 
bool SatisfyQuestDependentBreadcrumbQuests (Quest const *qInfo, bool msg) const
 
bool SatisfyQuestClass (Quest const *qInfo, bool msg) const
 
bool SatisfyQuestRace (Quest const *qInfo, bool msg) const
 
bool SatisfyQuestReputation (Quest const *qInfo, bool msg) const
 
bool SatisfyQuestStatus (Quest const *qInfo, bool msg) const
 
bool SatisfyQuestConditions (Quest const *qInfo, bool msg) const
 
bool SatisfyQuestTimed (Quest const *qInfo, bool msg) const
 
bool SatisfyQuestExclusiveGroup (Quest const *qInfo, bool msg) const
 
bool SatisfyQuestDay (Quest const *qInfo, bool msg) const
 
bool SatisfyQuestWeek (Quest const *qInfo, bool msg) const
 
bool SatisfyQuestMonth (Quest const *qInfo, bool msg) const
 
bool SatisfyQuestSeasonal (Quest const *qInfo, bool msg) const
 
bool SatisfyQuestExpansion (Quest const *qInfo, bool msg) const
 
bool GiveQuestSourceItem (Quest const *quest)
 
bool TakeQuestSourceItem (uint32 questId, bool msg)
 
bool GetQuestRewardStatus (uint32 quest_id) const
 
QuestStatus GetQuestStatus (uint32 quest_id) const
 
void SetQuestStatus (uint32 questId, QuestStatus status, bool update=true)
 
void RemoveActiveQuest (uint32 questId, bool update=true)
 
void RemoveRewardedQuest (uint32 questId, bool update=true)
 
void SendQuestUpdate (uint32 questId, bool updateInteractions=true, bool updateGameObjectQuestGiverStatus=false)
 
QuestGiverStatus GetQuestDialogStatus (Object const *questGiver) const
 
void SkipQuests (std::vector< uint32 > const &questIds)
 
void DespawnPersonalSummonsForQuest (uint32 questId)
 
void SetDailyQuestStatus (uint32 quest_id)
 
bool IsDailyQuestDone (uint32 quest_id) const
 
void SetWeeklyQuestStatus (uint32 quest_id)
 
void SetMonthlyQuestStatus (uint32 quest_id)
 
void SetSeasonalQuestStatus (uint32 quest_id)
 
void DailyReset ()
 
void ResetWeeklyQuestStatus ()
 
void ResetMonthlyQuestStatus ()
 
void ResetSeasonalQuestStatus (uint16 event_id, time_t eventStartTime)
 
uint16 FindQuestSlot (uint32 quest_id) const
 
uint32 GetQuestSlotQuestId (uint16 slot) const
 
uint32 GetQuestSlotState (uint16 slot) const
 
uint16 GetQuestSlotCounter (uint16 slot, uint8 counter) const
 
int64 GetQuestSlotEndTime (uint16 slot) const
 
bool GetQuestSlotObjectiveFlag (uint16 slot, int8 objectiveIndex) const
 
int32 GetQuestSlotObjectiveData (uint16 slot, QuestObjective const &objective) const
 
int32 GetQuestObjectiveData (uint32 questId, uint32 objectiveId) const
 
void SetQuestSlot (uint16 slot, uint32 quest_id)
 
void SetQuestSlotCounter (uint16 slot, uint8 counter, uint16 count)
 
void SetQuestSlotState (uint16 slot, uint32 state)
 
void RemoveQuestSlotState (uint16 slot, uint32 state)
 
void SetQuestSlotEndTime (uint16 slot, time_t endTime)
 
void SetQuestSlotObjectiveFlag (uint16 slot, int8 objectiveIndex)
 
void RemoveQuestSlotObjectiveFlag (uint16 slot, int8 objectiveIndex)
 
void SetQuestCompletedBit (uint32 questBit, bool completed)
 
uint16 GetReqKillOrCastCurrentCount (uint32 quest_id, int32 entry) const
 
void AreaExploredOrEventHappens (uint32 questId)
 
void GroupEventHappens (uint32 questId, WorldObject const *pEventObject)
 
void ItemAddedQuestCheck (uint32 entry, uint32 count, Optional< bool > boundItemFlagRequirement={}, bool *hadBoundItemObjective=nullptr)
 
void ItemRemovedQuestCheck (uint32 entry, uint32 count)
 
void KilledMonster (CreatureTemplate const *cInfo, ObjectGuid guid)
 
void KilledMonsterCredit (uint32 entry, ObjectGuid guid=ObjectGuid::Empty)
 
void KilledPlayerCredit (ObjectGuid victimGuid)
 
void KillCreditGO (uint32 entry, ObjectGuid guid=ObjectGuid::Empty)
 
void TalkedToCreature (uint32 entry, ObjectGuid guid)
 
void KillCreditCriteriaTreeObjective (QuestObjective const &questObjective)
 
void MoneyChanged (uint64 value)
 
void ReputationChanged (FactionEntry const *factionEntry, int32 change)
 
void CurrencyChanged (uint32 currencyId, int32 change)
 
void UpdateQuestObjectiveProgress (QuestObjectiveType objectiveType, int32 objectId, int64 addCount, ObjectGuid victimGuid=ObjectGuid::Empty, std::vector< QuestObjective const * > *updatedObjectives=nullptr, std::function< bool(QuestObjective const *)> const *objectiveFilter=nullptr)
 
bool HasQuestForItem (uint32 itemId) const
 
QuestObjective const * GetQuestObjectiveForItem (uint32 itemId, bool onlyIncomplete) const
 
bool HasQuestForGO (int32 goId) const
 
void UpdateVisibleObjectInteractions (bool allUnits, bool onlySpellClicks, bool gameObjectQuestGiverStatus, bool questObjectiveGameObjects)
 
bool CanShareQuest (uint32 questId) const
 
int32 GetQuestObjectiveData (QuestObjective const &objective) const
 
void SetQuestObjectiveData (QuestObjective const &objective, int32 data)
 
bool IsQuestObjectiveCompletable (uint16 slot, Quest const *quest, QuestObjective const &objective) const
 
bool IsQuestObjectiveComplete (uint16 slot, Quest const *quest, QuestObjective const &objective) const
 
bool IsQuestObjectiveComplete (uint32 questId, uint32 objectiveId) const
 
bool IsQuestObjectiveProgressBarComplete (uint16 slot, Quest const *quest) const
 
void SendQuestComplete (uint32 questId) const
 
void SendQuestReward (Quest const *quest, Creature const *questGiver, uint32 xp, bool hideChatMessage) const
 
void SendQuestFailed (uint32 questId, InventoryResult reason=EQUIP_ERR_OK) const
 
void SendQuestTimerFailed (uint32 questId) const
 
void SendCanTakeQuestResponse (QuestFailedReason reason, bool sendErrorMessage=true, std::string reasonText="") const
 
void SendQuestConfirmAccept (Quest const *quest, Player *receiver) const
 
void SendPushToPartyResponse (Player const *player, QuestPushReason reason, Quest const *quest=nullptr) const
 
void SendQuestUpdateAddCredit (Quest const *quest, ObjectGuid guid, QuestObjective const &obj, uint16 count) const
 
void SendQuestUpdateAddCreditSimple (QuestObjective const &obj) const
 
void SendQuestUpdateAddItem (ItemTemplate const *itemTemplate, QuestObjective const &obj, uint16 count) const
 
void SendQuestUpdateAddPlayer (Quest const *quest, uint16 newCount) const
 
void SendQuestGiverStatusMultiple ()
 
void SendQuestGiverStatusMultiple (GuidUnorderedSet const &guids)
 
void SendDisplayToast (uint32 entry, DisplayToastType type, bool isBonusRoll, uint32 quantity, DisplayToastMethod method, uint32 questId=0, Item *item=nullptr) const
 
uint32 GetSharedQuestID () const
 
ObjectGuid GetPlayerSharingQuest () const
 
void SetQuestSharingInfo (ObjectGuid guid, uint32 id)
 
void ClearQuestSharingInfo ()
 
uint32 GetInGameTime () const
 
void SetInGameTime (uint32 time)
 
void AddTimedQuest (uint32 questId)
 
void RemoveTimedQuest (uint32 questId)
 
void SaveCUFProfile (uint8 id, std::nullptr_t)
 
void SaveCUFProfile (uint8 id, std::unique_ptr< CUFProfile > profile)
 

‍Empties a CUF profile at position 0-4

More...
 
CUFProfileGetCUFProfile (uint8 id) const
 

‍Replaces a CUF profile at position 0-4

More...
 
uint8 GetCUFProfilesCount () const
 

‍Retrieves a CUF profile at position 0-4

More...
 
bool HasPvPForcingQuest () const
 
bool LoadFromDB (ObjectGuid guid, CharacterDatabaseQueryHolder const &holder)
 
bool IsLoading () const override
 
void SaveToDB (bool create=false)
 
void SaveToDB (LoginDatabaseTransaction loginTransaction, CharacterDatabaseTransaction trans, bool create=false)
 
void SaveInventoryAndGoldToDB (CharacterDatabaseTransaction trans)
 
void SetBindPoint (ObjectGuid guid) const
 
void SendRespecWipeConfirm (ObjectGuid const &guid, uint32 cost, SpecResetType respecType) const
 
void RegenerateAll ()
 
void Regenerate (Powers power)
 
void InterruptPowerRegen (Powers power)
 
void RegenerateHealth ()
 
void setRegenTimerCount (uint32 time)
 
void setWeaponChangeTimer (uint32 time)
 
uint64 GetMoney () const
 
bool ModifyMoney (int64 amount, bool sendError=true)
 
bool HasEnoughMoney (uint64 amount) const
 
bool HasEnoughMoney (int64 amount) const
 
void SetMoney (uint64 value)
 
RewardedQuestSet const & getRewardedQuests () const
 
QuestStatusMapgetQuestStatusMap ()
 
size_t GetRewardedQuestCount () const
 
bool IsQuestRewarded (uint32 quest_id) const
 
UnitGetSelectedUnit () const
 
PlayerGetSelectedPlayer () const
 
void SetTarget (ObjectGuid const &) override
 
void SetSelection (ObjectGuid const &guid)
 Used for serverside target changes, does not apply to players. More...
 
void SendMailResult (uint64 mailId, MailResponseType mailAction, MailResponseResult mailError, uint32 equipError=0, ObjectGuid::LowType itemGuid=UI64LIT(0), uint32 itemCount=0) const
 
void SendNewMail () const
 
void UpdateNextMailTimeAndUnreads ()
 
void AddNewMailDeliverTime (time_t deliver_time)
 
void RemoveMail (uint64 id)
 
void AddMail (Mail *mail)
 
uint32 GetMailSize () const
 
MailGetMail (uint64 id)
 
PlayerMails const & GetMails () const
 
void SendItemRetrievalMail (uint32 itemEntry, uint32 count, ItemContext context)
 
ItemGetMItem (ObjectGuid::LowType id)
 
void AddMItem (Item *it)
 
bool RemoveMItem (ObjectGuid::LowType id)
 
void SendOnCancelExpectedVehicleRideAura () const
 
void PetSpellInitialize ()
 
void CharmSpellInitialize ()
 
void PossessSpellInitialize ()
 
void VehicleSpellInitialize ()
 
void SendRemoveControlBar () const
 
bool HasSpell (uint32 spell) const override
 
bool HasActiveSpell (uint32 spell) const
 
SpellInfo const * GetCastSpellInfo (SpellInfo const *spellInfo, TriggerCastFlags &triggerFlag) const override
 
bool IsSpellFitByClassAndRace (uint32 spell_id) const
 
bool HandlePassiveSpellLearn (SpellInfo const *spellInfo)
 
void SendProficiency (ItemClass itemClass, uint32 itemSubclassMask) const
 
void SendKnownSpells ()
 
void SendUnlearnSpells ()
 
bool AddSpell (uint32 spellId, bool active, bool learning, bool dependent, bool disabled, bool loading=false, int32 fromSkill=0, bool favorite=false, Optional< int32 > traitDefinitionId={})
 
void LearnSpell (uint32 spell_id, bool dependent, int32 fromSkill=0, bool suppressMessaging=false, Optional< int32 > traitDefinitionId={})
 
void RemoveSpell (uint32 spell_id, bool disabled=false, bool learn_low_rank=true, bool suppressMessaging=false)
 
void ResetSpells (bool myClassOnly=false)
 
void LearnCustomSpells ()
 
void LearnDefaultSkills ()
 
void LearnDefaultSkill (SkillRaceClassInfoEntry const *rcInfo)
 
void LearnQuestRewardedSpells ()
 
void LearnQuestRewardedSpells (Quest const *quest)
 
void AddTemporarySpell (uint32 spellId)
 
void RemoveTemporarySpell (uint32 spellId)
 
void SetOverrideSpellsId (int32 overrideSpellsId)
 
void AddOverrideSpell (uint32 overridenSpellId, uint32 newSpellId)
 
void RemoveOverrideSpell (uint32 overridenSpellId, uint32 newSpellId)
 
void LearnSpecializationSpells ()
 
void RemoveSpecializationSpells ()
 
void AddSpellCategoryCooldownMod (int32 spellCategoryId, int32 mod)
 
void RemoveSpellCategoryCooldownMod (int32 spellCategoryId, int32 mod)
 
void SetSpellFavorite (uint32 spellId, bool favorite)
 
void AddStoredAuraTeleportLocation (uint32 spellId)
 
void RemoveStoredAuraTeleportLocation (uint32 spellId)
 
WorldLocation const * GetStoredAuraTeleportLocation (uint32 spellId) const
 
void SetReputation (uint32 factionentry, int32 value)
 
int32 GetReputation (uint32 factionentry) const
 
std::string GetGuildName () const
 
void SetLootSpecId (uint32 id)
 
uint32 GetLootSpecId () const
 
ZonePVPTypeOverride GetOverrideZonePVPType () const
 
void SetOverrideZonePVPType (ZonePVPTypeOverride type)
 
uint32 GetTalentResetCost () const
 
void SetTalentResetCost (uint32 cost)
 
time_t GetTalentResetTime () const
 
void SetTalentResetTime (time_t time_)
 
ChrSpecialization GetPrimarySpecialization () const
 
void SetPrimarySpecialization (uint32 spec)
 
uint8 GetActiveTalentGroup () const
 
void SetActiveTalentGroup (uint8 group)
 
uint32 GetDefaultSpecId () const
 
ChrSpecializationEntry const * GetPrimarySpecializationEntry () const
 
bool ResetTalents (bool noCost=false)
 
void ResetPvpTalents ()
 
uint32 GetNextResetTalentsCost () const
 
void InitTalentForLevel ()
 
void SendTalentsInfoData ()
 
TalentLearnResult LearnTalent (uint32 talentId, int32 *spellOnCooldown)
 
bool AddTalent (TalentEntry const *talent, uint8 spec, bool learning)
 
bool HasTalent (uint32 spell_id, uint8 spec) const
 
void RemoveTalent (TalentEntry const *talent)
 
void ResetTalentSpecialization ()
 
TalentLearnResult LearnPvpTalent (uint32 talentID, uint8 slot, int32 *spellOnCooldown)
 
bool AddPvpTalent (PvpTalentEntry const *talent, uint8 activeTalentGroup, uint8 slot)
 
void RemovePvpTalent (PvpTalentEntry const *talent, uint8 activeTalentGroup)
 
void TogglePvpTalents (bool enable)
 
bool HasPvpTalent (uint32 talentID, uint8 activeTalentGroup) const
 
void EnablePvpRules (bool dueToCombat=false)
 
void DisablePvpRules ()
 
bool HasPvpRulesEnabled () const
 
bool IsInAreaThatActivatesPvpTalents () const
 
bool IsAreaThatActivatesPvpTalents (uint32 areaID) const
 
void ActivateTalentGroup (ChrSpecializationEntry const *spec)
 
PlayerTalentMap const * GetTalentMap (uint8 spec) const
 
PlayerTalentMapGetTalentMap (uint8 spec)
 
PlayerPvpTalentMap const & GetPvpTalentMap (uint8 spec) const
 
PlayerPvpTalentMapGetPvpTalentMap (uint8 spec)
 
std::vector< uint32 > const & GetGlyphs (uint8 spec) const
 
std::vector< uint32 > & GetGlyphs (uint8 spec)
 
ActionButtonList const & GetActionButtons () const
 
void StartLoadingActionButtons (std::function< void()> &&callback=nullptr)
 
void LoadActions (PreparedQueryResult result)
 
void CreateTraitConfig (WorldPackets::Traits::TraitConfig &traitConfig)
 
void AddTraitConfig (WorldPackets::Traits::TraitConfig const &traitConfig)
 
UF::TraitConfig const * GetTraitConfig (int32 configId) const
 
void UpdateTraitConfig (WorldPackets::Traits::TraitConfig &&newConfig, int32 savedConfigId, bool withCastTime)
 
void ApplyTraitEntryChanges (int32 editedConfigId, WorldPackets::Traits::TraitConfig const &newConfig, bool applyTraits, bool consumeCurrencies)
 
void RenameTraitConfig (int32 editedConfigId, std::string &&newName)
 
void DeleteTraitConfig (int32 deletedConfigId)
 
void ApplyTraitConfig (int32 configId, bool apply)
 
void ApplyTraitEntry (int32 traitNodeEntryId, int32 rank, int32 grantedRanks, bool apply)
 
void SetActiveCombatTraitConfigID (int32 traitConfigId)
 
void SetTraitConfigUseStarterBuild (int32 traitConfigId, bool useStarterBuild)
 
void SetTraitConfigUseSharedActionBars (int32 traitConfigId, bool usesSharedActionBars, bool isLastSelectedSavedConfig)
 
uint32 GetFreePrimaryProfessionPoints () const
 
void SetFreePrimaryProfessions (uint16 profs)
 
void InitPrimaryProfessions ()
 
PlayerSpellMap const & GetSpellMap () const
 
PlayerSpellMapGetSpellMap ()
 
void AddSpellMod (SpellModifier *mod, bool apply)
 
template<class T >
void GetSpellModValues (SpellInfo const *spellInfo, SpellModOp op, Spell *spell, T base, int32 *flat, float *pct) const
 
template<class T >
void ApplySpellMod (SpellInfo const *spellInfo, SpellModOp op, T &basevalue, Spell *spell=nullptr) const
 
void SetSpellModTakingSpell (Spell *spell, bool apply)
 
void SendSpellModifiers () const
 
void RemoveArenaSpellCooldowns (bool removeActivePetCooldowns=false)
 
uint32 GetLastPotionId () const
 
void SetLastPotionId (uint32 item_id)
 
void UpdatePotionCooldown (Spell *spell=nullptr)
 
void SetResurrectRequestData (WorldObject const *caster, uint32 health, uint32 mana, uint32 appliedAura)
 
void ClearResurrectRequestData ()
 
bool IsResurrectRequestedBy (ObjectGuid const &guid) const
 
bool IsResurrectRequested () const
 
void ResurrectUsingRequestData ()
 
void ResurrectUsingRequestDataImpl ()
 
PlayerCreateMode GetCreateMode () const
 
uint8 getCinematic () const
 
void setCinematic (uint8 cine)
 
uint32 GetMovie () const
 
void SetMovie (uint32 movie)
 
ActionButtonAddActionButton (uint8 button, uint64 action, uint8 type)
 
void RemoveActionButton (uint8 button)
 
ActionButton const * GetActionButton (uint8 button)
 
void SendInitialActionButtons () const
 
void SendActionButtons (uint32 state) const
 
bool IsActionButtonDataValid (uint8 button, uint64 action, uint8 type) const
 
void SetMultiActionBars (uint8 mask)
 
void InitPvP ()
 
void UpdatePvPState (bool onlyFFA=false)
 
void SetPvP (bool state) override
 
void UpdatePvP (bool state, bool override=false)
 
void UpdateZone (uint32 newZone, uint32 newArea)
 
void UpdateArea (uint32 newArea)
 
void UpdateHostileAreaState (AreaTableEntry const *area)
 
void UpdateZoneDependentAuras (uint32 zone_id)
 
void UpdateAreaDependentAuras (uint32 area_id)
 
void UpdateAfkReport (time_t currTime)
 checks the 15 afk reports per 5 minutes limit More...
 
void UpdatePvPFlag (time_t currTime)
 
void SetContestedPvP (Player *attackedPlayer=nullptr)
 
void UpdateContestedPvP (uint32 currTime)
 
void SetContestedPvPTimer (uint32 newTime)
 
void ResetContestedPvP ()
 
void UpdateDuelFlag (time_t currTime)
 
void CheckDuelDistance (time_t currTime)
 
void DuelComplete (DuelCompleteType type)
 
void SetDuelArbiter (ObjectGuid guid)
 
void SetDuelTeam (uint32 duelTeam)
 
bool IsGroupVisibleFor (Player const *p) const
 
bool IsInSameGroupWith (Player const *p) const
 
bool IsInSameRaidWith (Player const *p) const
 
void UninviteFromGroup ()
 
void RemoveFromGroup (RemoveMethod method=GROUP_REMOVEMETHOD_DEFAULT)
 
void SendUpdateToOutOfRangeGroupMembers ()
 
void SetInGuild (ObjectGuid::LowType guildId)
 
void SetGuildRank (uint8 rankId)
 
uint8 GetGuildRank () const
 
void SetGuildLevel (uint32 level)
 
uint32 GetGuildLevel () const
 
void SetGuildIdInvited (ObjectGuid::LowType GuildId)
 
ObjectGuid::LowType GetGuildId () const
 
GuildGetGuild ()
 
Guild const * GetGuild () const
 
ObjectGuid::LowType GetGuildIdInvited () const
 
void SetPersonalTabard (uint32 style, uint32 color, uint32 borderStyle, uint32 borderColor, uint32 backgroundColor)
 
void SetInArenaTeam (uint32 ArenaTeamId, uint8 slot, uint8 type)
 
void SetArenaTeamInfoField (uint8 slot, ArenaTeamInfoType type, uint32 value)
 
uint32 GetArenaTeamId (uint8) const
 
uint32 GetArenaPersonalRating (uint8 slot) const
 
void SetArenaTeamIdInvited (uint32 ArenaTeamId)
 
uint32 GetArenaTeamIdInvited () const
 
uint32 GetRBGPersonalRating () const
 
UF::PVPInfo const * GetPvpInfoForBracket (int8 bracket) const
 
Difficulty GetDifficultyID (MapEntry const *mapEntry) const
 
Difficulty GetDungeonDifficultyID () const
 
Difficulty GetRaidDifficultyID () const
 
Difficulty GetLegacyRaidDifficultyID () const
 
void SetDungeonDifficultyID (Difficulty dungeon_difficulty)
 
void SetRaidDifficultyID (Difficulty raid_difficulty)
 
void SetLegacyRaidDifficultyID (Difficulty raid_difficulty)
 
void SendRaidGroupOnlyMessage (RaidGroupReason reason, int32 delay) const
 
bool UpdateSkillPro (uint16 skillId, int32 chance, uint32 step)
 
bool UpdateCraftSkill (SpellInfo const *spellInfo)
 
bool UpdateGatherSkill (uint32 skillId, uint32 skillValue, uint32 redLevel, uint32 multiplicator=1, WorldObject const *object=nullptr)
 
bool UpdateFishingSkill (int32 expansion)
 
float GetHealthBonusFromStamina () const
 
Stats GetPrimaryStat () const
 
bool UpdateStats (Stats stat) override
 
bool UpdateAllStats () override
 
void ApplySpellPenetrationBonus (int32 amount, bool apply)
 
void ApplyModTargetResistance (int32 mod, bool apply)
 
void ApplyModTargetPhysicalResistance (int32 mod, bool apply)
 
void UpdateResistances (uint32 school) override
 
void UpdateArmor () override
 
void UpdateMaxHealth () override
 
void UpdateMaxPower (Powers power) override
 
uint32 GetPowerIndex (Powers power) const override
 
void UpdateAttackPowerAndDamage (bool ranged=false) override
 
void ApplySpellPowerBonus (int32 amount, bool apply)
 
void UpdateSpellDamageAndHealingBonus ()
 
void ApplyModDamageDonePos (SpellSchools school, int32 mod, bool apply)
 
void ApplyModDamageDoneNeg (SpellSchools school, int32 mod, bool apply)
 
void ApplyModDamageDonePercent (SpellSchools school, float pct, bool apply)
 
void SetModDamageDonePercent (uint8 school, float pct)
 
void ApplyRatingMod (CombatRating cr, int32 value, bool apply)
 
void UpdateRating (CombatRating cr)
 
void UpdateAllRatings ()
 
void UpdateMastery ()
 
void UpdateVersatilityDamageDone ()
 
void UpdateHealingDonePercentMod ()
 
bool CanUseMastery () const
 
void CalculateMinMaxDamage (WeaponAttackType attType, bool normalized, bool addTotalPct, float &minDamage, float &maxDamage) const override
 
void RecalculateRating (CombatRating cr)
 
void GetDodgeFromAgility (float &diminishing, float &nondiminishing) const
 
float GetRatingMultiplier (CombatRating cr) const
 
float GetRatingBonusValue (CombatRating cr) const
 
float ApplyRatingDiminishing (CombatRating cr, float bonusValue) const
 
uint32 GetBaseSpellPowerBonus () const
 Returns base spellpower bonus from spellpower stat on items, without spellpower from intellect stat. More...
 
int32 GetSpellPenetrationItemMod () const
 
bool CanApplyResilience () const override
 
float GetExpertiseDodgeOrParryReduction (WeaponAttackType attType) const
 
void UpdateBlockPercentage ()
 
void UpdateCritPercentage (WeaponAttackType attType)
 
void UpdateAllCritPercentages ()
 
void UpdateParryPercentage ()
 
void UpdateDodgePercentage ()
 
void UpdateMeleeHitChances ()
 
void UpdateRangedHitChances ()
 
void UpdateSpellHitChances ()
 
void UpdateSpellCritChance ()
 
void UpdateCorruption ()
 
void UpdateArmorPenetration (int32 amount)
 
void UpdateExpertise (WeaponAttackType attType)
 
void ApplyManaRegenBonus (int32 amount, bool apply)
 
void ApplyHealthRegenBonus (int32 amount, bool apply)
 
void UpdateManaRegen ()
 
void UpdateAllRunesRegen ()
 
void SetPetSpellPower (uint32 spellPower)
 
ObjectGuid const & GetLootGUID () const
 
void SetLootGUID (ObjectGuid const &guid)
 
LootGetLootByWorldObjectGUID (ObjectGuid const &lootWorldObjectGuid) const
 
std::unordered_map< ObjectGuid, Loot * > const & GetAELootView () const
 
LootRollGetLootRoll (ObjectGuid const &lootObjectGuid, uint8 lootListId)
 
void AddLootRoll (LootRoll *roll)
 
void RemoveLootRoll (LootRoll *roll)
 
void RemovedInsignia (Player *looterPlr)
 
WorldSessionGetSession () const
 
void BuildCreateUpdateBlockForPlayer (UpdateData *data, Player *target) const override
 
void BuildValuesUpdateWithFlag (ByteBuffer *data, UF::UpdateFieldFlag flags, Player const *target) const override
 
void BuildValuesUpdateForPlayerWithMask (UpdateData *data, UF::ObjectData::Mask const &requestedObjectMask, UF::UnitData::Mask const &requestedUnitMask, UF::PlayerData::Mask const &requestedPlayerMask, UF::ActivePlayerData::Mask const &requestedActivePlayerMask, Player const *target) const
 
void DestroyForPlayer (Player *target) const override
 
void SendAttackSwingCancelAttack () const
 
void SetAttackSwingError (Optional< AttackSwingErr > err)
 
void SendAutoRepeatCancel (Unit *target)
 
void SendExplorationExperience (uint32 Area, uint32 Experience) const
 
void SendDungeonDifficulty (int32 forcedDifficulty=-1) const
 
void SendRaidDifficulty (bool legacy, int32 forcedDifficulty=-1) const
 
void ResetInstances (InstanceResetMethod method)
 Reset all solo instances and optionally send a message on success for each. More...
 
void SendResetInstanceSuccess (uint32 MapId) const
 
void SendResetInstanceFailed (ResetFailedReason reason, uint32 mapID) const
 
void SendResetFailedNotify (uint32 mapid) const
 
bool IsLockedToDungeonEncounter (uint32 dungeonEncounterId) const
 
bool IsLockedToDungeonEncounter (uint32 dungeonEncounterId, Difficulty difficulty) const
 
bool UpdatePosition (float x, float y, float z, float orientation, bool teleport=false) override
 
bool UpdatePosition (Position const &pos, bool teleport=false) override
 
void ProcessTerrainStatusUpdate (ZLiquidStatus oldLiquidStatus, Optional< LiquidData > const &newLiquidData) override
 
void AtEnterCombat () override
 
void AtExitCombat () override
 
void SendMessageToSet (WorldPacket const *data, bool self) const override
 
void SendMessageToSetInRange (WorldPacket const *data, float dist, bool self) const override
 
void SendMessageToSetInRange (WorldPacket const *data, float dist, bool self, bool own_team_only, bool required3dDist=false) const
 
void SendMessageToSet (WorldPacket const *data, Player const *skipped_rcvr) const override
 
void SendChatMessageToSetInRange (ChatMsg chatMsg, Language lanugageId, std::string &&text, float range)
 
CorpseGetCorpse () const
 
void SpawnCorpseBones (bool triggerSave=true)
 
CorpseCreateCorpse ()
 
void KillPlayer ()
 
bool HasCorpse () const
 
WorldLocation GetCorpseLocation () const
 
void InitializeSelfResurrectionSpells ()
 
void ResurrectPlayer (float restore_percent, bool applySickness=false)
 
void BuildPlayerRepop ()
 
void RepopAtGraveyard ()
 
void DurabilityLossAll (double percent, bool inventory)
 
void DurabilityLoss (Item *item, double percent)
 
void DurabilityPointsLossAll (int32 points, bool inventory)
 
void DurabilityPointsLoss (Item *item, int32 points)
 
void DurabilityPointLossForEquipSlot (EquipmentSlots slot)
 
void DurabilityRepairAll (bool takeCost, float discountMod, bool guildBank)
 
void DurabilityRepair (uint16 pos, bool takeCost, float discountMod)
 
void UpdateMirrorTimers ()
 
void StopMirrorTimers ()
 
bool IsMirrorTimerActive (MirrorTimerType type) const
 
bool CanJoinConstantChannelInZone (ChatChannelsEntry const *channel, AreaTableEntry const *zone) const
 
void JoinedChannel (Channel *c)
 
void LeftChannel (Channel *c)
 
void CleanupChannels ()
 
void UpdateLocalChannels (uint32 newZone)
 
void LeaveLFGChannel ()
 
JoinedChannelsList const & GetJoinedChannels () const
 
void InitializeSkillFields ()
 
void SetSkill (uint32 id, uint16 step, uint16 newVal, uint16 maxVal)
 
uint16 GetMaxSkillValue (uint32 skill) const
 
uint16 GetPureMaxSkillValue (uint32 skill) const
 
uint16 GetSkillValue (uint32 skill) const
 
uint16 GetBaseSkillValue (uint32 skill) const
 
uint16 GetPureSkillValue (uint32 skill) const
 
int16 GetSkillPermBonusValue (uint32 skill) const
 
int16 GetSkillTempBonusValue (uint32 skill) const
 
uint16 GetSkillStep (uint32 skill) const
 
uint32 GetProfessionSkillForExp (uint32 skill, int32 expansion) const
 
bool HasSkill (uint32 skill) const
 
void LearnSkillRewardedSpells (uint32 skillId, uint32 skillValue, Races race)
 
int32 GetProfessionSlotFor (uint32 skillId) const
 
int32 FindEmptyProfessionSlotFor (uint32 skillId) const
 
void SetSkillLineId (uint32 pos, uint16 skillLineId)
 
void SetSkillStep (uint32 pos, uint16 step)
 
void SetSkillRank (uint32 pos, uint16 rank)
 
void SetSkillStartingRank (uint32 pos, uint16 starting)
 
void SetSkillMaxRank (uint32 pos, uint16 max)
 
void SetSkillTempBonus (uint32 pos, uint16 bonus)
 
void SetSkillPermBonus (uint32 pos, uint16 bonus)
 
WorldLocationGetTeleportDest ()
 
Optional< uint32GetTeleportDestInstanceId () const
 
uint32 GetTeleportOptions () const
 
bool IsBeingTeleported () const
 
bool IsBeingTeleportedNear () const
 
bool IsBeingTeleportedFar () const
 
bool IsBeingTeleportedSeamlessly () const
 
void SetSemaphoreTeleportNear (bool semphsetting)
 
void SetSemaphoreTeleportFar (bool semphsetting)
 
void ProcessDelayedOperations ()
 
void CheckAreaExploreAndOutdoor (void)
 
void AddExploredZones (uint32 pos, uint64 mask)
 
void RemoveExploredZones (uint32 pos, uint64 mask)
 
bool HasExploredZone (uint32 areaId) const
 
Team GetTeam () const
 
TeamId GetTeamId () const
 
void SetFactionForRace (uint8 race)
 
Team GetEffectiveTeam () const
 
TeamId GetEffectiveTeamId () const
 
void InitDisplayIds ()
 
bool IsAtGroupRewardDistance (WorldObject const *pRewardSource) const
 
bool IsAtRecruitAFriendDistance (WorldObject const *pOther) const
 
void RewardPlayerAndGroupAtEvent (uint32 creature_id, WorldObject *pRewardSource)
 
bool isHonorOrXPTarget (Unit const *victim) const
 
bool GetsRecruitAFriendBonus (bool forXP)
 
ReputationMgrGetReputationMgr ()
 
ReputationMgr const & GetReputationMgr () const
 
ReputationRank GetReputationRank (uint32 faction_id) const
 
void RewardReputation (Unit *victim, float rate)
 
void RewardReputation (Quest const *quest)
 
int32 CalculateReputationGain (ReputationSource source, uint32 creatureOrQuestLevel, int32 rep, int32 faction, bool noQuestBonus=false)
 
void UpdateSkillsForLevel ()
 
void ModifySkillBonus (uint32 skillid, int32 val, bool talent)
 
void UpdateHonorFields ()
 
bool RewardHonor (Unit *victim, uint32 groupsize, int32 honor=-1, bool pvptoken=false)
 
void ResetHonorStats ()
 
uint32 GetMaxPersonalArenaRatingRequirement (uint32 minarenaslot) const
 
void SaveHealthBeforeDuel ()
 
void SaveManaBeforeDuel ()
 
void RestoreHealthAfterDuel ()
 
void RestoreManaAfterDuel ()
 
uint32 GetHonorLevel () const
 
void AddHonorXP (uint32 xp)
 
void SetHonorLevel (uint8 honorLevel)
 
bool IsMaxHonorLevel () const
 
void UpdateHonorNextLevel ()
 
void RewardPlayerWithRewardPack (uint32 rewardPackID)
 
void RewardPlayerWithRewardPack (RewardPackEntry const *rewardPackEntry)
 
void SetDrunkValue (uint8 newDrunkValue, uint32 itemId=0)
 
uint8 GetDrunkValue () const
 
uint32 GetDeathTimer () const
 
uint32 GetCorpseReclaimDelay (bool pvp) const
 
void UpdateCorpseReclaimDelay ()
 
int32 CalculateCorpseReclaimDelay (bool load=false) const
 
void SendCorpseReclaimDelay (uint32 delay) const
 
float GetBlockPercent (uint8 attackerLevel) const override
 
bool CanParry () const
 
void SetCanParry (bool value)
 
bool CanBlock () const
 
void SetCanBlock (bool value)
 
bool CanTitanGrip () const
 
void SetCanTitanGrip (bool value, uint32 penaltySpellId=0)
 
void CheckTitanGripPenalty ()
 
bool CanTameExoticPets () const
 
void SetRegularAttackTime ()
 
void HandleBaseModFlatValue (BaseModGroup modGroup, float amount, bool apply)
 
void ApplyBaseModPctValue (BaseModGroup modGroup, float pct)
 
void SetBaseModFlatValue (BaseModGroup modGroup, float val)
 
void SetBaseModPctValue (BaseModGroup modGroup, float val)
 
void UpdateDamageDoneMods (WeaponAttackType attackType, int32 skipEnchantSlot=-1) override
 
void UpdateBaseModGroup (BaseModGroup modGroup)
 
float GetBaseModValue (BaseModGroup modGroup, BaseModType modType) const
 
float GetTotalBaseModValue (BaseModGroup modGroup) const
 
void _ApplyAllStatBonuses ()
 
void _RemoveAllStatBonuses ()
 
void ResetAllPowers ()
 
SpellSchoolMask GetMeleeDamageSchoolMask (WeaponAttackType attackType=BASE_ATTACK) const override
 
void CastAllObtainSpells ()
 
void ApplyItemObtainSpells (Item *item, bool apply)
 
void UpdateWeaponDependentCritAuras (WeaponAttackType attackType)
 
void UpdateAllWeaponDependentCritAuras ()
 
void UpdateWeaponDependentAuras (WeaponAttackType attackType)
 
void ApplyItemDependentAuras (Item *item, bool apply)
 
bool CheckAttackFitToAuraRequirement (WeaponAttackType attackType, AuraEffect const *aurEff) const override
 
void _ApplyItemMods (Item *item, uint8 slot, bool apply, bool updateItemAuras=true)
 
void _RemoveAllItemMods ()
 
void _ApplyAllItemMods ()
 
void _ApplyAllLevelScaleItemMods (bool apply)
 
void ApplyAllAzeriteItemMods (bool apply)
 
void ApplyAllAzeriteEmpoweredItemMods (bool apply)
 
void _ApplyItemBonuses (Item *item, uint8 slot, bool apply)
 
void _ApplyWeaponDamage (uint8 slot, Item *item, bool apply)
 
bool EnchantmentFitsRequirements (uint32 enchantmentcondition, int8 slot) const
 
void ToggleMetaGemsActive (uint8 exceptslot, bool apply)
 
void CorrectMetaGemEnchants (uint8 slot, bool apply)
 
void InitDataForForm (bool reapplyMods=false)
 
void ApplyItemEquipSpell (Item *item, bool apply, bool formChange=false)
 
void ApplyEquipSpell (SpellInfo const *spellInfo, Item *item, bool apply, bool formChange=false)
 
void UpdateEquipSpellsAtFormChange ()
 
void UpdateItemSetAuras (bool formChange=false)
 
void ApplyArtifactPowers (Item *item, bool apply)
 
void ApplyArtifactPowerRank (Item *artifact, ArtifactPowerRankEntry const *artifactPowerRank, bool apply)
 
void ApplyAzeritePowers (Item *item, bool apply)
 
void ApplyAzeriteItemMilestonePower (AzeriteItem *item, AzeriteItemMilestonePowerEntry const *azeriteItemMilestonePower, bool apply)
 
void ApplyAzeriteEssence (AzeriteItem *item, uint32 azeriteEssenceId, uint32 rank, bool major, bool apply)
 
void ApplyAzeriteEssencePower (AzeriteItem *item, AzeriteEssencePowerEntry const *azeriteEssencePower, bool major, bool apply)
 
void ApplyAzeritePower (AzeriteEmpoweredItem *item, AzeritePowerEntry const *azeritePower, bool apply)
 
void CastItemCombatSpell (DamageInfo const &damageInfo)
 
void CastItemCombatSpell (DamageInfo const &damageInfo, Item *item, ItemTemplate const *proto)
 
void CastItemUseSpell (Item *item, SpellCastTargets const &targets, ObjectGuid castCount, int32 *misc)
 
void ApplyItemLootedSpell (Item *item, bool apply)
 
void ApplyItemLootedSpell (ItemTemplate const *itemTemplate)
 
void SendEquipmentSetList ()
 
void SetEquipmentSet (EquipmentSetInfo::EquipmentSetData const &newEqSet)
 
void DeleteEquipmentSet (uint64 id)
 
void SendInitWorldStates (uint32 zoneId, uint32 areaId)
 
void SendUpdateWorldState (uint32 variable, uint32 value, bool hidden=false) const
 
void SendDirectMessage (WorldPacket const *data) const
 
void SendAurasForTarget (Unit *target) const
 
void SendLoot (Loot &loot, bool aeLooting=false)
 
void SendLootError (ObjectGuid const &lootObj, ObjectGuid const &owner, LootError error) const
 
void SendLootRelease (ObjectGuid guid) const
 
void SendLootReleaseAll () const
 
void SendNotifyLootItemRemoved (ObjectGuid lootObj, ObjectGuid owner, uint8 lootListId) const
 
void SendNotifyLootMoneyRemoved (ObjectGuid lootObj) const
 
bool InBattleground () const
 
bool InArena () const
 
uint32 GetBattlegroundId () const
 
BattlegroundTypeId GetBattlegroundTypeId () const
 
BattlegroundGetBattleground () const
 
uint32 GetBattlegroundQueueJoinTime (BattlegroundQueueTypeId bgQueueTypeId) const
 
bool InBattlegroundQueue (bool ignoreArena=false) const
 
bool IsDeserter () const
 
BattlegroundQueueTypeId GetBattlegroundQueueTypeId (uint32 index) const
 
uint32 GetBattlegroundQueueIndex (BattlegroundQueueTypeId bgQueueTypeId) const
 
bool IsInvitedForBattlegroundQueueType (BattlegroundQueueTypeId bgQueueTypeId) const
 
bool InBattlegroundQueueForBattlegroundQueueType (BattlegroundQueueTypeId bgQueueTypeId) const
 
void SetBattlegroundId (uint32 val, BattlegroundTypeId bgTypeId, BattlegroundQueueTypeId queueId)
 
uint32 AddBattlegroundQueueId (BattlegroundQueueTypeId val)
 
bool HasFreeBattlegroundQueueId () const
 
void RemoveBattlegroundQueueId (BattlegroundQueueTypeId val)
 
void SetInviteForBattlegroundQueueType (BattlegroundQueueTypeId bgQueueTypeId, uint32 instanceId)
 
bool IsInvitedForBattlegroundInstance (uint32 instanceId) const
 
void SetMercenaryForBattlegroundQueueType (BattlegroundQueueTypeId bgQueueTypeId, bool mercenary)
 
bool IsMercenaryForBattlegroundQueueType (BattlegroundQueueTypeId bgQueueTypeId) const
 
WorldLocation const & GetBattlegroundEntryPoint () const
 
void SetBattlegroundEntryPoint ()
 
void SetBGTeam (Team team)
 
Team GetBGTeam () const
 
void LeaveBattleground (bool teleportToEntryPoint=true)
 
bool CanJoinToBattleground (BattlegroundTemplate const *bg) const
 
bool CanReportAfkDueToLimit ()
 
void ReportedAfkBy (Player *reporter)
 This player has been blamed to be inactive in a battleground. More...
 
void ClearAfkReports ()
 
bool GetBGAccessByLevel (BattlegroundTypeId bgTypeId) const
 
bool CanUseBattlegroundObject (GameObject *gameobject) const
 
bool isTotalImmune () const
 
bool CanCaptureTowerPoint () const
 
bool GetRandomWinner () const
 
void SetRandomWinner (bool isWinner)
 
OutdoorPvPGetOutdoorPvP () const
 
bool IsOutdoorPvPActive () const
 
bool IsImmuneToEnvironmentalDamage () const
 
uint32 EnvironmentalDamage (EnviromentalDamage type, uint32 damage)
 
void UpdateSpeakTime (ChatFloodThrottle::Index index)
 
void UpdateFallInformationIfNeed (MovementInfo const &minfo, uint16 opcode)
 
void SetFallInformation (uint32 time, float z)
 
void HandleFall (MovementInfo const &movementInfo)
 
void SetClientControl (Unit *target, bool allowMove)
 
void SetSeer (WorldObject *target)
 
void SetViewpoint (WorldObject *target, bool apply)
 
WorldObjectGetViewpoint () const
 
void StopCastingCharm ()
 
void StopCastingBindSight () const
 
uint32 GetSaveTimer () const
 
void SetSaveTimer (uint32 timer)
 
void SaveRecallPosition ()
 
void Recall ()
 
void SetHomebind (WorldLocation const &loc, uint32 areaId)
 
void SendBindPointUpdate () const
 
void SendPlayerBound (ObjectGuid const &binderGuid, uint32 areaId) const
 
uint8 GetStartLevel (uint8 race, uint8 playerClass, Optional< int32 > characterTemplateId) const
 
bool HaveAtClient (Object const *u) const
 
bool IsNeverVisibleFor (WorldObject const *seer, bool allowServersideObjects=false) const override
 
bool IsVisibleGloballyFor (Player const *player) const
 
void SendInitialVisiblePackets (WorldObject *target) const
 
void OnPhaseChange () override
 
void UpdateObjectVisibility (bool forced=true) override
 
void UpdateVisibilityForPlayer ()
 
void UpdateVisibilityOf (WorldObject *target)
 
void UpdateVisibilityOf (Trinity::IteratorPair< WorldObject ** > targets)
 
void UpdateTriggerVisibility ()
 
template<class T >
void UpdateVisibilityOf (T *target, UpdateData &data, std::set< WorldObject * > &visibleNow)
 
bool HasAtLoginFlag (AtLoginFlags f) const
 
void SetAtLoginFlag (AtLoginFlags f)
 
void RemoveAtLoginFlag (AtLoginFlags flags, bool persist=false)
 
bool isUsingLfg () const
 
bool inRandomLfgDungeon () const
 
uint32 GetTemporaryUnsummonedPetNumber () const
 
void SetTemporaryUnsummonedPetNumber (uint32 petnumber)
 
Optional< ReactStatesGetTemporaryPetReactState () const
 
void DisablePetControlsOnMount (ReactStates reactState, CommandStates commandState)
 
void EnablePetControlsOnDismount ()
 
void UnsummonPetTemporaryIfAny ()
 
void ResummonPetTemporaryUnSummonedIfAny ()
 
void UnsummonBattlePetTemporaryIfAny (bool onFlyingMount=false)
 
void ResummonBattlePetTemporaryUnSummonedIfAny ()
 
bool IsPetNeedBeTemporaryUnsummoned () const
 
void SendCinematicStart (uint32 CinematicSequenceId) const
 
void SendMovieStart (uint32 movieId)
 
uint32 DoRandomRoll (uint32 minimum, uint32 maximum)
 
uint8 GetItemLimitCategoryQuantity (ItemLimitCategoryEntry const *limitEntry) const
 
void UpdateItemLevelAreaBasedScaling ()
 
void ActivatePvpItemLevels (bool activate)
 
bool IsUsingPvpItemLevels () const
 
void UpdateHomebindTime (uint32 time)
 
uint32 GetRecentInstanceId (uint32 mapId) const
 
void SetRecentInstance (uint32 mapId, uint32 instanceId)
 
void ConfirmPendingBind ()
 
void SetPendingBind (uint32 instanceId, uint32 bindTimer)
 
bool HasPendingBind () const
 
void SendRaidInfo ()
 
bool Satisfy (AccessRequirement const *ar, uint32 target_map, TransferAbortParams *params=nullptr, bool report=false)
 
bool CheckInstanceValidity (bool)
 
bool CheckInstanceCount (uint32 instanceId) const
 
void AddInstanceEnterTime (uint32 instanceId, time_t enterTime)
 
WorldSafeLocsEntry const * GetInstanceEntrance (uint32 targetMapId)
 
uint32 GetLastPetNumber () const
 
void SetLastPetNumber (uint32 petnumber)
 
bool IsInGroup (ObjectGuid groupGuid) const
 
GroupGetGroupInvite () const
 
void SetGroupInvite (Group *group)
 
GroupGetGroup (Optional< uint8 > partyIndex)
 
Group const * GetGroup (Optional< uint8 > partyIndex) const
 
GroupGetGroup ()
 
Group const * GetGroup () const
 
GroupReferenceGetGroupRef ()
 
void SetGroup (Group *group, int8 subgroup=-1)
 
uint8 GetSubGroup () const
 
uint32 GetGroupUpdateFlag () const
 
void SetGroupUpdateFlag (uint32 flag)
 
void RemoveGroupUpdateFlag (uint32 flag)
 
void SetPartyType (GroupCategory category, uint8 type)
 
void ResetGroupUpdateSequenceIfNeeded (Group const *group)
 
int32 NextGroupUpdateSequenceNumber (GroupCategory category)
 
PlayerGetNextRandomRaidMember (float radius)
 
PartyResult CanUninviteFromGroup (ObjectGuid guidMember, Optional< uint8 > partyIndex) const
 
void SetBattlegroundOrBattlefieldRaid (Group *group, int8 subgroup=-1)
 
void RemoveFromBattlegroundOrBattlefieldRaid ()
 
GroupGetOriginalGroup () const
 
GroupReferenceGetOriginalGroupRef ()
 
uint8 GetOriginalSubGroup () const
 
void SetOriginalGroup (Group *group, int8 subgroup=-1)
 
void SetPassOnGroupLoot (bool bPassOnGroupLoot)
 
bool GetPassOnGroupLoot () const
 
MapReferenceGetMapRef ()
 
void SetMap (Map *map) override
 
void ResetMap () override
 
bool isAllowedToLoot (Creature const *creature) const
 
UF::DeclinedNames const * GetDeclinedNames () const
 
uint8 GetRunesState () const
 
uint32 GetRuneCooldown (uint8 index) const
 
uint32 GetRuneBaseCooldown () const
 
void SetRuneCooldown (uint8 index, uint32 cooldown)
 
void ResyncRunes () const
 
void InitRunes ()
 
void SendRespondInspectAchievements (Player *player) const
 
uint32 GetAchievementPoints () const
 
std::vector< uint32GetCompletedAchievementIds () const
 
bool HasAchieved (uint32 achievementId) const
 
void ResetAchievements ()
 
void FailCriteria (CriteriaFailEvent condition, int32 failAsset)
 
void UpdateCriteria (CriteriaType type, uint64 miscValue1=0, uint64 miscValue2=0, uint64 miscValue3=0, WorldObject *ref=nullptr)
 
void StartCriteria (CriteriaStartEvent startEvent, uint32 entry, Milliseconds timeLost=Milliseconds::zero())
 
void CompletedAchievement (AchievementEntry const *entry)
 
bool ModifierTreeSatisfied (uint32 modifierTreeId) const
 
bool HasTitle (uint32 bitIndex) const
 
bool HasTitle (CharTitlesEntry const *title) const
 
void SetTitle (CharTitlesEntry const *title, bool lost=false)
 
void SetChosenTitle (int32 title)
 
void SetKnownTitles (uint32 index, uint64 mask)
 
bool CanSeeGossipOn (Creature const *creature) const
 
bool CanSeeSpellClickOn (Creature const *creature) const
 
uint32 GetChampioningFaction () const
 
void SetChampioningFaction (uint32 faction)
 
float GetAverageItemLevel () const
 
void ClearWhisperWhiteList ()
 
void AddWhisperWhiteList (ObjectGuid guid)
 
bool IsInWhisperWhiteList (ObjectGuid guid)
 
void RemoveFromWhisperWhiteList (ObjectGuid guid)
 
void ValidateMovementInfo (MovementInfo *mi)
 
void SendMovementSetCollisionHeight (float height, WorldPackets::Movement::UpdateCollisionHeightReason reason)
 
bool CanFly () const override
 
bool CanEnterWater () const override
 
std::string GetMapAreaAndZoneString () const
 
std::string GetCoordsMapAreaAndZoneString () const
 
bool IsVoidStorageUnlocked () const
 
void UnlockVoidStorage ()
 
void LockVoidStorage ()
 
uint8 GetNextVoidStorageFreeSlot () const
 
uint8 GetNumOfVoidStorageFreeSlots () const
 
uint8 AddVoidStorageItem (VoidStorageItem &&item)
 
void DeleteVoidStorageItem (uint8 slot)
 
bool SwapVoidStorageItem (uint8 oldSlot, uint8 newSlot)
 
VoidStorageItemGetVoidStorageItem (uint8 slot) const
 
VoidStorageItemGetVoidStorageItem (uint64 id, uint8 &slot) const
 
bool IsReagentBankUnlocked () const
 
void UnlockReagentBank ()
 
void CreateGarrison (uint32 garrSiteId)
 
void DeleteGarrison ()
 
GarrisonGetGarrison () const
 
bool IsAdvancedCombatLoggingEnabled () const
 
void SetAdvancedCombatLogging (bool enabled)
 
SceneMgrGetSceneMgr ()
 
SceneMgr const & GetSceneMgr () const
 
RestMgrGetRestMgr () const
 
void SetRestState (RestTypes type, PlayerRestState state)
 
void SetRestThreshold (RestTypes type, uint32 threshold)
 
void SendPlayerChoice (ObjectGuid sender, int32 choiceId)
 
bool MeetPlayerCondition (uint32 conditionId) const
 
bool HasPlayerFlag (PlayerFlags flags) const
 
void SetPlayerFlag (PlayerFlags flags)
 
void RemovePlayerFlag (PlayerFlags flags)
 
void ReplaceAllPlayerFlags (PlayerFlags flags)
 
bool HasPlayerFlagEx (PlayerFlagsEx flags) const
 
void SetPlayerFlagEx (PlayerFlagsEx flags)
 
void RemovePlayerFlagEx (PlayerFlagsEx flags)
 
void ReplaceAllPlayerFlagsEx (PlayerFlagsEx flags)
 
void SetAverageItemLevelTotal (float newItemLevel)
 
void SetAverageItemLevelEquipped (float newItemLevel)
 
uint32 GetCustomizationChoice (uint32 chrCustomizationOptionId) const
 
template<typename Iter >
void SetCustomizations (Trinity::IteratorPair< Iter > customizations, bool markChanged=true)
 
void SetPvpTitle (uint8 pvpTitle)
 
void SetArenaFaction (uint8 arenaFaction)
 
void ApplyModFakeInebriation (int32 mod, bool apply)
 
void SetVirtualPlayerRealm (uint32 virtualRealmAddress)
 
void SetCurrentBattlePetBreedQuality (uint8 battlePetBreedQuality)
 
void AddHeirloom (int32 itemId, uint32 flags)
 
void SetHeirloom (uint32 slot, int32 itemId)
 
void SetHeirloomFlags (uint32 slot, uint32 flags)
 
void AddToy (int32 itemId, uint32 flags)
 
void AddTransmogBlock (uint32 blockValue)
 
void AddTransmogFlag (uint32 slot, uint32 flag)
 
void AddConditionalTransmog (uint32 itemModifiedAppearanceId)
 
void RemoveConditionalTransmog (uint32 itemModifiedAppearanceId)
 
void AddIllusionBlock (uint32 blockValue)
 
void AddIllusionFlag (uint32 slot, uint32 flag)
 
void AddSelfResSpell (int32 spellId)
 
void RemoveSelfResSpell (int32 spellId)
 
void ClearSelfResSpell ()
 
ObjectGuid GetSummonedBattlePetGUID () const
 
void SetSummonedBattlePetGUID (ObjectGuid guid)
 
void SetTrackCreatureFlag (uint32 flags)
 
void RemoveTrackCreatureFlag (uint32 flags)
 
void SetVersatilityBonus (float value)
 
void ApplyModOverrideSpellPowerByAPPercent (float mod, bool apply)
 
void ApplyModOverrideAPBySpellPowerPercent (float mod, bool apply)
 
bool HasPlayerLocalFlag (PlayerLocalFlags flags) const
 
void SetPlayerLocalFlag (PlayerLocalFlags flags)
 
void RemovePlayerLocalFlag (PlayerLocalFlags flags)
 
void ReplaceAllPlayerLocalFlags (PlayerLocalFlags flags)
 
uint8 GetNumRespecs () const
 
void SetNumRespecs (uint8 numRespecs)
 
void SetWatchedFactionIndex (int32 index)
 
void AddAuraVision (PlayerFieldByte2Flags flags)
 
void RemoveAuraVision (PlayerFieldByte2Flags flags)
 
void SetTransportServerTime (int32 transportServerTime)
 
void SetRequiredMountCapabilityFlag (uint8 flag)
 
void ReplaceAllRequiredMountCapabilityFlags (uint8 flags)
 
bool IsInFriendlyArea () const
 
bool IsFriendlyArea (AreaTableEntry const *inArea) const
 
void SetWarModeDesired (bool enabled)
 
bool IsWarModeDesired () const
 
bool IsWarModeActive () const
 
bool IsWarModeLocalActive () const
 
void SetWarModeLocal (bool enabled)
 
bool CanEnableWarModeInArea () const
 
void UpdateWarModeAuras ()
 
std::string GetDebugInfo () const override
 
void SetAreaSpiritHealer (Creature *creature)
 
ObjectGuid const & GetSpiritHealerGUID () const
 
bool CanAcceptAreaSpiritHealFrom (Unit *spiritHealer) const
 
void SendAreaSpiritHealerTime (Unit *spiritHealer) const
 
void SendAreaSpiritHealerTime (ObjectGuid const &spiritHealerGUID, int32 timeLeft) const
 
void RequestSpellCast (std::unique_ptr< SpellCastRequest > castRequest)
 
void CancelPendingCastRequest ()
 
bool CanRequestSpellCast (SpellInfo const *spell, Unit const *castingUnit) const
 
- Public Member Functions inherited from Unit
virtual ~Unit ()
 
bool IsAIEnabled () const
 
void AIUpdateTick (uint32 diff)
 
UnitAIGetAI () const
 
void ScheduleAIChange ()
 
void PushAI (UnitAI *newAI)
 
bool PopAI ()
 
void AddToWorld () override
 
void RemoveFromWorld () override
 
void CleanupBeforeRemoveFromMap (bool finalCleanup)
 
void CleanupsBeforeDelete (bool finalCleanup=true) override
 
virtual bool IsAffectedByDiminishingReturns () const
 
DiminishingLevels GetDiminishing (DiminishingGroup group) const
 
void IncrDiminishing (SpellInfo const *auraSpellInfo)
 
bool ApplyDiminishingToDuration (SpellInfo const *auraSpellInfo, int32 &duration, WorldObject *caster, DiminishingLevels previousLevel) const
 
void ApplyDiminishingAura (DiminishingGroup group, bool apply)
 
void ClearDiminishings ()
 
virtual void Update (uint32 time) override
 
void setAttackTimer (WeaponAttackType type, uint32 time)
 
void resetAttackTimer (WeaponAttackType type=BASE_ATTACK)
 
uint32 getAttackTimer (WeaponAttackType type) const
 
bool isAttackReady (WeaponAttackType type=BASE_ATTACK) const
 
bool haveOffhandWeapon () const
 
bool CanDualWield () const
 
virtual void SetCanDualWield (bool value)
 
float GetCombatReach () const override
 
void SetCombatReach (float combatReach)
 
float GetBoundingRadius () const
 
void SetBoundingRadius (float boundingRadius)
 
bool IsWithinCombatRange (Unit const *obj, float dist2compare) const
 
bool IsWithinMeleeRange (Unit const *obj) const
 
bool IsWithinMeleeRangeAt (Position const &pos, Unit const *obj) const
 
float GetMeleeRange (Unit const *target) const
 
virtual SpellSchoolMask GetMeleeDamageSchoolMask (WeaponAttackType attackType=BASE_ATTACK) const =0
 
bool IsWithinBoundaryRadius (const Unit *obj) const
 
void _addAttacker (Unit *pAttacker)
 
void _removeAttacker (Unit *pAttacker)
 
UnitgetAttackerForHelper () const
 
bool Attack (Unit *victim, bool meleeAttack)
 
void CastStop (uint32 except_spellid=0)
 
bool AttackStop ()
 
void RemoveAllAttackers ()
 
AttackerSet const & getAttackers () const
 
bool isAttackingPlayer () const
 
UnitGetVictim () const
 
UnitEnsureVictim () const
 
void ValidateAttackersAndOwnTarget ()
 
void CombatStop (bool includingCast=false, bool mutualPvP=true, bool(*unitFilter)(Unit const *otherUnit)=nullptr)
 
void CombatStopWithPets (bool includingCast=false)
 
void StopAttackFaction (uint32 faction_id)
 
UnitSelectNearbyTarget (Unit *exclude=nullptr, float dist=NOMINAL_MELEE_RANGE) const
 
void SendMeleeAttackStop (Unit *victim=nullptr)
 
void SendMeleeAttackStart (Unit *victim)
 
void AddUnitState (uint32 f)
 
bool HasUnitState (const uint32 f) const
 
void ClearUnitState (uint32 f)
 
bool CanFreeMove () const
 
uint32 HasUnitTypeMask (uint32 mask) const
 
void AddUnitTypeMask (uint32 mask)
 
bool IsSummon () const
 
bool IsGuardian () const
 
bool IsPet () const
 
bool IsHunterPet () const
 
bool IsTotem () const
 
bool IsVehicle () const
 
int32 GetContentTuning () const
 
uint8 GetLevel () const
 
uint8 GetLevelForTarget (WorldObject const *) const override
 
void SetLevel (uint8 lvl, bool sendUpdate=true)
 
uint8 GetRace () const
 
void SetRace (uint8 race)
 
uint64 GetRaceMask () const
 
uint8 GetClass () const
 
void SetClass (uint8 classId)
 
uint32 GetClassMask () const
 
Gender GetGender () const
 
void SetGender (Gender gender)
 
virtual Gender GetNativeGender () const
 
virtual void SetNativeGender (Gender gender)
 
float GetStat (Stats stat) const
 
void SetStat (Stats stat, int32 val)
 
uint32 GetArmor () const
 
void SetArmor (int32 val, int32 bonusVal)
 
int32 GetResistance (SpellSchools school) const
 
int32 GetBonusResistanceMod (SpellSchools school) const
 
int32 GetResistance (SpellSchoolMask mask) const
 
void SetResistance (SpellSchools school, int32 val)
 
void SetBonusResistanceMod (SpellSchools school, int32 val)
 
uint64 GetHealth () const
 
uint64 GetMaxHealth () const
 
bool IsFullHealth () const
 
bool HealthBelowPct (int32 pct) const
 
bool HealthBelowPctDamaged (int32 pct, uint32 damage) const
 
bool HealthAbovePct (int32 pct) const
 
bool HealthAbovePctHealed (int32 pct, uint32 heal) const
 
float GetHealthPct () const
 
uint64 CountPctFromMaxHealth (int32 pct) const
 
uint64 CountPctFromCurHealth (int32 pct) const
 
void SetHealth (uint64 val)
 
void SetMaxHealth (uint64 val)
 
void SetFullHealth ()
 
int64 ModifyHealth (int64 val)
 
int64 GetHealthGain (int64 dVal)
 
void TriggerOnHealthChangeAuras (uint64 oldVal, uint64 newVal)
 
virtual float GetHealthMultiplierForTarget (WorldObject const *) const
 
virtual float GetDamageMultiplierForTarget (WorldObject const *) const
 
virtual float GetArmorMultiplierForTarget (WorldObject const *) const
 
Powers GetPowerType () const
 
void SetPowerType (Powers power, bool sendUpdate=true)
 
void SetOverrideDisplayPowerId (uint32 powerDisplayId)
 
Powers CalculateDisplayPowerType () const
 
void UpdateDisplayPower ()
 
int32 GetPower (Powers power) const
 
int32 GetMinPower (Powers power) const
 
int32 GetMaxPower (Powers power) const
 
float GetPowerPct (Powers power) const
 
int32 CountPctFromMaxPower (Powers power, int32 pct) const
 
void SetPower (Powers power, int32 val, bool withPowerUpdate=true)
 
void SetMaxPower (Powers power, int32 val)
 
void TriggerOnPowerChangeAuras (Powers power, int32 oldVal, int32 newVal)
 
void SetFullPower (Powers power)
 
int32 ModifyPower (Powers power, int32 val, bool withPowerUpdate=true)
 
void ApplyModManaCostMultiplier (float manaCostMultiplier, bool apply)
 
void ApplyModManaCostModifier (SpellSchools school, int32 mod, bool apply)
 
uint32 GetBaseAttackTime (WeaponAttackType att) const
 
void SetBaseAttackTime (WeaponAttackType att, uint32 val)
 
void UpdateAttackTimeField (WeaponAttackType att)
 
void ApplyAttackTimePercentMod (WeaponAttackType att, float val, bool apply)
 
void ApplyCastTimePercentMod (float val, bool apply)
 
void SetModCastingSpeed (float castingSpeed)
 
void SetModSpellHaste (float spellHaste)
 
void SetModHaste (float haste)
 
void SetModRangedHaste (float rangedHaste)
 
void SetModHasteRegen (float hasteRegen)
 
void SetModTimeRate (float timeRate)
 
bool HasUnitFlag (UnitFlags flags) const
 
void SetUnitFlag (UnitFlags flags)
 
void RemoveUnitFlag (UnitFlags flags)
 
void ReplaceAllUnitFlags (UnitFlags flags)
 
bool HasUnitFlag2 (UnitFlags2 flags) const
 
void SetUnitFlag2 (UnitFlags2 flags)
 
void RemoveUnitFlag2 (UnitFlags2 flags)
 
void ReplaceAllUnitFlags2 (UnitFlags2 flags)
 
bool HasUnitFlag3 (UnitFlags3 flags) const
 
void SetUnitFlag3 (UnitFlags3 flags)
 
void RemoveUnitFlag3 (UnitFlags3 flags)
 
void ReplaceAllUnitFlags3 (UnitFlags3 flags)
 
void SetCreatedBySpell (int32 spellId)
 
void SetNameplateAttachToGUID (ObjectGuid guid)
 
Emote GetEmoteState () const
 
void SetEmoteState (Emote emote)
 
SheathState GetSheath () const
 
void SetSheath (SheathState sheathed)
 
uint32 GetFaction () const override
 
void SetFaction (uint32 faction) override
 
bool IsInPartyWith (Unit const *unit) const
 
bool IsInRaidWith (Unit const *unit) const
 
void GetPartyMembers (std::list< Unit * > &units)
 
bool IsContestedGuard () const
 
UnitPVPStateFlags GetPvpFlags () const
 
bool HasPvpFlag (UnitPVPStateFlags flags) const
 
void SetPvpFlag (UnitPVPStateFlags flags)
 
void RemovePvpFlag (UnitPVPStateFlags flags)
 
void ReplaceAllPvpFlags (UnitPVPStateFlags flags)
 
bool IsInSanctuary () const
 
bool IsPvP () const
 
bool IsFFAPvP () const
 
virtual void SetPvP (bool state)
 
UnitPetFlag GetPetFlags () const
 
bool HasPetFlag (UnitPetFlag flags) const
 
void SetPetFlag (UnitPetFlag flags)
 
void RemovePetFlag (UnitPetFlag flags)
 
void ReplaceAllPetFlags (UnitPetFlag flags)
 
uint32 GetCreatureType () const
 
uint32 GetCreatureTypeMask () const
 
UnitStandStateType GetStandState () const
 
bool IsSitState () const
 
bool IsStandState () const
 
void SetStandState (UnitStandStateType state, uint32 animKitID=0)
 
void SetVisFlag (UnitVisFlags flags)
 
void RemoveVisFlag (UnitVisFlags flags)
 
void ReplaceAllVisFlags (UnitVisFlags flags)
 
AnimTier GetAnimTier () const
 
void SetAnimTier (AnimTier animTier, bool notifyClient=true)
 
bool IsMounted () const
 
uint32 GetMountDisplayId () const
 
void SetMountDisplayId (uint32 mountDisplayId)
 
uint32 GetCosmeticMountDisplayId () const
 
void SetCosmeticMountDisplayId (uint32 mountDisplayId)
 
void Mount (uint32 mount, uint32 vehicleId=0, uint32 creatureEntry=0)
 
void Dismount ()
 
MountCapabilityEntry const * GetMountCapability (uint32 mountType) const
 
void UpdateMountCapability ()
 
void SendDurabilityLoss (Player *receiver, uint32 percent)
 
void PlayOneShotAnimKitId (uint16 animKitId)
 
void SetAIAnimKitId (uint16 animKitId)
 
uint16 GetAIAnimKitId () const override
 
void SetMovementAnimKitId (uint16 animKitId)
 
uint16 GetMovementAnimKitId () const override
 
void SetMeleeAnimKitId (uint16 animKitId)
 
uint16 GetMeleeAnimKitId () const override
 
uint16 GetMaxSkillValueForLevel (Unit const *target=nullptr) const
 
void KillSelf (bool durabilityLoss=true, bool skipSettingDeathState=false)
 
void GetProcAurasTriggeredOnEvent (AuraApplicationProcContainer &aurasTriggeringProc, AuraApplicationList *procAuras, ProcEventInfo &eventInfo)
 
void TriggerAurasProcOnEvent (AuraApplicationList *myProcAuras, AuraApplicationList *targetProcAuras, Unit *actionTarget, ProcFlagsInit const &typeMaskActor, ProcFlagsInit const &typeMaskActionTarget, ProcFlagsSpellType spellTypeMask, ProcFlagsSpellPhase spellPhaseMask, ProcFlagsHit hitMask, Spell *spell, DamageInfo *damageInfo, HealInfo *healInfo)
 
void TriggerAurasProcOnEvent (ProcEventInfo &eventInfo, AuraApplicationProcContainer &procAuras)
 
void HandleEmoteCommand (Emote emoteId, Player *target=nullptr, Trinity::IteratorPair< int32 const * > spellVisualKitIds={}, int32 sequenceVariation=0)
 
void DoMeleeAttackIfReady ()
 
void AttackerStateUpdate (Unit *victim, WeaponAttackType attType=BASE_ATTACK, bool extra=false)
 
void CalculateMeleeDamage (Unit *victim, CalcDamageInfo *damageInfo, WeaponAttackType attackType=BASE_ATTACK)
 
void DealMeleeDamage (CalcDamageInfo *damageInfo, bool durabilityLoss)
 
void HandleProcExtraAttackFor (Unit *victim, uint32 count)
 
void SetLastExtraAttackSpell (uint32 spellId)
 
uint32 GetLastExtraAttackSpell () const
 
void AddExtraAttacks (uint32 count)
 
void SetLastDamagedTargetGuid (ObjectGuid guid)
 
ObjectGuid GetLastDamagedTargetGuid () const
 
void CalculateSpellDamageTaken (SpellNonMeleeDamage *damageInfo, int32 damage, SpellInfo const *spellInfo, WeaponAttackType attackType=BASE_ATTACK, bool crit=false, bool blocked=false, Spell *spell=nullptr)
 
void DealSpellDamage (SpellNonMeleeDamage const *damageInfo, bool durabilityLoss)
 
uint32 GetDamageReduction (uint32 damage) const
 
virtual bool CanApplyResilience () const
 
int32 CalculateAOEAvoidance (int32 damage, uint32 schoolMask, bool npcCaster) const
 
float MeleeSpellMissChance (Unit const *victim, WeaponAttackType attType, SpellInfo const *spellInfo) const override
 
SpellMissInfo MeleeSpellHitResult (Unit *victim, SpellInfo const *spellInfo) const override
 
float GetUnitDodgeChance (WeaponAttackType attType, Unit const *victim) const
 
float GetUnitParryChance (WeaponAttackType attType, Unit const *victim) const
 
float GetUnitBlockChance (WeaponAttackType attType, Unit const *victim) const
 
float GetUnitMissChance () const
 
float GetUnitCriticalChanceDone (WeaponAttackType attackType) const
 
float GetUnitCriticalChanceTaken (Unit const *attacker, WeaponAttackType attackType, float critDone) const
 
float GetUnitCriticalChanceAgainst (WeaponAttackType attackType, Unit const *victim) const
 
int32 GetMechanicResistChance (SpellInfo const *spellInfo) const
 
bool CanUseAttackType (uint8 attacktype) const
 
virtual float GetBlockPercent (uint8) const
 
float GetWeaponProcChance () const
 
float GetPPMProcChance (uint32 WeaponSpeed, float PPM, SpellInfo const *spellProto) const
 
MeleeHitOutcome RollMeleeOutcomeAgainst (Unit const *victim, WeaponAttackType attType) const
 
NPCFlags GetNpcFlags () const
 
bool HasNpcFlag (NPCFlags flags) const
 
void SetNpcFlag (NPCFlags flags)
 
void RemoveNpcFlag (NPCFlags flags)
 
void ReplaceAllNpcFlags (NPCFlags flags)
 
NPCFlags2 GetNpcFlags2 () const
 
bool HasNpcFlag2 (NPCFlags2 flags) const
 
void SetNpcFlag2 (NPCFlags2 flags)
 
void RemoveNpcFlag2 (NPCFlags2 flags)
 
void ReplaceAllNpcFlags2 (NPCFlags2 flags)
 
bool IsVendor () const
 
bool IsTrainer () const
 
bool IsQuestGiver () const
 
bool IsGossip () const
 
bool IsTaxi () const
 
bool IsGuildMaster () const
 
bool IsBattleMaster () const
 
bool IsBanker () const
 
bool IsInnkeeper () const
 
bool IsSpiritHealer () const
 
bool IsAreaSpiritHealer () const
 
bool IsTabardDesigner () const
 
bool IsAuctioner () const
 
bool IsArmorer () const
 
bool IsWildBattlePet () const
 
bool IsServiceProvider () const
 
bool IsSpiritService () const
 
bool IsAreaSpiritHealerIndividual () const
 
bool IsCritter () const
 
bool IsInFlight () const
 
bool CanHaveThreatList () const
 ====================== THREAT & COMBAT ==================== More...
 
virtual bool IsEngaged () const
 
bool IsEngagedBy (Unit const *who) const
 
void EngageWithTarget (Unit *who)
 
CombatManagerGetCombatManager ()
 
CombatManager const & GetCombatManager () const
 
void AtTargetAttacked (Unit *target, bool canInitialAggro)
 
bool IsImmuneToAll () const
 
void SetImmuneToAll (bool apply, bool keepCombat)
 
virtual void SetImmuneToAll (bool apply)
 
bool IsImmuneToPC () const
 
void SetImmuneToPC (bool apply, bool keepCombat)
 
virtual void SetImmuneToPC (bool apply)
 
bool IsImmuneToNPC () const
 
void SetImmuneToNPC (bool apply, bool keepCombat)
 
virtual void SetImmuneToNPC (bool apply)
 
bool IsUninteractible () const
 
void SetUninteractible (bool apply)
 
bool CannotTurn () const
 
void SetCannotTurn (bool apply)
 
bool IsInCombat () const
 
bool IsInCombatWith (Unit const *who) const
 
void SetInCombatWith (Unit *enemy, bool addSecondUnitSuppressed=false)
 
void ClearInCombat ()
 
void UpdatePetCombatState ()
 
bool IsInteractionAllowedWhileHostile () const
 
virtual void SetInteractionAllowedWhileHostile (bool interactionAllowed)
 
bool IsInteractionAllowedInCombat () const
 
virtual void SetInteractionAllowedInCombat (bool interactionAllowed)
 
virtual void UpdateNearbyPlayersInteractions ()
 
bool IsThreatened () const
 
bool IsThreatenedBy (Unit const *who) const
 
ThreatManagerGetThreatManager ()
 
ThreatManager const & GetThreatManager () const
 
void SendClearTarget ()
 
bool HasAuraTypeWithFamilyFlags (AuraType auraType, uint32 familyName, flag128 familyFlags) const
 
virtual bool HasSpell (uint32) const
 
bool HasBreakableByDamageAuraType (AuraType type, uint32 excludeAura=0) const
 
bool HasBreakableByDamageCrowdControlAura (Unit *excludeCasterChannel=nullptr) const
 
bool HasStealthAura () const
 
bool HasInvisibilityAura () const
 
bool IsFeared () const
 
bool HasRootAura () const
 
bool IsPolymorphed () const
 
bool IsFrozen () const
 
bool isTargetableForAttack (bool checkFakeDeath=true) const
 
bool IsInWater () const
 
bool IsUnderWater () const
 
bool IsOnOceanFloor () const
 
bool isInAccessiblePlaceFor (Creature const *c) const
 
void SendHealSpellLog (HealInfo &healInfo, bool critical=false)
 
int32 HealBySpell (HealInfo &healInfo, bool critical=false)
 
void SendEnergizeSpellLog (Unit *victim, uint32 spellId, int32 damage, int32 overEnergize, Powers powerType)
 
void EnergizeBySpell (Unit *victim, SpellInfo const *spellInfo, int32 damage, Powers powerType)
 
AuraAddAura (uint32 spellId, Unit *target)
 
AuraAddAura (SpellInfo const *spellInfo, uint32 effMask, Unit *target)
 
void SetAuraStack (uint32 spellId, Unit *target, uint32 stack)
 
void SendPlaySpellVisual (Unit *target, uint32 spellVisualId, uint16 missReason, uint16 reflectStatus, float travelSpeed, bool speedAsTime=false, float launchDelay=0.0f)
 
void SendPlaySpellVisual (Position const &targetPosition, uint32 spellVisualId, uint16 missReason, uint16 reflectStatus, float travelSpeed, bool speedAsTime=false, float launchDelay=0.0f)
 
void SendCancelSpellVisual (uint32 id)
 
void SendPlaySpellVisualKit (uint32 id, uint32 type, uint32 duration) const
 
void SendCancelSpellVisualKit (uint32 id)
 
void CancelSpellMissiles (uint32 spellId, bool reverseMissile=false, bool abortSpell=false)
 
void DeMorph ()
 
void SendAttackStateUpdate (CalcDamageInfo *damageInfo)
 
void SendAttackStateUpdate (uint32 HitInfo, Unit *target, uint8 SwingType, SpellSchoolMask damageSchoolMask, uint32 Damage, uint32 AbsorbDamage, uint32 Resist, VictimState TargetState, uint32 BlockedAmount)
 
void SendSpellNonMeleeDamageLog (SpellNonMeleeDamage const *log)
 
void SendPeriodicAuraLog (SpellPeriodicAuraLogInfo *pInfo)
 
void SendSpellDamageResist (Unit *target, uint32 spellId)
 
void SendSpellDamageImmune (Unit *target, uint32 spellId, bool isPeriodic)
 
void NearTeleportTo (Position const &pos, bool casting=false)
 
void NearTeleportTo (float x, float y, float z, float orientation, bool casting=false)
 
void SendTeleportPacket (Position const &pos)
 
virtual bool UpdatePosition (float x, float y, float z, float ang, bool teleport=false)
 
virtual bool UpdatePosition (Position const &pos, bool teleport=false)
 
void UpdateOrientation (float orientation)
 Only server-side orientation update, does not broadcast to client. More...
 
void UpdateHeight (float newZ)
 Only server-side height update, does not broadcast to client. More...
 
void SendMoveKnockBack (Player *player, float speedXY, float speedZ, float vcos, float vsin)
 
void KnockbackFrom (Position const &origin, float speedXY, float speedZ, Movement::SpellEffectExtraData const *spellEffectExtraData=nullptr)
 
void JumpTo (float speedXY, float speedZ, float angle, Optional< Position > dest={})
 
void JumpTo (WorldObject *obj, float speedZ, bool withOrientation=false)
 
void MonsterMoveWithSpeed (float x, float y, float z, float speed, bool generatePath=false, bool forceDestination=false)
 
bool IsPlayingHoverAnim () const
 
void SetPlayHoverAnim (bool enable, bool sendUpdate=true)
 
void CalculateHoverHeight ()
 
void SetHoverHeight (float hoverHeight)
 
bool IsGravityDisabled () const
 
bool IsWalking () const
 
bool IsHovering () const
 
bool SetWalk (bool enable)
 
bool SetDisableGravity (bool disable, bool updateAnimTier=true)
 
bool SetFall (bool enable)
 
bool SetSwim (bool enable)
 
bool SetCanFly (bool enable)
 
bool SetWaterWalking (bool enable)
 
bool SetFeatherFall (bool enable)
 
bool SetHover (bool enable, bool updateAnimTier=true)
 
bool SetCollision (bool disable)
 
bool SetCanTransitionBetweenSwimAndFly (bool enable)
 
bool SetCanTurnWhileFalling (bool enable)
 
bool SetCanDoubleJump (bool enable)
 
bool SetDisableInertia (bool disable)
 
void SendSetVehicleRecId (uint32 vehicleId)
 
MovementForces const * GetMovementForces () const
 
void ApplyMovementForce (ObjectGuid id, Position origin, float magnitude, MovementForceType type, Position direction={}, ObjectGuid transportGuid=ObjectGuid::Empty)
 
void RemoveMovementForce (ObjectGuid id)
 
bool SetIgnoreMovementForces (bool ignore)
 
void UpdateMovementForcesModMagnitude ()
 
void SetInFront (WorldObject const *target)
 
void SetFacingTo (float const ori, bool force=true)
 
void SetFacingToObject (WorldObject const *object, bool force=true)
 
void SetFacingToPoint (Position const &point, bool force=true)
 
bool IsAlive () const
 
bool isDying () const
 
bool isDead () const
 
DeathState getDeathState () const
 
virtual void setDeathState (DeathState s)
 
ObjectGuid GetOwnerGUID () const override
 
void SetOwnerGUID (ObjectGuid owner)
 
ObjectGuid GetCreatorGUID () const override
 
void SetCreatorGUID (ObjectGuid creator)
 
ObjectGuid GetMinionGUID () const
 
void SetMinionGUID (ObjectGuid guid)
 
ObjectGuid GetPetGUID () const
 
void SetPetGUID (ObjectGuid guid)
 
ObjectGuid GetCritterGUID () const
 
void SetCritterGUID (ObjectGuid guid)
 
ObjectGuid GetBattlePetCompanionGUID () const
 
void SetBattlePetCompanionGUID (ObjectGuid guid)
 
ObjectGuid GetDemonCreatorGUID () const
 
void SetDemonCreatorGUID (ObjectGuid guid)
 
UnitGetDemonCreator () const
 
PlayerGetDemonCreatorPlayer () const
 
ObjectGuid GetCharmerGUID () const
 
UnitGetCharmer () const
 
ObjectGuid GetCharmedGUID () const
 
UnitGetCharmed () const
 
bool IsControlledByPlayer () const
 
PlayerGetControllingPlayer () const
 
ObjectGuid GetCharmerOrOwnerGUID () const override
 
bool IsCharmedOwnedByPlayerOrPlayer () const
 
GuardianGetGuardianPet () const
 
MinionGetFirstMinion () const
 
UnitGetCharmerOrOwner () const
 
void SetMinion (Minion *minion, bool apply)
 
void GetAllMinionsByEntry (std::list< TempSummon * > &Minions, uint32 entry)
 
void RemoveAllMinionsByEntry (uint32 entry)
 
void SetCharm (Unit *target, bool apply)
 
UnitGetNextRandomRaidMemberOrPet (float radius)
 
bool SetCharmedBy (Unit *charmer, CharmType type, AuraApplication const *aurApp=nullptr)
 
void RemoveCharmedBy (Unit *charmer)
 
void RestoreFaction ()
 
UnitGetFirstControlled () const
 
void RemoveAllControlled ()
 
bool IsCharmed () const
 
bool isPossessed () const
 
bool isPossessedByPlayer () const
 
bool isPossessing () const
 
bool isPossessing (Unit *u) const
 
CharmInfoGetCharmInfo ()
 
CharmInfoInitCharmInfo ()
 
void DeleteCharmInfo ()
 
void SetPetNumberForClient (uint32 petNumber)
 
void SetPetNameTimestamp (uint32 timestamp)
 
void SetMovedUnit (Unit *target)
 
UnitGetUnitBeingMoved () const
 
PlayerGetPlayerMovingMe () const
 
SharedVisionList const & GetSharedVisionList ()
 
void AddPlayerToVision (Player *player)
 
void RemovePlayerFromVision (Player *player)
 
bool HasSharedVision () const
 
void RemoveBindSightAuras ()
 
void RemoveCharmAuras ()
 
PetCreateTamedPetFrom (Creature *creatureTarget, uint32 spell_id=0)
 
PetCreateTamedPetFrom (uint32 creatureEntry, uint32 spell_id=0)
 
bool InitTamedPet (Pet *pet, uint8 level, uint32 spell_id)
 
uint32 GetBattlePetCompanionNameTimestamp () const
 
void SetBattlePetCompanionNameTimestamp (uint32 timestamp)
 
uint32 GetBattlePetCompanionExperience () const
 
void SetBattlePetCompanionExperience (uint32 experience)
 
uint32 GetWildBattlePetLevel () const
 
void SetWildBattlePetLevel (uint32 wildBattlePetLevel)
 
Aura_TryStackingOrRefreshingExistingAura (AuraCreateInfo &createInfo)
 
void _AddAura (UnitAura *aura, Unit *caster)
 
AuraApplication_CreateAuraApplication (Aura *aura, uint32 effMask)
 
void _ApplyAuraEffect (Aura *aura, uint8 effIndex)
 
void _ApplyAura (AuraApplication *aurApp, uint32 effMask)
 
void _UnapplyAura (AuraApplicationMap::iterator &i, AuraRemoveMode removeMode)
 
void _UnapplyAura (AuraApplication *aurApp, AuraRemoveMode removeMode)
 
void _RemoveNoStackAurasDueToAura (Aura *aura, bool owned)
 
void _RegisterAuraEffect (AuraEffect *aurEff, bool apply)
 
AuraMapGetOwnedAuras ()
 
AuraMap const & GetOwnedAuras () const
 
void RemoveOwnedAura (AuraMap::iterator &i, AuraRemoveMode removeMode=AURA_REMOVE_BY_DEFAULT)
 
void RemoveOwnedAura (uint32 spellId, ObjectGuid casterGUID=ObjectGuid::Empty, uint32 reqEffMask=0, AuraRemoveMode removeMode=AURA_REMOVE_BY_DEFAULT)
 
void RemoveOwnedAura (Aura *aura, AuraRemoveMode removeMode=AURA_REMOVE_BY_DEFAULT)
 
AuraGetOwnedAura (uint32 spellId, ObjectGuid casterGUID=ObjectGuid::Empty, ObjectGuid itemCasterGUID=ObjectGuid::Empty, uint32 reqEffMask=0, Aura *except=nullptr) const
 
AuraApplicationMapGetAppliedAuras ()
 
AuraApplicationMap const & GetAppliedAuras () const
 
void RemoveAura (AuraApplicationMap::iterator &i, AuraRemoveMode mode=AURA_REMOVE_BY_DEFAULT)
 
void RemoveAura (uint32 spellId, ObjectGuid casterGUID=ObjectGuid::Empty, uint32 reqEffMask=0, AuraRemoveMode removeMode=AURA_REMOVE_BY_DEFAULT)
 
void RemoveAura (AuraApplication *aurApp, AuraRemoveMode mode=AURA_REMOVE_BY_DEFAULT)
 
void RemoveAura (Aura *aur, AuraRemoveMode mode=AURA_REMOVE_BY_DEFAULT)
 
void RemoveAppliedAuras (std::function< bool(AuraApplication const *)> const &check, AuraRemoveMode removeMode=AURA_REMOVE_BY_DEFAULT)
 
void RemoveOwnedAuras (std::function< bool(Aura const *)> const &check, AuraRemoveMode removeMode=AURA_REMOVE_BY_DEFAULT)
 
void RemoveAppliedAuras (uint32 spellId, std::function< bool(AuraApplication const *)> const &check, AuraRemoveMode removeMode=AURA_REMOVE_BY_DEFAULT)
 
void RemoveOwnedAuras (uint32 spellId, std::function< bool(Aura const *)> const &check, AuraRemoveMode removeMode=AURA_REMOVE_BY_DEFAULT)
 
void RemoveAurasByType (AuraType auraType, std::function< bool(AuraApplication const *)> const &check, AuraRemoveMode removeMode=AURA_REMOVE_BY_DEFAULT)
 
void RemoveAurasDueToSpell (uint32 spellId, ObjectGuid casterGUID=ObjectGuid::Empty, uint32 reqEffMask=0, AuraRemoveMode removeMode=AURA_REMOVE_BY_DEFAULT)
 
void RemoveAuraFromStack (uint32 spellId, ObjectGuid casterGUID=ObjectGuid::Empty, AuraRemoveMode removeMode=AURA_REMOVE_BY_DEFAULT, uint16 num=1)
 
void RemoveAurasDueToSpellByDispel (uint32 spellId, uint32 dispellerSpellId, ObjectGuid casterGUID, WorldObject *dispeller, uint8 chargesRemoved=1)
 
void RemoveAurasDueToSpellBySteal (uint32 spellId, ObjectGuid casterGUID, WorldObject *stealer, int32 stolenCharges=1)
 
void RemoveAurasDueToItemSpell (uint32 spellId, ObjectGuid castItemGuid)
 
void RemoveAurasByType (AuraType auraType, ObjectGuid casterGUID=ObjectGuid::Empty, Aura *except=nullptr, bool negative=true, bool positive=true)
 
void RemoveNotOwnSingleTargetAuras (bool onPhaseChange=false)
 
template<typename InterruptFlags >
void RemoveAurasWithInterruptFlags (InterruptFlags flag, SpellInfo const *source=nullptr)
 
void RemoveAurasWithAttribute (uint32 flags)
 
void RemoveAurasWithFamily (SpellFamilyNames family, flag128 const &familyFlag, ObjectGuid casterGUID)
 
void RemoveAurasWithMechanic (uint64 mechanicMaskToRemove, AuraRemoveMode removeMode=AURA_REMOVE_BY_DEFAULT, uint32 exceptSpellId=0, bool withEffectMechanics=false)
 
void RemoveMovementImpairingAuras (bool withRoot)
 
void RemoveAurasByShapeShift ()
 
void RemoveAreaAurasDueToLeaveWorld ()
 
void RemoveAllAuras ()
 
void RemoveArenaAuras ()
 
void RemoveAurasOnEvade ()
 
void RemoveAllAurasOnDeath ()
 
void RemoveAllAurasRequiringDeadTarget ()
 
void RemoveAllAurasExceptType (AuraType type)
 
void RemoveAllAurasExceptType (AuraType type1, AuraType type2)
 
void RemoveAllGroupBuffsFromCaster (ObjectGuid casterGUID)
 
void DelayOwnedAuras (uint32 spellId, ObjectGuid caster, int32 delaytime)
 
void _RemoveAllAuraStatMods ()
 
void _ApplyAllAuraStatMods ()
 
AuraEffectList const & GetAuraEffectsByType (AuraType type) const
 
AuraEffectListGetAuraEffectsByType (AuraType type)
 
AuraListGetSingleCastAuras ()
 
AuraList const & GetSingleCastAuras () const
 
AuraEffectGetAuraEffect (uint32 spellId, uint8 effIndex, ObjectGuid casterGUID=ObjectGuid::Empty) const
 
AuraEffectGetAuraEffectOfRankedSpell (uint32 spellId, uint8 effIndex, ObjectGuid casterGUID=ObjectGuid::Empty) const
 
AuraEffectGetAuraEffect (AuraType type, SpellFamilyNames family, flag128 const &familyFlag, ObjectGuid casterGUID=ObjectGuid::Empty) const
 
AuraApplicationGetAuraApplication (uint32 spellId, ObjectGuid casterGUID=ObjectGuid::Empty, ObjectGuid itemCasterGUID=ObjectGuid::Empty, uint32 reqEffMask=0, AuraApplication *except=nullptr) const
 
AuraApplicationGetAuraApplication (uint32 spellId, std::function< bool(AuraApplication const *)> const &predicate) const
 
AuraApplicationGetAuraApplication (uint32 spellId, std::function< bool(Aura const *)> const &predicate) const
 
AuraApplicationGetAuraApplication (std::function< bool(AuraApplication const *)> const &predicate) const
 
AuraApplicationGetAuraApplication (std::function< bool(Aura const *)> const &predicate) const
 
AuraGetAura (uint32 spellId, ObjectGuid casterGUID=ObjectGuid::Empty, ObjectGuid itemCasterGUID=ObjectGuid::Empty, uint32 reqEffMask=0) const
 
AuraGetAura (uint32 spellId, std::function< bool(Aura const *)> const &predicate) const
 
AuraGetAura (std::function< bool(Aura const *)> const &predicate) const
 
AuraApplicationGetAuraApplicationOfRankedSpell (uint32 spellId, ObjectGuid casterGUID=ObjectGuid::Empty, ObjectGuid itemCasterGUID=ObjectGuid::Empty, uint32 reqEffMask=0, AuraApplication *except=nullptr) const
 
AuraGetAuraOfRankedSpell (uint32 spellId, ObjectGuid casterGUID=ObjectGuid::Empty, ObjectGuid itemCasterGUID=ObjectGuid::Empty, uint32 reqEffMask=0) const
 
void GetDispellableAuraList (WorldObject const *caster, uint32 dispelMask, DispelChargesList &dispelList, bool isReflect=false) const
 
bool HasAuraEffect (uint32 spellId, uint8 effIndex, ObjectGuid caster=ObjectGuid::Empty) const
 
uint32 GetAuraCount (uint32 spellId) const
 
bool HasAura (uint32 spellId, ObjectGuid casterGUID=ObjectGuid::Empty, ObjectGuid itemCasterGUID=ObjectGuid::Empty, uint32 reqEffMask=0) const
 
bool HasAura (std::function< bool(Aura const *)> const &predicate) const
 
bool HasAuraType (AuraType auraType) const
 
bool HasAuraTypeWithCaster (AuraType auraType, ObjectGuid caster) const
 
bool HasAuraTypeWithMiscvalue (AuraType auraType, int32 miscValue) const
 
bool HasAuraTypeWithAffectMask (AuraType auraType, SpellInfo const *affectedSpell) const
 
bool HasAuraTypeWithValue (AuraType auraType, int32 value) const
 
bool HasAuraTypeWithTriggerSpell (AuraType auratype, uint32 triggerSpell) const
 
template<typename InterruptFlags >
bool HasNegativeAuraWithInterruptFlag (InterruptFlags flag, ObjectGuid guid=ObjectGuid::Empty) const
 
bool HasAuraWithMechanic (uint64 mechanicMask) const
 
bool HasStrongerAuraWithDR (SpellInfo const *auraSpellInfo, Unit *caster) const
 
AuraEffectIsScriptOverriden (SpellInfo const *spell, int32 script) const
 
uint32 GetDiseasesByCaster (ObjectGuid casterGUID, bool remove=false)
 
uint32 GetDoTsByCaster (ObjectGuid casterGUID) const
 
int32 GetTotalAuraModifier (AuraType auraType) const
 
float GetTotalAuraMultiplier (AuraType auraType) const
 
int32 GetMaxPositiveAuraModifier (AuraType auraType) const
 
int32 GetMaxNegativeAuraModifier (AuraType auraType) const
 
int32 GetTotalAuraModifier (AuraType auraType, std::function< bool(AuraEffect const *)> const &predicate) const
 
float GetTotalAuraMultiplier (AuraType auraType, std::function< bool(AuraEffect const *)> const &predicate) const
 
int32 GetMaxPositiveAuraModifier (AuraType auraType, std::function< bool(AuraEffect const *)> const &predicate) const
 
int32 GetMaxNegativeAuraModifier (AuraType auraType, std::function< bool(AuraEffect const *)> const &predicate) const
 
int32 GetTotalAuraModifierByMiscMask (AuraType auraType, uint32 misc_mask) const
 
float GetTotalAuraMultiplierByMiscMask (AuraType auraType, uint32 misc_mask) const
 
int32 GetMaxPositiveAuraModifierByMiscMask (AuraType auraType, uint32 misc_mask, AuraEffect const *except=nullptr) const
 
int32 GetMaxNegativeAuraModifierByMiscMask (AuraType auraType, uint32 misc_mask) const
 
int32 GetTotalAuraModifierByMiscValue (AuraType auraType, int32 misc_value) const
 
float GetTotalAuraMultiplierByMiscValue (AuraType auraType, int32 misc_value) const
 
int32 GetMaxPositiveAuraModifierByMiscValue (AuraType auraType, int32 misc_value) const
 
int32 GetMaxNegativeAuraModifierByMiscValue (AuraType auraType, int32 misc_value) const
 
int32 GetTotalAuraModifierByAffectMask (AuraType auraType, SpellInfo const *affectedSpell) const
 
float GetTotalAuraMultiplierByAffectMask (AuraType auraType, SpellInfo const *affectedSpell) const
 
int32 GetMaxPositiveAuraModifierByAffectMask (AuraType auraType, SpellInfo const *affectedSpell) const
 
int32 GetMaxNegativeAuraModifierByAffectMask (AuraType auraType, SpellInfo const *affectedSpell) const
 
void InitStatBuffMods ()
 
void UpdateStatBuffMod (Stats stat)
 
void UpdateStatBuffModForClient (Stats stat)
 
void SetCreateStat (Stats stat, float val)
 
void SetCreateHealth (uint32 val)
 
uint32 GetCreateHealth () const
 
void SetCreateMana (uint32 val)
 
uint32 GetCreateMana () const
 
virtual int32 GetCreatePowerValue (Powers power) const
 
float GetPosStat (Stats stat) const
 
float GetNegStat (Stats stat) const
 
float GetCreateStat (Stats stat) const
 
uint32 GetChannelSpellId () const
 
void SetChannelSpellId (uint32 channelSpellId)
 
uint32 GetChannelSpellXSpellVisualId () const
 
uint32 GetChannelScriptVisualId () const
 
void SetChannelVisual (SpellCastVisual channelVisual)
 
void AddChannelObject (ObjectGuid guid)
 
void SetChannelObject (uint32 slot, ObjectGuid guid)
 
void RemoveChannelObject (ObjectGuid guid)
 
void ClearChannelObjects ()
 
void SetCurrentCastSpell (Spell *pSpell)
 
void InterruptSpell (CurrentSpellTypes spellType, bool withDelayed=true, bool withInstant=true)
 
void FinishSpell (CurrentSpellTypes spellType, SpellCastResult result=SPELL_CAST_OK)
 
bool IsNonMeleeSpellCast (bool withDelayed, bool skipChanneled=false, bool skipAutorepeat=false, bool isAutoshoot=false, bool skipInstant=true) const
 
void InterruptNonMeleeSpells (bool withDelayed, uint32 spellid=0, bool withInstant=true)
 
SpellGetCurrentSpell (CurrentSpellTypes spellType) const
 
SpellGetCurrentSpell (uint32 spellType) const
 
SpellFindCurrentSpellBySpellId (uint32 spell_id) const
 
int32 GetCurrentSpellCastTime (uint32 spell_id) const
 
virtual SpellInfo const * GetCastSpellInfo (SpellInfo const *spellInfo, TriggerCastFlags &triggerFlag) const
 
uint32 GetCastSpellXSpellVisualId (SpellInfo const *spellInfo) const override
 
virtual bool HasSpellFocus (Spell const *=nullptr) const
 
virtual bool IsMovementPreventedByCasting () const
 
bool CanCastSpellWhileMoving (SpellInfo const *spellInfo) const
 
bool IsSilenced (SpellSchoolMask schoolMask) const
 
void SetSilencedSchoolMask (SpellSchoolMask schoolMask)
 
void ReplaceAllSilencedSchoolMask (SpellSchoolMask schoolMask)
 
SpellHistoryGetSpellHistory ()
 
SpellHistory const * GetSpellHistory () const
 
ShapeshiftForm GetShapeshiftForm () const
 
void SetShapeshiftForm (ShapeshiftForm form)
 
bool IsInFeralForm () const
 
bool IsInDisallowedMountForm () const
 
bool IsDisallowedMountForm (uint32 spellId, ShapeshiftForm form, uint32 displayId) const
 
void HandleStatFlatModifier (UnitMods unitMod, UnitModifierFlatType modifierType, float amount, bool apply)
 
void ApplyStatPctModifier (UnitMods unitMod, UnitModifierPctType modifierType, float amount)
 
void SetStatFlatModifier (UnitMods unitMod, UnitModifierFlatType modifierType, float val)
 
void SetStatPctModifier (UnitMods unitMod, UnitModifierPctType modifierType, float val)
 
float GetFlatModifierValue (UnitMods unitMod, UnitModifierFlatType modifierType) const
 
float GetPctModifierValue (UnitMods unitMod, UnitModifierPctType modifierType) const
 
void UpdateUnitMod (UnitMods unitMod)
 
virtual bool CheckAttackFitToAuraRequirement (WeaponAttackType, AuraEffect const *) const
 
virtual void UpdateDamageDoneMods (WeaponAttackType attackType, int32 skipEnchantSlot=-1)
 
void UpdateAllDamageDoneMods ()
 
void UpdateDamagePctDoneMods (WeaponAttackType attackType)
 
void UpdateAllDamagePctDoneMods ()
 
float GetTotalStatValue (Stats stat) const
 
float GetTotalAuraModValue (UnitMods unitMod) const
 
SpellSchools GetSpellSchoolByAuraGroup (UnitMods unitMod) const
 
Stats GetStatByAuraGroup (UnitMods unitMod) const
 
bool CanModifyStats () const
 
void SetCanModifyStats (bool modifyStats)
 
virtual bool UpdateStats (Stats stat)=0
 
virtual bool UpdateAllStats ()=0
 
virtual void UpdateResistances (uint32 school)
 
virtual void UpdateAllResistances ()
 
virtual void UpdateArmor ()=0
 
virtual void UpdateMaxHealth ()=0
 
virtual void UpdateMaxPower (Powers power)=0
 
virtual uint32 GetPowerIndex (Powers power) const =0
 
virtual void UpdateAttackPowerAndDamage (bool ranged=false)=0
 
void SetAttackPower (int32 attackPower)
 
void SetAttackPowerModPos (int32 attackPowerMod)
 
void SetAttackPowerModNeg (int32 attackPowerMod)
 
void SetAttackPowerMultiplier (float attackPowerMult)
 
void SetRangedAttackPower (int32 attackPower)
 
void SetRangedAttackPowerModPos (int32 attackPowerMod)
 
void SetRangedAttackPowerModNeg (int32 attackPowerMod)
 
void SetRangedAttackPowerMultiplier (float attackPowerMult)
 
void SetMainHandWeaponAttackPower (int32 attackPower)
 
void SetOffHandWeaponAttackPower (int32 attackPower)
 
void SetRangedWeaponAttackPower (int32 attackPower)
 
virtual void UpdateDamagePhysical (WeaponAttackType attType)
 
float GetTotalAttackPowerValue (WeaponAttackType attType, bool includeWeapon=true) const
 
float GetWeaponDamageRange (WeaponAttackType attType, WeaponDamageRange type) const
 
void SetBaseWeaponDamage (WeaponAttackType attType, WeaponDamageRange damageRange, float value)
 
virtual void CalculateMinMaxDamage (WeaponAttackType attType, bool normalized, bool addTotalPct, float &minDamage, float &maxDamage) const =0
 
uint32 CalculateDamage (WeaponAttackType attType, bool normalized, bool addTotalPct) const
 
float GetAPMultiplier (WeaponAttackType attType, bool normalized) const
 
bool isInFrontInMap (Unit const *target, float distance, float arc=float(M_PI)) const
 
bool isInBackInMap (Unit const *target, float distance, float arc=float(M_PI)) const
 
bool IsVisible () const
 
void SetVisible (bool x)
 
virtual void OnPhaseChange ()
 
void UpdateObjectVisibility (bool forced=true) override
 
VisibleAuraContainer const & GetVisibleAuras () const
 
bool HasVisibleAura (AuraApplication *aurApp) const
 
void SetVisibleAura (AuraApplication *aurApp)
 
void RemoveVisibleAura (AuraApplication *aurApp)
 
void SetVisibleAuraUpdate (AuraApplication *aurApp)
 
void RemoveVisibleAuraUpdate (AuraApplication *aurApp)
 
bool HasInterruptFlag (SpellAuraInterruptFlags flags) const
 
bool HasInterruptFlag (SpellAuraInterruptFlags2 flags) const
 
void AddInterruptMask (SpellAuraInterruptFlags flags, SpellAuraInterruptFlags2 flags2)
 
void UpdateInterruptMask ()
 
virtual float GetNativeObjectScale () const
 
virtual void RecalculateObjectScale ()
 
uint32 GetDisplayId () const
 
float GetDisplayScale () const
 
virtual void SetDisplayId (uint32 displayId, bool setNative=false)
 
uint32 GetNativeDisplayId () const
 
float GetNativeDisplayScale () const
 
void RestoreDisplayId (bool ignorePositiveAurasPreventingMounting=false)
 
void SetTransformSpell (uint32 spellid)
 
uint32 GetTransformSpell () const
 
void _RegisterDynObject (DynamicObject *dynObj)
 
void _UnregisterDynObject (DynamicObject *dynObj)
 
DynamicObjectGetDynObject (uint32 spellId) const
 
std::vector< DynamicObject * > GetDynObjects (uint32 spellId) const
 
void RemoveDynObject (uint32 spellId)
 
void RemoveAllDynObjects ()
 
GameObjectGetGameObject (uint32 spellId) const
 
std::vector< GameObject * > GetGameObjects (uint32 spellId) const
 
void AddGameObject (GameObject *gameObj)
 
void RemoveGameObject (GameObject *gameObj, bool del)
 
void RemoveGameObject (uint32 spellid, bool del)
 
void RemoveAllGameObjects ()
 
void _RegisterAreaTrigger (AreaTrigger *areaTrigger)
 
void _UnregisterAreaTrigger (AreaTrigger *areaTrigger)
 
AreaTriggerGetAreaTrigger (uint32 spellId) const
 
std::vector< AreaTrigger * > GetAreaTriggers (uint32 spellId) const
 
void RemoveAreaTrigger (uint32 spellId)
 
void RemoveAreaTrigger (AuraEffect const *aurEff)
 
void RemoveAllAreaTriggers ()
 
void ModifyAuraState (AuraStateType flag, bool apply)
 
uint32 BuildAuraStateUpdateForTarget (Unit const *target) const
 
bool HasAuraState (AuraStateType flag, SpellInfo const *spellProto=nullptr, Unit const *Caster=nullptr) const
 
void UnsummonAllTotems ()
 
bool IsMagnet () const
 
UnitGetMeleeHitRedirectTarget (Unit *victim, SpellInfo const *spellInfo=nullptr)
 
int32 SpellBaseDamageBonusDone (SpellSchoolMask schoolMask) const
 
int32 SpellDamageBonusDone (Unit *victim, SpellInfo const *spellProto, int32 pdamage, DamageEffectType damagetype, SpellEffectInfo const &spellEffectInfo, uint32 stack=1, Spell *spell=nullptr, AuraEffect const *aurEff=nullptr) const
 
float SpellDamagePctDone (Unit *victim, SpellInfo const *spellProto, DamageEffectType damagetype, SpellEffectInfo const &spellEffectInfo) const
 
int32 SpellDamageBonusTaken (Unit *caster, SpellInfo const *spellProto, int32 pdamage, DamageEffectType damagetype) const
 
int32 SpellBaseHealingBonusDone (SpellSchoolMask schoolMask) const
 
int32 SpellHealingBonusDone (Unit *victim, SpellInfo const *spellProto, int32 healamount, DamageEffectType damagetype, SpellEffectInfo const &spellEffectInfo, uint32 stack=1, Spell *spell=nullptr, AuraEffect const *aurEff=nullptr) const
 
float SpellHealingPctDone (Unit *victim, SpellInfo const *spellProto) const
 
int32 SpellHealingBonusTaken (Unit *caster, SpellInfo const *spellProto, int32 healamount, DamageEffectType damagetype) const
 
int32 MeleeDamageBonusDone (Unit *pVictim, int32 damage, WeaponAttackType attType, DamageEffectType damagetype, SpellInfo const *spellProto=nullptr, Mechanics mechanic=MECHANIC_NONE, SpellSchoolMask damageSchoolMask=SPELL_SCHOOL_MASK_NORMAL, Spell *spell=nullptr, AuraEffect const *aurEff=nullptr)
 
int32 MeleeDamageBonusTaken (Unit *attacker, int32 pdamage, WeaponAttackType attType, DamageEffectType damagetype, SpellInfo const *spellProto=nullptr, SpellSchoolMask damageSchoolMask=SPELL_SCHOOL_MASK_NORMAL)
 
bool IsBlockCritical ()
 
float SpellCritChanceDone (Spell *spell, AuraEffect const *aurEff, SpellSchoolMask schoolMask, WeaponAttackType attackType=BASE_ATTACK) const
 
float SpellCritChanceTaken (Unit const *caster, Spell *spell, AuraEffect const *aurEff, SpellSchoolMask schoolMask, float doneChance, WeaponAttackType attackType=BASE_ATTACK) const
 
void ApplySpellImmune (uint32 spellId, SpellImmunity op, uint32 type, bool apply)
 
bool IsImmunedToSpell (SpellInfo const *spellInfo, WorldObject const *caster, bool requireImmunityPurgesEffectAttribute=false) const
 
uint32 GetSchoolImmunityMask () const
 
uint32 GetDamageImmunityMask () const
 
uint64 GetMechanicImmunityMask () const
 
EnumFlag< SpellOtherImmunityGetSpellOtherImmunityMask () const
 
bool IsImmunedToDamage (SpellSchoolMask meleeSchoolMask) const
 
bool IsImmunedToDamage (SpellInfo const *spellInfo, SpellEffectInfo const *spellEffectInfo=nullptr) const
 
virtual bool IsImmunedToSpellEffect (SpellInfo const *spellInfo, SpellEffectInfo const &spellEffectInfo, WorldObject const *caster, bool requireImmunityPurgesEffectAttribute=false) const
 
void UpdateSpeed (UnitMoveType mtype)
 
float GetSpeed (UnitMoveType mtype) const
 
float GetSpeedRate (UnitMoveType mtype) const
 
void SetSpeed (UnitMoveType mtype, float newValue)
 
void SetSpeedRate (UnitMoveType mtype, float rate)
 
void FollowerAdded (AbstractFollower *f)
 
void FollowerRemoved (AbstractFollower *f)
 
void RemoveAllFollowers ()
 
MotionMasterGetMotionMaster ()
 
MotionMaster const * GetMotionMaster () const
 
virtual MovementGeneratorType GetDefaultMovementType () const
 
bool IsStopped () const
 
void StopMoving ()
 
void PauseMovement (uint32 timer=0, uint8 slot=0, bool forced=true)
 
void ResumeMovement (uint32 timer=0, uint8 slot=0)
 
void AddUnitMovementFlag (uint32 f)
 
void RemoveUnitMovementFlag (uint32 f)
 
bool HasUnitMovementFlag (uint32 f) const
 
uint32 GetUnitMovementFlags () const
 
void SetUnitMovementFlags (uint32 f)
 
void AddExtraUnitMovementFlag (uint32 f)
 
void RemoveExtraUnitMovementFlag (uint32 f)
 
bool HasExtraUnitMovementFlag (uint32 f) const
 
uint32 GetExtraUnitMovementFlags () const
 
void SetExtraUnitMovementFlags (uint32 f)
 
void AddExtraUnitMovementFlag2 (uint32 f)
 
void RemoveExtraUnitMovementFlag2 (uint32 f)
 
bool HasExtraUnitMovementFlag2 (uint32 f) const
 
uint32 GetExtraUnitMovementFlags2 () const
 
void SetExtraUnitMovementFlags2 (uint32 f)
 
bool IsSplineEnabled () const
 
void SetControlled (bool apply, UnitState state)
 
void ApplyControlStatesIfNeeded ()
 
void SendPetActionFeedback (PetActionFeedback msg, uint32 spellId)
 -------—Pet responses methods--------------— More...
 
void SendPetTalk (uint32 pettalk)
 
void SendPetAIReaction (ObjectGuid guid)
 
void PropagateSpeedChange ()
 -------—End of Pet responses methods-------— More...
 
void ClearAllReactives ()
 
void StartReactiveTimer (ReactiveType reactive)
 
void UpdateReactives (uint32 p_time)
 
void UpdateAuraForGroup ()
 
bool CanProc () const
 
void SetCantProc (bool apply)
 
int32 GetProcChainLength () const
 
uint32 GetModelForForm (ShapeshiftForm form, uint32 spellId) const
 
bool CreateVehicleKit (uint32 id, uint32 creatureEntry, bool loading=false)
 
void RemoveVehicleKit (bool onRemoveFromWorld=false)
 
VehicleGetVehicleKit () const
 
Trinity::unique_weak_ptr< VehicleGetVehicleKitWeakPtr () const
 
VehicleGetVehicle () const
 
void SetVehicle (Vehicle *vehicle)
 
bool IsOnVehicle (Unit const *vehicle) const
 
UnitGetVehicleBase () const
 
UnitGetVehicleRoot () const
 
CreatureGetVehicleCreatureBase () const
 
ObjectGuid GetTransGUID () const override
 
TransportBaseGetDirectTransport () const
 Returns the transport this unit is on directly (if on vehicle and transport, return vehicle) More...
 
void HandleSpellClick (Unit *clicker, int8 seatId=-1)
 
void EnterVehicle (Unit *base, int8 seatId=-1)
 
virtual void ExitVehicle (Position const *exitPosition=nullptr)
 
void ChangeSeat (int8 seatId, bool next=true)
 
void _ExitVehicle (Position const *exitPosition=nullptr)
 
void _EnterVehicle (Vehicle *vehicle, int8 seatId, AuraApplication const *aurApp=nullptr)
 
bool isMoving () const
 
bool isTurning () const
 
virtual bool CanFly () const =0
 
bool IsFlying () const
 
bool IsFalling () const
 
virtual bool CanEnterWater () const =0
 
virtual bool CanSwim () const
 
float GetHoverOffset () const
 
void RewardRage (uint32 baseRage)
 
virtual float GetFollowAngle () const
 
void OutDebugInfo () const
 
virtual bool IsLoading () const
 
bool IsDuringRemoveFromWorld () const
 
PetToPet ()
 
Pet const * ToPet () const
 
TotemToTotem ()
 
Totem const * ToTotem () const
 
TempSummonToTempSummon ()
 
TempSummon const * ToTempSummon () const
 
ObjectGuid GetTarget () const
 
virtual void SetTarget (ObjectGuid const &)=0
 
void SetInstantCast (bool set)
 
bool CanInstantCast () const
 
int32 GetHighestExclusiveSameEffectSpellGroupValue (AuraEffect const *aurEff, AuraType auraType, bool checkMiscValue=false, int32 miscValue=0) const
 
bool IsHighestExclusiveAura (Aura const *aura, bool removeOtherAuraApplications=false)
 
bool IsHighestExclusiveAuraEffect (SpellInfo const *spellInfo, AuraType auraType, int32 effectAmount, uint32 auraEffectMask, bool removeOtherAuraApplications=false)
 
virtual void Talk (std::string_view text, ChatMsg msgType, Language language, float textRange, WorldObject const *target)
 
virtual void Say (std::string_view text, Language language, WorldObject const *target=nullptr)
 
virtual void Yell (std::string_view text, Language language, WorldObject const *target=nullptr)
 
virtual void TextEmote (std::string_view text, WorldObject const *target=nullptr, bool isBossEmote=false)
 
virtual void Whisper (std::string_view text, Language language, Player *target, bool isBossWhisper=false)
 
virtual void Talk (uint32 textId, ChatMsg msgType, float textRange, WorldObject const *target)
 
virtual void Say (uint32 textId, WorldObject const *target=nullptr)
 
virtual void Yell (uint32 textId, WorldObject const *target=nullptr)
 
virtual void TextEmote (uint32 textId, WorldObject const *target=nullptr, bool isBossEmote=false)
 
virtual void Whisper (uint32 textId, Player *target, bool isBossWhisper=false)
 
void ClearBossEmotes (Optional< uint32 > zoneId={}, Player const *target=nullptr) const
 Clears boss emotes frame. More...
 
float GetCollisionHeight () const override
 
uint32 GetVirtualItemId (uint32 slot) const
 
uint16 GetVirtualItemAppearanceMod (uint32 slot) const
 
void SetVirtualItem (uint32 slot, uint32 itemId, uint16 appearanceModId=0, uint16 itemVisual=0)
 
bool IsCombatDisallowed () const
 
void SetIsCombatDisallowed (bool apply)
 
void AddWorldEffect (int32 worldEffectId)
 
void RemoveWorldEffect (int32 worldEffectId)
 
void ClearWorldEffects ()
 
Vignettes::VignetteData const * GetVignette () const
 
void SetVignette (uint32 vignetteId)
 
std::string GetDebugInfo () const override
 
void BuildValuesUpdateWithFlag (ByteBuffer *data, UF::UpdateFieldFlag flags, Player const *target) const override
 
void BuildValuesUpdateForPlayerWithMask (UpdateData *data, UF::ObjectData::Mask const &requestedObjectMask, UF::UnitData::Mask const &requestedUnitMask, Player const *target) const
 
void AtStartOfEncounter (EncounterType type)
 
void AtEndOfEncounter (EncounterType type)
 
- Public Member Functions inherited from WorldObject
virtual ~WorldObject ()
 
virtual void Update (uint32 diff)
 
void AddToWorld () override
 
void RemoveFromWorld () override
 
void GetNearPoint2D (WorldObject const *searcher, float &x, float &y, float distance, float absAngle) const
 
void GetNearPoint (WorldObject const *searcher, float &x, float &y, float &z, float distance2d, float absAngle) const
 
void GetClosePoint (float &x, float &y, float &z, float size, float distance2d=0, float relAngle=0) const
 
void MovePosition (Position &pos, float dist, float angle)
 
Position GetNearPosition (float dist, float angle)
 
void MovePositionToFirstCollision (Position &pos, float dist, float angle)
 
Position GetFirstCollisionPosition (float dist, float angle)
 
Position GetRandomNearPosition (float radius)
 
void GetContactPoint (WorldObject const *obj, float &x, float &y, float &z, float distance2d=CONTACT_DISTANCE) const
 
virtual float GetCombatReach () const
 
void UpdateGroundPositionZ (float x, float y, float &z) const
 
void UpdateAllowedPositionZ (float x, float y, float &z, float *groundZ=nullptr) const
 
void GetRandomPoint (Position const &srcPos, float distance, float &rand_x, float &rand_y, float &rand_z) const
 
Position GetRandomPoint (Position const &srcPos, float distance) const
 
uint32 GetInstanceId () const
 
PhaseShiftGetPhaseShift ()
 
PhaseShift const & GetPhaseShift () const
 
PhaseShiftGetSuppressedPhaseShift ()
 
PhaseShift const & GetSuppressedPhaseShift () const
 
bool InSamePhase (PhaseShift const &phaseShift) const
 
bool InSamePhase (WorldObject const *obj) const
 
int32 GetDBPhase () const
 
void SetDBPhase (int32 p)
 
uint32 GetZoneId () const
 
uint32 GetAreaId () const
 
void GetZoneAndAreaId (uint32 &zoneid, uint32 &areaid) const
 
bool IsInWorldPvpZone () const
 
bool IsOutdoors () const
 
ZLiquidStatus GetLiquidStatus () const
 
WmoLocation const * GetCurrentWmo () const
 
InstanceScriptGetInstanceScript () const
 
std::string const & GetName () const
 
void SetName (std::string newname)
 
std::string GetNameForLocaleIdx (LocaleConstant) const override
 
float GetDistance (WorldObject const *obj) const
 
float GetDistance (Position const &pos) const
 
float GetDistance (float x, float y, float z) const
 
float GetDistance2d (WorldObject const *obj) const
 
float GetDistance2d (float x, float y) const
 
float GetDistanceZ (WorldObject const *obj) const
 
bool IsSelfOrInSameMap (WorldObject const *obj) const
 
bool IsInMap (WorldObject const *obj) const
 
bool IsWithinDist3d (float x, float y, float z, float dist) const
 
bool IsWithinDist3d (Position const *pos, float dist) const
 
bool IsWithinDist2d (float x, float y, float dist) const
 
bool IsWithinDist2d (Position const *pos, float dist) const
 
bool IsWithinDist (WorldObject const *obj, float dist2compare, bool is3D=true, bool incOwnRadius=true, bool incTargetRadius=true) const
 
bool IsWithinDistInMap (WorldObject const *obj, float dist2compare, bool is3D=true, bool incOwnRadius=true, bool incTargetRadius=true) const
 
bool IsWithinLOS (float x, float y, float z, LineOfSightChecks checks=LINEOFSIGHT_ALL_CHECKS, VMAP::ModelIgnoreFlags ignoreFlags=VMAP::ModelIgnoreFlags::Nothing) const
 
bool IsWithinLOSInMap (WorldObject const *obj, LineOfSightChecks checks=LINEOFSIGHT_ALL_CHECKS, VMAP::ModelIgnoreFlags ignoreFlags=VMAP::ModelIgnoreFlags::Nothing) const
 
Position GetHitSpherePointFor (Position const &dest) const
 
void GetHitSpherePointFor (Position const &dest, float &x, float &y, float &z) const
 
bool GetDistanceOrder (WorldObject const *obj1, WorldObject const *obj2, bool is3D=true) const
 
bool IsInRange (WorldObject const *obj, float minRange, float maxRange, bool is3D=true) const
 
bool IsInRange2d (float x, float y, float minRange, float maxRange) const
 
bool IsInRange3d (float x, float y, float z, float minRange, float maxRange) const
 
bool isInFront (WorldObject const *target, float arc=float(M_PI)) const
 
bool isInBack (WorldObject const *target, float arc=float(M_PI)) const
 
bool IsInBetween (Position const &pos1, Position const &pos2, float size=0) const
 
bool IsInBetween (WorldObject const *obj1, WorldObject const *obj2, float size=0) const
 
virtual void CleanupsBeforeDelete (bool finalCleanup=true)
 
virtual void SendMessageToSet (WorldPacket const *data, bool self) const
 
virtual void SendMessageToSetInRange (WorldPacket const *data, float dist, bool self) const
 
virtual void SendMessageToSet (WorldPacket const *data, Player const *skipped_rcvr) const
 
void SendCombatLogMessage (WorldPackets::CombatLog::CombatLogServerPacket *combatLog) const
 
virtual uint8 GetLevelForTarget (WorldObject const *) const
 
void PlayDistanceSound (uint32 soundId, Player const *target=nullptr) const
 
void StopDistanceSound (Player const *target=nullptr) const
 
void PlayDirectSound (uint32 soundId, Player const *target=nullptr, uint32 broadcastTextId=0) const
 
void PlayDirectMusic (uint32 musicId, Player const *target=nullptr) const
 
void PlayObjectSound (int32 soundKitId, ObjectGuid targetObject, Player const *target=nullptr, int32 broadcastTextId=0) const
 
void AddObjectToRemoveList ()
 
float GetGridActivationRange () const
 
float GetVisibilityRange () const
 
float GetSightRange (WorldObject const *target=nullptr) const
 
bool CanSeeOrDetect (WorldObject const *obj, bool implicitDetect=false, bool distanceCheck=false, bool checkAlert=false) const
 
virtual void SetMap (Map *map)
 
virtual void ResetMap ()
 
MapGetMap () const
 
MapFindMap () const
 
void SetZoneScript ()
 
ZoneScriptFindZoneScript () const
 
ZoneScriptGetZoneScript () const
 
ScenarioGetScenario () const
 
TempSummonSummonCreature (uint32 entry, Position const &pos, TempSummonType despawnType=TEMPSUMMON_MANUAL_DESPAWN, Milliseconds despawnTime=0s, uint32 vehId=0, uint32 spellId=0, ObjectGuid privateObjectOwner=ObjectGuid::Empty)
 
TempSummonSummonCreature (uint32 entry, float x, float y, float z, float o=0, TempSummonType despawnType=TEMPSUMMON_MANUAL_DESPAWN, Milliseconds despawnTime=0s, ObjectGuid privateObjectOwner=ObjectGuid::Empty)
 
TempSummonSummonPersonalClone (Position const &pos, TempSummonType despawnType=TEMPSUMMON_MANUAL_DESPAWN, Milliseconds despawnTime=0s, uint32 vehId=0, uint32 spellId=0, Player *privateObjectOwner=nullptr)
 
GameObjectSummonGameObject (uint32 entry, Position const &pos, QuaternionData const &rot, Seconds respawnTime, GOSummonType summonType=GO_SUMMON_TIMED_OR_CORPSE_DESPAWN)
 
GameObjectSummonGameObject (uint32 entry, float x, float y, float z, float ang, QuaternionData const &rot, Seconds respawnTime, GOSummonType summonType=GO_SUMMON_TIMED_OR_CORPSE_DESPAWN)
 
CreatureSummonTrigger (float x, float y, float z, float ang, Milliseconds despawnTime, CreatureAI *(*GetAI)(Creature *)=nullptr)
 
void SummonCreatureGroup (uint8 group, std::list< TempSummon * > *list=nullptr)
 
CreatureFindNearestCreature (uint32 entry, float range, bool alive=true) const
 
CreatureFindNearestCreatureWithOptions (float range, FindCreatureOptions const &options) const
 
GameObjectFindNearestGameObject (uint32 entry, float range, bool spawnedOnly=true) const
 
GameObjectFindNearestGameObjectWithOptions (float range, FindGameObjectOptions const &options) const
 
GameObjectFindNearestUnspawnedGameObject (uint32 entry, float range) const
 
GameObjectFindNearestGameObjectOfType (GameobjectTypes type, float range) const
 
PlayerSelectNearestPlayer (float range) const
 
virtual ObjectGuid GetCreatorGUID () const =0
 
virtual ObjectGuid GetOwnerGUID () const =0
 
virtual ObjectGuid GetCharmerOrOwnerGUID () const
 
ObjectGuid GetCharmerOrOwnerOrOwnGUID () const
 
UnitGetOwner () const
 
UnitGetCharmerOrOwner () const
 
UnitGetCharmerOrOwnerOrSelf () const
 
PlayerGetCharmerOrOwnerPlayerOrPlayerItself () const
 
PlayerGetAffectingPlayer () const
 
PlayerGetSpellModOwner () const
 
int32 CalculateSpellDamage (Unit const *target, SpellEffectInfo const &spellEffectInfo, int32 const *basePoints=nullptr, float *variance=nullptr, uint32 castItemId=0, int32 itemLevel=-1) const
 
float GetSpellMaxRangeForTarget (Unit const *target, SpellInfo const *spellInfo) const
 
float GetSpellMinRangeForTarget (Unit const *target, SpellInfo const *spellInfo) const
 
double ApplyEffectModifiers (SpellInfo const *spellInfo, uint8 effIndex, double value) const
 
int32 CalcSpellDuration (SpellInfo const *spellInfo, std::vector< SpellPowerCost > const *powerCosts) const
 
int32 ModSpellDuration (SpellInfo const *spellInfo, WorldObject const *target, int32 duration, bool positive, uint32 effectMask) const
 
void ModSpellCastTime (SpellInfo const *spellInfo, int32 &castTime, Spell *spell=nullptr) const
 
void ModSpellDurationTime (SpellInfo const *spellInfo, int32 &durationTime, Spell *spell=nullptr) const
 
virtual float MeleeSpellMissChance (Unit const *victim, WeaponAttackType attType, SpellInfo const *spellInfo) const
 
virtual SpellMissInfo MeleeSpellHitResult (Unit *victim, SpellInfo const *spellInfo) const
 
SpellMissInfo MagicSpellHitResult (Unit *victim, SpellInfo const *spellInfo) const
 
SpellMissInfo SpellHitResult (Unit *victim, SpellInfo const *spellInfo, bool canReflect=false) const
 
void SendSpellMiss (Unit *target, uint32 spellID, SpellMissInfo missInfo)
 
virtual uint32 GetFaction () const =0
 
virtual void SetFaction (uint32)
 
FactionTemplateEntry const * GetFactionTemplateEntry () const
 
ReputationRank GetReactionTo (WorldObject const *target) const
 
bool IsHostileTo (WorldObject const *target) const
 
bool IsHostileToPlayers () const
 
bool IsFriendlyTo (WorldObject const *target) const
 
bool IsNeutralToAll () const
 
SpellCastResult CastSpell (CastSpellTargetArg const &targets, uint32 spellId, CastSpellExtraArgs const &args={ })
 
void SendPlayOrphanSpellVisual (ObjectGuid const &target, uint32 spellVisualId, float travelSpeed, bool speedAsTime=false, bool withSourceOrientation=false)
 
void SendPlayOrphanSpellVisual (Position const &targetLocation, uint32 spellVisualId, float travelSpeed, bool speedAsTime=false, bool withSourceOrientation=false)
 
void SendCancelOrphanSpellVisual (uint32 id)
 
bool IsValidAttackTarget (WorldObject const *target, SpellInfo const *bySpell=nullptr) const
 
bool IsValidAssistTarget (WorldObject const *target, SpellInfo const *bySpell=nullptr) const
 
UnitGetMagicHitRedirectTarget (Unit *victim, SpellInfo const *spellInfo)
 
virtual uint32 GetCastSpellXSpellVisualId (SpellInfo const *spellInfo) const
 
template<typename Container >
void GetGameObjectListWithEntryInGrid (Container &gameObjectContainer, uint32 entry, float maxSearchRange=250.0f) const
 
template<typename Container >
void GetGameObjectListWithOptionsInGrid (Container &gameObjectContainer, float maxSearchRange, FindGameObjectOptions const &options) const
 
template<typename Container >
void GetCreatureListWithEntryInGrid (Container &creatureContainer, uint32 entry, float maxSearchRange=250.0f) const
 
template<typename Container >
void GetCreatureListWithOptionsInGrid (Container &creatureContainer, float maxSearchRange, FindCreatureOptions const &options) const
 
template<typename Container >
void GetPlayerListInGrid (Container &playerContainer, float maxSearchRange, bool alive=true) const
 
void DestroyForNearbyPlayers ()
 
virtual void UpdateObjectVisibility (bool forced=true)
 
virtual void UpdateObjectVisibilityOnCreate ()
 
virtual void UpdateObjectVisibilityOnDestroy ()
 
void UpdatePositionData ()
 
void BuildUpdate (UpdateDataMapType &) override
 
bool AddToObjectUpdate () override
 
void RemoveFromObjectUpdate () override
 
void AddToNotify (uint16 f)
 
bool isNeedNotify (uint16 f) const
 
uint16 GetNotifyFlags () const
 
void ResetAllNotifies ()
 
bool isActiveObject () const
 
void setActive (bool isActiveObject)
 
bool IsFarVisible () const
 
void SetFarVisible (bool on)
 
bool IsVisibilityOverridden () const
 
void SetVisibilityDistanceOverride (VisibilityDistanceType type)
 
void SetIsStoredInWorldObjectGridContainer (bool apply)
 
bool IsAlwaysStoredInWorldObjectGridContainer () const
 
bool IsStoredInWorldObjectGridContainer () const
 
TransportBaseGetTransport () const
 
float GetTransOffsetX () const
 
float GetTransOffsetY () const
 
float GetTransOffsetZ () const
 
float GetTransOffsetO () const
 
Position const & GetTransOffset () const
 
uint32 GetTransTime () const
 
int8 GetTransSeat () const
 
virtual ObjectGuid GetTransGUID () const
 
void SetTransport (TransportBase *t)
 
virtual float GetStationaryX () const
 
virtual float GetStationaryY () const
 
virtual float GetStationaryZ () const
 
virtual float GetStationaryO () const
 
float GetFloorZ () const
 
virtual float GetCollisionHeight () const
 
float GetMapWaterOrGroundLevel (float x, float y, float z, float *ground=nullptr) const
 
float GetMapHeight (float x, float y, float z, bool vmap=true, float distanceToSearch=50.0f) const
 
std::string GetDebugInfo () const override
 
virtual uint16 GetAIAnimKitId () const
 
virtual uint16 GetMovementAnimKitId () const
 
virtual uint16 GetMeleeAnimKitId () const
 
bool IsPrivateObject () const
 
ObjectGuid GetPrivateObjectOwner () const
 
void SetPrivateObjectOwner (ObjectGuid const &owner)
 
bool CheckPrivateObjectOwnerVisibility (WorldObject const *seer) const
 
SmoothPhasingGetOrCreateSmoothPhasing ()
 
SmoothPhasingGetSmoothPhasing ()
 
SmoothPhasing const * GetSmoothPhasing () const
 
- Public Member Functions inherited from Object
virtual ~Object ()
 
bool IsInWorld () const
 
virtual void AddToWorld ()
 
virtual void RemoveFromWorld ()
 
ObjectGuid const & GetGUID () const
 
uint32 GetEntry () const
 
void SetEntry (uint32 entry)
 
float GetObjectScale () const
 
virtual void SetObjectScale (float scale)
 
uint32 GetDynamicFlags () const
 
bool HasDynamicFlag (uint32 flag) const
 
void SetDynamicFlag (uint32 flag)
 
void RemoveDynamicFlag (uint32 flag)
 
void ReplaceAllDynamicFlags (uint32 flag)
 
TypeID GetTypeId () const
 
bool isType (uint16 mask) const
 
virtual void BuildCreateUpdateBlockForPlayer (UpdateData *data, Player *target) const
 
void SendUpdateToPlayer (Player *player)
 
void BuildValuesUpdateBlockForPlayer (UpdateData *data, Player const *target) const
 
void BuildValuesUpdateBlockForPlayerWithFlag (UpdateData *data, UF::UpdateFieldFlag flags, Player const *target) const
 
void BuildDestroyUpdateBlock (UpdateData *data) const
 
void BuildOutOfRangeUpdateBlock (UpdateData *data) const
 
ByteBufferPrepareValuesUpdateBuffer (UpdateData *data) const
 
virtual void DestroyForPlayer (Player *target) const
 
void SendOutOfRangeForPlayer (Player *target) const
 
virtual void ClearUpdateMask (bool remove)
 
virtual std::string GetNameForLocaleIdx (LocaleConstant locale) const =0
 
virtual bool hasQuest (uint32) const
 
virtual bool hasInvolvedQuest (uint32) const
 
void SetIsNewObject (bool enable)
 
bool IsDestroyedObject () const
 
void SetDestroyedObject (bool destroyed)
 
virtual void BuildUpdate (UpdateDataMapType &)
 
void BuildFieldsUpdate (Player *, UpdateDataMapType &) const
 
bool IsWorldObject () const
 
WorldObjectToWorldObject ()
 
WorldObject const * ToWorldObject () const
 
bool IsItem () const
 
ItemToItem ()
 
Item const * ToItem () const
 
bool IsPlayer () const
 
PlayerToPlayer ()
 
Player const * ToPlayer () const
 
bool IsCreature () const
 
CreatureToCreature ()
 
Creature const * ToCreature () const
 
bool IsUnit () const
 
UnitToUnit ()
 
Unit const * ToUnit () const
 
bool IsGameObject () const
 
GameObjectToGameObject ()
 
GameObject const * ToGameObject () const
 
bool IsCorpse () const
 
CorpseToCorpse ()
 
Corpse const * ToCorpse () const
 
bool IsDynObject () const
 
DynamicObjectToDynObject ()
 
DynamicObject const * ToDynObject () const
 
bool IsAreaTrigger () const
 
AreaTriggerToAreaTrigger ()
 
AreaTrigger const * ToAreaTrigger () const
 
bool IsSceneObject () const
 
SceneObjectToSceneObject ()
 
SceneObject const * ToSceneObject () const
 
bool IsConversation () const
 
ConversationToConversation ()
 
Conversation const * ToConversation () const
 
template<typename T >
void ForceUpdateFieldChange (UF::UpdateFieldSetter< T > const &)
 
virtual std::string GetDebugInfo () const
 
Trinity::unique_weak_ptr< ObjectGetWeakPtr () const
 
virtual LootGetLootForPlayer (Player const *player) const
 
virtual void BuildValuesUpdateWithFlag (ByteBuffer *data, UF::UpdateFieldFlag flags, Player const *target) const
 
- Public Member Functions inherited from WorldLocation
constexpr WorldLocation (uint32 mapId=MAPID_INVALID, float x=0.f, float y=0.f, float z=0.f, float o=0.f)
 
constexpr WorldLocation (uint32 mapId, Position const &position)
 
constexpr void WorldRelocate (WorldLocation const &loc)
 
constexpr void WorldRelocate (WorldLocation const *loc)
 
constexpr void WorldRelocate (uint32 mapId, Position const &pos)
 
constexpr void WorldRelocate (uint32 mapId=MAPID_INVALID, float x=0.f, float y=0.f, float z=0.f, float o=0.f)
 
constexpr WorldLocation GetWorldLocation () const
 
constexpr uint32 GetMapId () const
 
std::string GetDebugInfo () const
 
- Public Member Functions inherited from Position
constexpr Position (float x=0, float y=0, float z=0, float o=0)
 
bool operator== (Position const &a) const
 
constexpr void Relocate (float x, float y)
 
constexpr void Relocate (float x, float y, float z)
 
constexpr void Relocate (float x, float y, float z, float o)
 
constexpr void Relocate (Position const &pos)
 
constexpr void Relocate (Position const *pos)
 
void RelocateOffset (Position const &offset)
 
constexpr void SetOrientation (float orientation)
 
constexpr float GetPositionX () const
 
constexpr float GetPositionY () const
 
constexpr float GetPositionZ () const
 
constexpr float GetOrientation () const
 
constexpr void GetPosition (float &x, float &y) const
 
constexpr void GetPosition (float &x, float &y, float &z) const
 
constexpr void GetPosition (float &x, float &y, float &z, float &o) const
 
constexpr Position GetPosition () const
 
Streamer< XY > PositionXYStream ()
 
ConstStreamer< XY > PositionXYStream () const
 
Streamer< XYZ > PositionXYZStream ()
 
ConstStreamer< XYZ > PositionXYZStream () const
 
Streamer< XYZO > PositionXYZOStream ()
 
ConstStreamer< XYZO > PositionXYZOStream () const
 
Streamer< PackedXYZ > PositionPackedXYZStream ()
 
ConstStreamer< PackedXYZ > PositionPackedXYZStream () const
 
bool IsPositionValid () const
 
constexpr float GetExactDist2dSq (const float x, const float y) const
 
constexpr float GetExactDist2dSq (Position const &pos) const
 
constexpr float GetExactDist2dSq (Position const *pos) const
 
float GetExactDist2d (const float x, const float y) const
 
float GetExactDist2d (Position const &pos) const
 
float GetExactDist2d (Position const *pos) const
 
constexpr float GetExactDistSq (float x, float y, float z) const
 
constexpr float GetExactDistSq (Position const &pos) const
 
constexpr float GetExactDistSq (Position const *pos) const
 
float GetExactDist (float x, float y, float z) const
 
float GetExactDist (Position const &pos) const
 
float GetExactDist (Position const *pos) const
 
void GetPositionOffsetTo (Position const &endPos, Position &retOffset) const
 
Position GetPositionWithOffset (Position const &offset) const
 
float GetAbsoluteAngle (float x, float y) const
 
float GetAbsoluteAngle (Position const &pos) const
 
float GetAbsoluteAngle (Position const *pos) const
 
float ToAbsoluteAngle (float relAngle) const
 
float ToRelativeAngle (float absAngle) const
 
float GetRelativeAngle (float x, float y) const
 
float GetRelativeAngle (Position const &pos) const
 
float GetRelativeAngle (Position const *pos) const
 
constexpr bool IsInDist2d (float x, float y, float dist) const
 
constexpr bool IsInDist2d (Position const *pos, float dist) const
 
constexpr bool IsInDist (float x, float y, float z, float dist) const
 
constexpr bool IsInDist (Position const &pos, float dist) const
 
constexpr bool IsInDist (Position const *pos, float dist) const
 
bool IsWithinBox (Position const &center, float xradius, float yradius, float zradius) const
 
bool IsWithinDoubleVerticalCylinder (Position const *center, float radius, float height) const
 
bool HasInArc (float arcangle, Position const *pos, float border=2.0f) const
 
bool HasInLine (Position const *pos, float objSize, float width) const
 
std::string ToString () const
 
- Public Member Functions inherited from GridObject< Player >
virtual ~GridObject ()
 
bool IsInGrid () const
 
void AddToGrid (GridRefManager< Player > &m)
 
void RemoveFromGrid ()
 

Static Public Member Functions

static WeaponAttackType GetAttackBySlot (uint8 slot, InventoryType inventoryType)
 
static bool IsInventoryPos (uint16 pos)
 
static bool IsInventoryPos (uint8 bag, uint8 slot)
 
static bool IsEquipmentPos (uint16 pos)
 
static bool IsEquipmentPos (uint8 bag, uint8 slot)
 
static bool IsBagPos (uint16 pos)
 
static bool IsBankPos (uint16 pos)
 
static bool IsBankPos (uint8 bag, uint8 slot)
 
static bool IsReagentBankPos (uint16 pos)
 
static bool IsReagentBankPos (uint8 bag, uint8 slot)
 
static bool IsChildEquipmentPos (uint16 pos)
 
static bool IsChildEquipmentPos (uint8 bag, uint8 slot)
 
static uint32 GetZoneIdFromDB (ObjectGuid guid)
 
static bool LoadPositionFromDB (uint32 &mapid, float &x, float &y, float &z, float &o, bool &in_flight, ObjectGuid guid)
 
static bool IsValidGender (uint8 Gender)
 
static bool IsValidClass (uint8 Class)
 
static bool IsValidRace (uint8 Race)
 
static void SaveCustomizations (CharacterDatabaseTransaction trans, ObjectGuid::LowType guid, Trinity::IteratorPair< UF::ChrCustomizationChoice const * > customizations)
 
static void SavePositionInDB (WorldLocation const &loc, uint16 zoneId, ObjectGuid guid, CharacterDatabaseTransaction trans)
 
static void DeleteFromDB (ObjectGuid playerguid, uint32 accountId, bool updateRealmChars=true, bool deleteFinally=false)
 
static void DeleteOldCharacters ()
 
static void DeleteOldCharacters (uint32 keepDays)
 
static bool IsAffectedBySpellmod (SpellInfo const *spellInfo, SpellModifier const *mod, Spell *spell=nullptr)
 
static void ApplyModToSpell (SpellModifier *mod, Spell *spell)
 
static void RemoveFromGroup (Group *group, ObjectGuid guid, RemoveMethod method=GROUP_REMOVEMETHOD_DEFAULT, ObjectGuid kicker=ObjectGuid::Empty, char const *reason=nullptr)
 
static void RemovePetitionsAndSigns (ObjectGuid guid)
 
static void LeaveAllArenaTeams (ObjectGuid guid)
 
static Difficulty CheckLoadedDungeonDifficultyID (Difficulty difficulty)
 
static Difficulty CheckLoadedRaidDifficultyID (Difficulty difficulty)
 
static Difficulty CheckLoadedLegacyRaidDifficultyID (Difficulty difficulty)
 
static void OfflineResurrect (ObjectGuid const &guid, CharacterDatabaseTransaction trans)
 
static Team TeamForRace (uint8 race)
 
static TeamId TeamIdForRace (uint8 race)
 
static uint8 GetFactionGroupForRace (uint8 race)
 
static DrunkenState GetDrunkenstateByValue (uint8 value)
 
- Static Public Member Functions inherited from Unit
static std::vector< AuraEffect * > CopyAuraEffectList (AuraEffectList const &list)
 
static float CalculateAverageResistReduction (WorldObject const *caster, SpellSchoolMask schoolMask, Unit const *victim, SpellInfo const *spellInfo=nullptr)
 
static void DealDamageMods (Unit const *attacker, Unit const *victim, uint32 &damage, uint32 *absorb)
 
static uint32 DealDamage (Unit *attacker, Unit *victim, uint32 damage, CleanDamage const *cleanDamage=nullptr, DamageEffectType damagetype=DIRECT_DAMAGE, SpellSchoolMask damageSchoolMask=SPELL_SCHOOL_MASK_NORMAL, SpellInfo const *spellProto=nullptr, bool durabilityLoss=true)
 
static void Kill (Unit *attacker, Unit *victim, bool durabilityLoss=true, bool skipSettingDeathState=false)
 
static void DealHeal (HealInfo &healInfo)
 
static void ProcSkillsAndAuras (Unit *actor, Unit *actionTarget, ProcFlagsInit const &typeMaskActor, ProcFlagsInit const &typeMaskActionTarget, ProcFlagsSpellType spellTypeMask, ProcFlagsSpellPhase spellPhaseMask, ProcFlagsHit hitMask, Spell *spell, DamageInfo *damageInfo, HealInfo *healInfo)
 
static void ApplyResilience (Unit const *victim, int32 *damage)
 
static uint32 SpellCriticalDamageBonus (Unit const *caster, SpellInfo const *spellProto, uint32 damage, Unit *victim)
 
static uint32 SpellCriticalHealingBonus (Unit const *caster, SpellInfo const *spellProto, uint32 damage, Unit *victim)
 
static bool IsDamageReducedByArmor (SpellSchoolMask damageSchoolMask, SpellInfo const *spellInfo=nullptr)
 
static uint32 CalcArmorReducedDamage (Unit const *attacker, Unit *victim, uint32 damage, SpellInfo const *spellInfo, WeaponAttackType attackType=MAX_ATTACK, uint8 attackerLevel=0)
 
static uint32 CalcSpellResistedDamage (Unit const *attacker, Unit *victim, uint32 damage, SpellSchoolMask schoolMask, SpellInfo const *spellInfo)
 
static void CalcAbsorbResist (DamageInfo &damageInfo, Spell *spell=nullptr)
 
static void CalcHealAbsorb (HealInfo &healInfo)
 
- Static Public Member Functions inherited from WorldObject
static bool InSamePhase (WorldObject const *a, WorldObject const *b)
 
static ReputationRank GetFactionReactionTo (FactionTemplateEntry const *factionTemplateEntry, WorldObject const *target)
 
- Static Public Member Functions inherited from Object
static ObjectGuid GetGUID (Object const *o)
 
static WorldObjectToWorldObject (Object *o)
 
static WorldObject const * ToWorldObject (Object const *o)
 
static ItemToItem (Object *o)
 
static Item const * ToItem (Object const *o)
 
static PlayerToPlayer (Object *o)
 
static Player const * ToPlayer (Object const *o)
 
static CreatureToCreature (Object *o)
 
static Creature const * ToCreature (Object const *o)
 
static UnitToUnit (Object *o)
 
static Unit const * ToUnit (Object const *o)
 
static GameObjectToGameObject (Object *o)
 
static GameObject const * ToGameObject (Object const *o)
 
static CorpseToCorpse (Object *o)
 
static Corpse const * ToCorpse (Object const *o)
 
static DynamicObjectToDynObject (Object *o)
 
static DynamicObject const * ToDynObject (Object const *o)
 
static AreaTriggerToAreaTrigger (Object *o)
 
static AreaTrigger const * ToAreaTrigger (Object const *o)
 
static SceneObjectToSceneObject (Object *o)
 
static SceneObject const * ToSceneObject (Object const *o)
 
static ConversationToConversation (Object *o)
 
static Conversation const * ToConversation (Object const *o)
 
- Static Public Member Functions inherited from Position
static float NormalizeOrientation (float o)
 

Public Attributes

std::string autoReplyMsg
 
PlayerTaxi m_taxi
 
time_t m_logintime
 
time_t m_Last_tick
 
std::array< uint32, MAX_PLAYED_TIME_INDEXm_Played_time
 
std::unordered_set< PetAura const * > m_petAuras
 
bool m_mailsUpdated
 
uint8 unReadMails
 
time_t m_nextMailDelivereTime
 
ItemMap mMitems
 
PvPInfo pvpInfo
 
std::unique_ptr< DuelInfoduel
 
std::unique_ptr< PlayerMenuPlayerTalkClass
 
std::vector< ItemSetEffect * > ItemSetEff
 
WorldObjectm_seer
 
WorldLocation m_homebind
 
uint16 m_homebindAreaId
 
GuidUnorderedSet m_clientGUIDs
 
GuidUnorderedSet m_visibleTransports
 
std::array< uint8, MAX_MOVE_TYPEm_forced_speed_changes
 
uint8 m_movementForceModMagnitudeChanges
 
DFQuestsDoneList m_DFQuests
 
uint32 m_HomebindTimer
 
bool m_InstanceValid
 
std::unordered_map< uint32, uint32m_recentInstances
 
Spellm_spellModTakingSpell
 
bool isDebugAreaTriggers
 
UF::UpdateField< UF::PlayerData, 0, TYPEID_PLAYERm_playerData
 
UF::UpdateField< UF::ActivePlayerData, 0, TYPEID_ACTIVE_PLAYERm_activePlayerData
 
- Public Attributes inherited from Unit
bool m_canDualWield
 
ControlList m_Controlled
 
std::array< ObjectGuid, MAX_SUMMON_SLOTm_SummonSlot
 
std::array< ObjectGuid, MAX_GAMEOBJECT_SLOTm_ObjectSlot
 
float m_modMeleeHitChance
 
float m_modRangedHitChance
 
float m_modSpellHitChance
 
float m_baseSpellCritChance
 
std::array< uint32, MAX_ATTACKm_baseAttackSpeed
 
std::array< float, MAX_ATTACKm_modAttackSpeedPct
 
std::array< uint32, MAX_ATTACKm_attackTimer
 
SpellImmuneContainer m_spellImmune [MAX_SPELL_IMMUNITY]
 
uint32 m_lastSanctuaryTime
 
ObjectGuid LastCharmerGUID
 
std::unique_ptr< Movement::MoveSplinemovespline
 
UF::UpdateField< UF::UnitData, 0, TYPEID_UNITm_unitData
 
- Public Attributes inherited from WorldObject
FlaggedValuesArray32< int32, uint32, StealthType, TOTAL_STEALTH_TYPESm_stealth
 
FlaggedValuesArray32< int32, uint32, StealthType, TOTAL_STEALTH_TYPESm_stealthDetect
 
FlaggedValuesArray32< int32, uint64, InvisibilityType, TOTAL_INVISIBILITY_TYPESm_invisibility
 
FlaggedValuesArray32< int32, uint64, InvisibilityType, TOTAL_INVISIBILITY_TYPESm_invisibilityDetect
 
FlaggedValuesArray32< int32, uint32, ServerSideVisibilityType, TOTAL_SERVERSIDE_VISIBILITY_TYPESm_serverSideVisibility
 
FlaggedValuesArray32< int32, uint32, ServerSideVisibilityType, TOTAL_SERVERSIDE_VISIBILITY_TYPESm_serverSideVisibilityDetect
 
uint32 LastUsedScriptID
 
MovementInfo m_movementInfo
 
EventProcessor m_Events
 
- Public Attributes inherited from Object
UF::UpdateFieldHolder m_values
 
UF::UpdateField< UF::ObjectData, 0, TYPEID_OBJECTm_objectData
 
- Public Attributes inherited from WorldLocation
uint32 m_mapId
 
- Public Attributes inherited from Position
float m_positionX
 
float m_positionY
 
float m_positionZ
 

Protected Types

typedef std::set< uint32QuestSet
 
typedef std::unordered_map< uint32, time_t > SeasonalQuestMapByQuest
 
typedef std::unordered_map< uint32, SeasonalQuestMapByQuestSeasonalQuestMapByEvent
 
- Protected Types inherited from Unit
typedef std::vector< DynamicObject * > DynObjectList
 
typedef std::list< GameObject * > GameObjectList
 
typedef std::vector< AreaTrigger * > AreaTriggerList
 

Protected Member Functions

UF::UpdateFieldFlag GetUpdateFieldFlagsFor (Player const *target) const override
 
void BuildValuesCreate (ByteBuffer *data, Player const *target) const override
 
void BuildValuesUpdate (ByteBuffer *data, Player const *target) const override
 
void ClearUpdateMask (bool remove) override
 
void PushQuests ()
 
void _LoadActions (PreparedQueryResult result)
 
void _LoadAuras (PreparedQueryResult auraResult, PreparedQueryResult effectResult, uint32 timediff)
 
void _LoadGlyphAuras ()
 
void _LoadInventory (PreparedQueryResult result, PreparedQueryResult artifactsResult, PreparedQueryResult azeriteResult, PreparedQueryResult azeriteItemMilestonePowersResult, PreparedQueryResult azeriteItemUnlockedEssencesResult, PreparedQueryResult azeriteEmpoweredItemResult, uint32 timeDiff)
 
void _LoadVoidStorage (PreparedQueryResult result)
 
void _LoadMail (PreparedQueryResult mailsResult, PreparedQueryResult mailItemsResult, PreparedQueryResult artifactResult, PreparedQueryResult azeriteItemResult, PreparedQueryResult azeriteItemMilestonePowersResult, PreparedQueryResult azeriteItemUnlockedEssencesResult, PreparedQueryResult azeriteEmpoweredItemResult)
 
void _LoadQuestStatus (PreparedQueryResult result)
 
void _LoadQuestStatusObjectives (PreparedQueryResult result)
 
void _LoadQuestStatusRewarded (PreparedQueryResult result)
 
void _LoadDailyQuestStatus (PreparedQueryResult result)
 
void _LoadWeeklyQuestStatus (PreparedQueryResult result)
 
void _LoadMonthlyQuestStatus (PreparedQueryResult result)
 
void _LoadSeasonalQuestStatus (PreparedQueryResult result)
 
void _LoadRandomBGStatus (PreparedQueryResult result)
 
void _LoadGroup (PreparedQueryResult result)
 
void _LoadSkills (PreparedQueryResult result)
 
void _LoadSpells (PreparedQueryResult result, PreparedQueryResult favoritesResult)
 
void _LoadStoredAuraTeleportLocations (PreparedQueryResult result)
 
bool _LoadHomeBind (PreparedQueryResult result)
 
void _LoadDeclinedNames (PreparedQueryResult result)
 
void _LoadArenaTeamInfo (PreparedQueryResult result)
 
void _LoadEquipmentSets (PreparedQueryResult result)
 
void _LoadTransmogOutfits (PreparedQueryResult result)
 
void _LoadBGData (PreparedQueryResult result)
 
void _LoadGlyphs (PreparedQueryResult result)
 
void _LoadTalents (PreparedQueryResult result)
 
void _LoadPvpTalents (PreparedQueryResult result)
 
void _LoadTraits (PreparedQueryResult configsResult, PreparedQueryResult entriesResult)
 
void _LoadInstanceTimeRestrictions (PreparedQueryResult result)
 
void _LoadPetStable (uint32 summonedPetNumber, PreparedQueryResult result)
 
void _LoadCurrency (PreparedQueryResult result)
 
void _LoadCUFProfiles (PreparedQueryResult result)
 
void _SaveCustomizations (CharacterDatabaseTransaction trans)
 
void _SaveActions (CharacterDatabaseTransaction trans)
 
void _SaveAuras (CharacterDatabaseTransaction trans)
 
void _SaveInventory (CharacterDatabaseTransaction trans)
 
void _SaveVoidStorage (CharacterDatabaseTransaction trans)
 
void _SaveMail (CharacterDatabaseTransaction trans)
 
void _SaveQuestStatus (CharacterDatabaseTransaction trans)
 
void _SaveDailyQuestStatus (CharacterDatabaseTransaction trans)
 
void _SaveWeeklyQuestStatus (CharacterDatabaseTransaction trans)
 
void _SaveMonthlyQuestStatus (CharacterDatabaseTransaction trans)
 
void _SaveSeasonalQuestStatus (CharacterDatabaseTransaction trans)
 
void _SaveSkills (CharacterDatabaseTransaction trans)
 
void _SaveSpells (CharacterDatabaseTransaction trans)
 
void _SaveStoredAuraTeleportLocations (CharacterDatabaseTransaction trans)
 
void _SaveEquipmentSets (CharacterDatabaseTransaction trans)
 
void _SaveBGData (CharacterDatabaseTransaction trans)
 
void _SaveGlyphs (CharacterDatabaseTransaction trans) const
 
void _SaveTalents (CharacterDatabaseTransaction trans)
 
void _SaveTraits (CharacterDatabaseTransaction trans)
 
void _SaveStats (CharacterDatabaseTransaction trans) const
 
void _SaveInstanceTimeRestrictions (CharacterDatabaseTransaction trans)
 
void _SaveCurrency (CharacterDatabaseTransaction trans)
 
void _SaveCUFProfiles (CharacterDatabaseTransaction trans)
 
void HandleSobering ()
 The player sobers by 1% every 9 seconds. More...
 
void SendMirrorTimer (MirrorTimerType Type, uint32 MaxValue, uint32 CurrentValue, int32 Regen)
 
void StopMirrorTimer (MirrorTimerType Type)
 
void HandleDrowning (uint32 time_diff)
 
int32 getMaxTimer (MirrorTimerType timer) const
 
void outDebugValues () const
 
bool CanNeverSee (WorldObject const *obj) const override
 
bool CanAlwaysSee (WorldObject const *obj) const override
 
bool IsAlwaysDetectableFor (WorldObject const *seer) const override
 
- Protected Member Functions inherited from Unit
void SetAI (UnitAI *newAI)
 
UnitAIGetTopAI () const
 
void RefreshAI ()
 
UnitAIGetScheduledChangeAI ()
 
bool HasScheduledAIChange () const
 
 Unit (bool isWorldObject)
 
UF::UpdateFieldFlag GetUpdateFieldFlagsFor (Player const *target) const override
 
void BuildValuesCreate (ByteBuffer *data, Player const *target) const override
 
void BuildValuesUpdate (ByteBuffer *data, Player const *target) const override
 
void DestroyForPlayer (Player *target) const override
 
void ClearUpdateMask (bool remove) override
 
void _UpdateSpells (uint32 time)
 
void _DeleteRemovedAuras ()
 
void _UpdateAutoRepeatSpell ()
 
bool IsAlwaysVisibleFor (WorldObject const *seer) const override
 
bool IsAlwaysDetectableFor (WorldObject const *seer) const override
 
void DisableSpline ()
 
void ProcessPositionDataChanged (PositionFullTerrainStatus const &data) override
 
virtual void ProcessTerrainStatusUpdate (ZLiquidStatus oldLiquidStatus, Optional< LiquidData > const &newLiquidData)
 
virtual void AtEnterCombat ()
 
virtual void AtExitCombat ()
 
virtual void AtEngage (Unit *)
 
virtual void AtDisengage ()
 
void SetFeared (bool apply)
 
void SetConfused (bool apply)
 
void SetStunned (bool apply)
 
void SetRooted (bool apply, bool packetOnly=false)
 
- Protected Member Functions inherited from WorldObject
 WorldObject (bool isWorldObject)
 
virtual void ProcessPositionDataChanged (PositionFullTerrainStatus const &data)
 
void SetLocationMapId (uint32 _mapId)
 
void SetLocationInstanceId (uint32 _instanceId)
 
virtual bool CanNeverSee (WorldObject const *obj) const
 
virtual bool CanAlwaysSee (WorldObject const *) const
 
virtual bool IsNeverVisibleFor (WorldObject const *seer, bool allowServersideObjects=false) const
 
virtual bool IsAlwaysVisibleFor (WorldObject const *seer) const
 
virtual bool IsInvisibleDueToDespawn (WorldObject const *seer) const
 
virtual bool IsAlwaysDetectableFor (WorldObject const *seer) const
 
- Protected Member Functions inherited from Object
 Object ()
 
void _Create (ObjectGuid const &guid)
 
template<typename T >
void SetUpdateFieldValue (UF::UpdateFieldSetter< T > setter, typename UF::UpdateFieldSetter< T >::value_type value)
 
template<typename T >
void SetUpdateFieldFlagValue (UF::UpdateFieldSetter< T > setter, typename UF::UpdateFieldSetter< T >::value_type flag)
 
template<typename T >
void RemoveUpdateFieldFlagValue (UF::UpdateFieldSetter< T > setter, typename UF::UpdateFieldSetter< T >::value_type flag)
 
template<typename T >
UF::DynamicUpdateFieldSetter< T >::insert_result AddDynamicUpdateFieldValue (UF::DynamicUpdateFieldSetter< T > setter)
 
template<typename T >
UF::DynamicUpdateFieldSetter< T >::insert_result InsertDynamicUpdateFieldValue (UF::DynamicUpdateFieldSetter< T > setter, uint32 index)
 
template<typename T >
void RemoveDynamicUpdateFieldValue (UF::DynamicUpdateFieldSetter< T > setter, uint32 index)
 
template<typename T >
void ClearDynamicUpdateFieldValues (UF::DynamicUpdateFieldSetter< T > setter)
 
template<typename T >
void RemoveOptionalUpdateFieldValue (UF::OptionalUpdateFieldSetter< T > setter)
 
template<typename T >
void SetUpdateFieldStatValue (UF::UpdateFieldSetter< T > setter, typename UF::UpdateFieldSetter< T >::value_type value)
 
template<typename T >
void ApplyModUpdateFieldValue (UF::UpdateFieldSetter< T > setter, typename UF::UpdateFieldSetter< T >::value_type mod, bool apply)
 
template<typename T >
void ApplyPercentModUpdateFieldValue (UF::UpdateFieldSetter< T > setter, float percent, bool apply)
 
template<typename Action >
void DoWithSuppressingObjectUpdates (Action &&action)
 
void BuildMovementUpdate (ByteBuffer *data, CreateObjectBits flags, Player *target) const
 
virtual UF::UpdateFieldFlag GetUpdateFieldFlagsFor (Player const *target) const
 
virtual void BuildValuesCreate (ByteBuffer *data, Player const *target) const =0
 
virtual void BuildValuesUpdate (ByteBuffer *data, Player const *target) const =0
 
virtual bool AddToObjectUpdate ()=0
 
virtual void RemoveFromObjectUpdate ()=0
 
void AddToObjectUpdateIfNeeded ()
 

Static Protected Member Functions

static Item_LoadMailedItem (ObjectGuid const &playerGuid, Player *player, uint64 mailId, Mail *mail, Field *fields, ItemAdditionalLoadInfo *addionalData)
 

Protected Attributes

GuidList WhisperList
 
TimePoint m_regenInterruptTimestamp
 
uint32 m_regenTimerCount
 
uint32 m_foodEmoteTimerCount
 
std::array< float, MAX_POWERS_PER_CLASSm_powerFraction
 
uint32 m_contestedPvPTimer
 
BgBattlegroundQueueID_Rec m_bgBattlegroundQueueID [PLAYER_MAX_BATTLEGROUND_QUEUES]
 
BGData m_bgData
 
bool m_IsBGRandomWinner
 
QuestSet m_timedquests
 
QuestSet m_weeklyquests
 
QuestSet m_monthlyquests
 
SeasonalQuestMapByEvent m_seasonalquests
 
ObjectGuid m_playerSharingQuest
 
uint32 m_sharedQuestId
 
uint32 m_ingametime
 
time_t m_lastHonorUpdateTime
 
Team m_team
 
uint32 m_nextSave
 
bool m_customizationsChanged
 
std::array< ChatFloodThrottle, ChatFloodThrottle::MAXm_chatFloodData
 
Difficulty m_dungeonDifficulty
 
Difficulty m_raidDifficulty
 
Difficulty m_legacyRaidDifficulty
 
uint32 m_atLoginFlags
 
Itemm_items [PLAYER_SLOTS_COUNT]
 
uint32 m_currentBuybackSlot
 
PlayerCurrenciesMap _currencyStorage
 
VoidStorageItem_voidStorageItems [VOID_STORAGE_MAX_SLOT]
 
std::vector< Item * > m_itemUpdateQueue
 
bool m_itemUpdateQueueBlocked
 
uint32 m_ExtraFlags
 
QuestStatusMap m_QuestStatus
 
QuestObjectiveStatusMap m_questObjectiveStatus
 
QuestStatusSaveMap m_QuestStatusSave
 
RewardedQuestSet m_RewardedQuests
 
QuestStatusSaveMap m_RewardedQuestsSave
 
SkillStatusMap mSkillStatus
 
ObjectGuid::LowType m_GuildIdInvited
 
uint32 m_ArenaTeamIdInvited
 
PlayerMails m_mail
 
PlayerSpellMap m_spells
 
std::unordered_map< uint32, std::unordered_set< uint32 > > m_overrideSpells
 
uint32 m_lastPotionId
 
std::unordered_map< uint32, StoredAuraTeleportLocationm_storedAuraTeleportLocations
 
SpecializationInfo _specializationInfo
 
std::unordered_map< int32, PlayerSpellStatem_traitConfigStates
 
ActionButtonList m_actionButtons
 
std::array< float, BASEMOD_ENDm_auraBaseFlatMod
 
std::array< float, BASEMOD_ENDm_auraBasePctMod
 
std::array< int16, MAX_COMBAT_RATINGm_baseRatingValue
 
uint32 m_baseSpellPower
 
uint32 m_baseManaRegen
 
uint32 m_baseHealthRegen
 
int32 m_spellPenetrationItemMod
 
SpellModContainer m_spellMods [MAX_SPELLMOD][SPELLMOD_END]
 
EnchantDurationList m_enchantDuration
 
ItemDurationList m_itemDuration
 
GuidUnorderedSet m_itemSoulboundTradeable
 
std::unique_ptr< ResurrectionData_resurrectionData
 
WorldSessionm_session
 
JoinedChannelsList m_channels
 
time_t m_createTime
 
PlayerCreateMode m_createMode
 
uint8 m_cinematic
 
uint32 m_movie
 
TradeDatam_trade
 
bool m_DailyQuestChanged
 
bool m_WeeklyQuestChanged
 
bool m_MonthlyQuestChanged
 
bool m_SeasonalQuestChanged
 
time_t m_lastDailyQuestTime
 
uint32 m_hostileReferenceCheckTimer
 
uint32 m_drunkTimer
 
uint32 m_weaponChangeTimer
 
uint32 m_zoneUpdateId
 
uint32 m_zoneUpdateTimer
 
uint32 m_areaUpdateId
 
uint32 m_deathTimer
 
time_t m_deathExpireTime
 
uint32 m_WeaponProficiency
 
uint32 m_ArmorProficiency
 
bool m_canParry
 
bool m_canBlock
 
bool m_canTitanGrip
 
uint32 m_titanGripPenaltySpellId
 
Optional< AttackSwingErrm_swingErrorMsg
 
PlayerSocialm_social
 
GroupReference m_group
 
GroupReference m_originalGroup
 
Groupm_groupInvite
 
uint32 m_groupUpdateMask
 
bool m_bPassOnGroupLoot
 
std::array< GroupUpdateCounter, 2 > m_groupUpdateSequences
 
uint32 m_lastpetnumber
 
time_t m_summon_expire
 
WorldLocation m_summon_location
 
uint32 m_summon_instanceId
 
WorldLocation m_recall_location
 
uint32 m_recall_instanceId
 
std::unique_ptr< Runesm_runes
 
EquipmentSetContainer _equipmentSets
 
uint8 m_fishingSteps
 
std::array< std::unique_ptr< CUFProfile >, MAX_CUF_PROFILES_CUFProfiles
 
TimeTracker m_groupUpdateTimer
 
- Protected Attributes inherited from Unit
bool m_ControlledByPlayer
 
std::array< float, MAX_STATSm_createStats
 
std::array< float, MAX_STATSm_floatStatPosBuff
 
std::array< float, MAX_STATSm_floatStatNegBuff
 
AttackerSet m_attackers
 
Unitm_attacking
 
DeathState m_deathState
 
int32 m_procDeep
 
int32 m_procChainLength
 
DynObjectList m_dynObj
 
GameObjectList m_gameObj
 
AreaTriggerList m_areaTrigger
 
uint32 m_transformSpell
 
std::array< Spell *, CURRENT_MAX_SPELLm_currentSpells
 
AuraMap m_ownedAuras
 
AuraApplicationMap m_appliedAuras
 
AuraList m_removedAuras
 
AuraMap::iterator m_auraUpdateIterator
 
uint32 m_removedAurasCount
 
std::array< AuraEffectList, TOTAL_AURASm_modAuras
 
AuraList m_scAuras
 
AuraApplicationList m_interruptableAuras
 
AuraStateAurasMap m_auraStateAuras
 
EnumFlag< SpellAuraInterruptFlagsm_interruptMask
 
EnumFlag< SpellAuraInterruptFlags2m_interruptMask2
 
float m_auraFlatModifiersGroup [UNIT_MOD_END][MODIFIER_TYPE_FLAT_END]
 
float m_auraPctModifiersGroup [UNIT_MOD_END][MODIFIER_TYPE_PCT_END]
 
float m_weaponDamage [MAX_ATTACK][2]
 
bool m_canModifyStats
 
VisibleAuraContainer m_visibleAuras
 
Trinity::Containers::FlatSet< AuraApplication *, VisibleAuraSlotComparem_visibleAurasToUpdate
 
std::array< float, MAX_MOVE_TYPEm_speed_rate
 
Unitm_unitMovedByMe
 
Playerm_playerMovingMe
 
Unitm_charmer
 
Unitm_charmed
 
std::unique_ptr< CharmInfom_charmInfo
 
SharedVisionList m_sharedVision
 
std::unique_ptr< MotionMasteri_motionMaster
 
std::array< uint32, MAX_REACTIVEm_reactiveTimer
 
uint32 m_regenTimer
 
Vehiclem_vehicle
 
Trinity::unique_trackable_ptr< Vehiclem_vehicleKit
 
uint32 m_unitTypeMask
 
LiquidTypeEntry const * _lastLiquid
 
std::unique_ptr< Vignettes::VignetteDatam_vignette
 
uint32 m_movementCounter
 Incrementing counter used in movement packets. More...
 
- Protected Attributes inherited from WorldObject
std::string m_name
 
bool m_isActive
 
bool m_isFarVisible
 
Optional< float > m_visibilityDistanceOverride
 
bool const m_isStoredInWorldObjectGridContainer
 
ZoneScriptm_zoneScript
 
TransportBasem_transport
 
uint32 m_zoneId
 
uint32 m_areaId
 
float m_staticFloorZ
 
bool m_outdoors
 
ZLiquidStatus m_liquidStatus
 
Optional< WmoLocationm_currentWmo
 
- Protected Attributes inherited from Object
uint16 m_objectType
 
TypeID m_objectTypeId
 
CreateObjectBits m_updateFlag
 
bool m_objectUpdated
 

Private Member Functions

InventoryResult CanStoreItem_InSpecificSlot (uint8 bag, uint8 slot, ItemPosCountVec &dest, ItemTemplate const *pProto, uint32 &count, bool swap, Item *pSrcItem) const
 
InventoryResult CanStoreItem_InBag (uint8 bag, ItemPosCountVec &dest, ItemTemplate const *pProto, uint32 &count, bool merge, bool non_specialized, Item *pSrcItem, uint8 skip_bag, uint8 skip_slot) const
 
InventoryResult CanStoreItem_InInventorySlots (uint8 slot_begin, uint8 slot_end, ItemPosCountVec &dest, ItemTemplate const *pProto, uint32 &count, bool merge, Item *pSrcItem, uint8 skip_bag, uint8 skip_slot) const
 
Item_StoreItem (uint16 pos, Item *pItem, uint32 count, bool clone, bool update)
 
Item_LoadItem (CharacterDatabaseTransaction trans, uint32 zoneId, uint32 timeDiff, Field *fields)
 
void SendRefundInfo (Item *item)
 
void RefundItem (Item *item)
 
void SendItemRefundResult (Item *item, ItemExtendedCostEntry const *iece, uint8 error) const
 
void AdjustQuestObjectiveProgress (Quest const *quest)
 
bool IsCanDelayTeleport () const
 
void SetCanDelayTeleport (bool setting)
 
bool IsHasDelayedTeleport () const
 
void SetDelayedTeleportFlag (bool setting)
 
void ScheduleDelayedOperation (uint32 operation)
 
bool IsInstanceLoginGameMasterException () const
 
void _InitHonorLevelOnLoadFromDB (uint32 honor, uint32 honorLevel)
 
void ExecutePendingSpellCastRequest ()
 
bool ProcessItemCast (SpellCastRequest &castRequest, SpellCastTargets const &targets)
 
bool CanExecutePendingSpellCastRequest ()
 

Private Attributes

std::unique_ptr< CinematicMgr_cinematicMgr
 
GuidSet m_refundableItems
 
MapReference m_mapRef
 
uint32 m_lastFallTime
 
float m_lastFallZ
 
std::array< int32, MAX_TIMERSm_MirrorTimer
 
uint8 m_MirrorTimerFlags
 
uint8 m_MirrorTimerFlagsLast
 
WorldLocation m_teleport_dest
 
Optional< uint32m_teleport_instanceId
 
TeleportToOptions m_teleport_options
 
bool mSemaphoreTeleport_Near
 
bool mSemaphoreTeleport_Far
 
uint32 m_DelayedOperations
 
bool m_bCanDelayTeleport
 
bool m_bHasDelayedTeleport
 
std::unique_ptr< PetStablem_petStable
 
uint32 m_temporaryUnsummonedPetNumber
 
Optional< ReactStatesm_temporaryPetReactState
 
uint32 m_oldpetspell
 
ObjectGuid m_temporaryUnsummonedBattlePet
 
std::unique_ptr< PlayerAchievementMgrm_achievementMgr
 
std::unique_ptr< ReputationMgrm_reputationMgr
 
std::unique_ptr< QuestObjectiveCriteriaMgrm_questObjectiveCriteriaMgr
 
uint32 m_ChampioningFaction
 
InstanceTimeMap _instanceResetTimes
 
uint32 _pendingBindId
 
uint32 _pendingBindTimer
 
uint32 _activeCheats
 
std::unique_ptr< Garrison_garrison
 
bool _advancedCombatLoggingEnabled
 
uint64 healthBeforeDuel
 
uint32 manaBeforeDuel
 
WorldLocation _corpseLocation
 
SceneMgr m_sceneMgr
 
std::unordered_map< ObjectGuid, Loot * > m_AELootView
 
std::vector< LootRoll * > m_lootRolls
 
std::unique_ptr< RestMgr_restMgr
 
bool _usePvpItemLevels
 
ObjectGuid _areaSpiritHealerGUID
 
std::unique_ptr< SpellCastRequest_pendingSpellCastRequest
 

Friends

class WorldSession
 
class CinematicMgr
 
class RestMgr
 
void AddItemToUpdateQueueOf (Item *item, Player *player)
 
void RemoveItemFromUpdateQueueOf (Item *item, Player *player)
 

Detailed Description

Definition at line 1108 of file Player.h.

Member Typedef Documentation

◆ DFQuestsDoneList

typedef std::set<uint32> Player::DFQuestsDoneList

Definition at line 2539 of file Player.h.

◆ ItemMap

typedef std::unordered_map<ObjectGuid::LowType, Item*> Player::ItemMap

Definition at line 1778 of file Player.h.

◆ JoinedChannelsList

typedef std::list<Channel*> Player::JoinedChannelsList

Definition at line 2190 of file Player.h.

◆ QuestSet

typedef std::set<uint32> Player::QuestSet
protected

Definition at line 2908 of file Player.h.

◆ SeasonalQuestMapByEvent

typedef std::unordered_map<uint32, SeasonalQuestMapByQuest> Player::SeasonalQuestMapByEvent
protected

Definition at line 2910 of file Player.h.

◆ SeasonalQuestMapByQuest

typedef std::unordered_map<uint32, time_t> Player::SeasonalQuestMapByQuest
protected

Definition at line 2909 of file Player.h.

Constructor & Destructor Documentation

◆ Player()

Player::Player ( WorldSession session)
explicit

Definition at line 160 of file Player.cpp.

+ Here is the call graph for this function:

◆ ~Player()

Player::~Player ( )

Definition at line 361 of file Player.cpp.

Member Function Documentation

◆ _ApplyAllItemMods()

void Player::_ApplyAllItemMods ( )

Definition at line 8942 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ _ApplyAllLevelScaleItemMods()

void Player::_ApplyAllLevelScaleItemMods ( bool  apply)

Definition at line 8986 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ _ApplyAllStatBonuses()

void Player::_ApplyAllStatBonuses ( )

Definition at line 856 of file StatSystem.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ _ApplyItemBonuses()

void Player::_ApplyItemBonuses ( Item item,
uint8  slot,
bool  apply 
)

Definition at line 7900 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ _ApplyItemMods()

void Player::_ApplyItemMods ( Item item,
uint8  slot,
bool  apply,
bool  updateItemAuras = true 
)

Definition at line 7865 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ _ApplyWeaponDamage()

void Player::_ApplyWeaponDamage ( uint8  slot,
Item item,
bool  apply 
)

Definition at line 8154 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ _InitHonorLevelOnLoadFromDB()

void Player::_InitHonorLevelOnLoadFromDB ( uint32  honor,
uint32  honorLevel 
)
private

Definition at line 6889 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ _LoadActions()

void Player::_LoadActions ( PreparedQueryResult  result)
protected

Definition at line 18609 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ _LoadArenaTeamInfo()

void Player::_LoadArenaTeamInfo ( PreparedQueryResult  result)
protected

Definition at line 17424 of file Player.cpp.

+ Here is the call graph for this function:

◆ _LoadAuras()

void Player::_LoadAuras ( PreparedQueryResult  auraResult,
PreparedQueryResult  effectResult,
uint32  timediff 
)
protected

Definition at line 18636 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ _LoadBGData()

void Player::_LoadBGData ( PreparedQueryResult  result)
protected

Definition at line 17537 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ _LoadCUFProfiles()

void Player::_LoadCUFProfiles ( PreparedQueryResult  result)
protected

Definition at line 18530 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ _LoadCurrency()

void Player::_LoadCurrency ( PreparedQueryResult  result)
protected

Definition at line 6965 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ _LoadDailyQuestStatus()

void Player::_LoadDailyQuestStatus ( PreparedQueryResult  result)
protected

Definition at line 19465 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ _LoadDeclinedNames()

void Player::_LoadDeclinedNames ( PreparedQueryResult  result)
protected

Definition at line 17414 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ _LoadEquipmentSets()

void Player::_LoadEquipmentSets ( PreparedQueryResult  result)
protected

Definition at line 17465 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ _LoadGlyphAuras()

void Player::_LoadGlyphAuras ( )
protected

Definition at line 18748 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ _LoadGlyphs()

void Player::_LoadGlyphs ( PreparedQueryResult  result)
protected

Definition at line 27578 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ _LoadGroup()

void Player::_LoadGroup ( PreparedQueryResult  result)
protected

Definition at line 19647 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ _LoadHomeBind()

bool Player::_LoadHomeBind ( PreparedQueryResult  result)
protected

Definition at line 19894 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ _LoadInstanceTimeRestrictions()

void Player::_LoadInstanceTimeRestrictions ( PreparedQueryResult  result)
protected

Definition at line 29040 of file Player.cpp.

+ Here is the caller graph for this function:

◆ _LoadInventory()

void Player::_LoadInventory ( PreparedQueryResult  result,
PreparedQueryResult  artifactsResult,
PreparedQueryResult  azeriteResult,
PreparedQueryResult  azeriteItemMilestonePowersResult,
PreparedQueryResult  azeriteItemUnlockedEssencesResult,
PreparedQueryResult  azeriteEmpoweredItemResult,
uint32  timeDiff 
)
protected

Definition at line 18777 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ _LoadItem()

Item * Player::_LoadItem ( CharacterDatabaseTransaction  trans,
uint32  zoneId,
uint32  timeDiff,
Field fields 
)
private

Definition at line 19030 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ _LoadMail()

void Player::_LoadMail ( PreparedQueryResult  mailsResult,
PreparedQueryResult  mailItemsResult,
PreparedQueryResult  artifactResult,
PreparedQueryResult  azeriteItemResult,
PreparedQueryResult  azeriteItemMilestonePowersResult,
PreparedQueryResult  azeriteItemUnlockedEssencesResult,
PreparedQueryResult  azeriteEmpoweredItemResult 
)
protected

Definition at line 19225 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ _LoadMailedItem()

Item * Player::_LoadMailedItem ( ObjectGuid const &  playerGuid,
Player player,
uint64  mailId,
Mail mail,
Field fields,
ItemAdditionalLoadInfo addionalData 
)
staticprotected

Definition at line 19158 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ _LoadMonthlyQuestStatus()

void Player::_LoadMonthlyQuestStatus ( PreparedQueryResult  result)
protected

Definition at line 19563 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ _LoadPetStable()

void Player::_LoadPetStable ( uint32  summonedPetNumber,
PreparedQueryResult  result 
)
protected

Definition at line 29052 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ _LoadPvpTalents()

void Player::_LoadPvpTalents ( PreparedQueryResult  result)
protected

Definition at line 27635 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ _LoadQuestStatus()

void Player::_LoadQuestStatus ( PreparedQueryResult  result)
protected

Definition at line 19282 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ _LoadQuestStatusObjectives()

void Player::_LoadQuestStatusObjectives ( PreparedQueryResult  result)
protected

Definition at line 19378 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ _LoadQuestStatusRewarded()

void Player::_LoadQuestStatusRewarded ( PreparedQueryResult  result)
protected

Definition at line 19416 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ _LoadRandomBGStatus()

void Player::_LoadRandomBGStatus ( PreparedQueryResult  result)
protected

Definition at line 29012 of file Player.cpp.

+ Here is the caller graph for this function:

◆ _LoadSeasonalQuestStatus()

void Player::_LoadSeasonalQuestStatus ( PreparedQueryResult  result)
protected

Definition at line 19534 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ _LoadSkills()

void Player::_LoadSkills ( PreparedQueryResult  result)
protected

Definition at line 26483 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ _LoadSpells()

void Player::_LoadSpells ( PreparedQueryResult  result,
PreparedQueryResult  favoritesResult 
)
protected

Definition at line 19590 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ _LoadStoredAuraTeleportLocations()

void Player::_LoadStoredAuraTeleportLocations ( PreparedQueryResult  result)
protected

Definition at line 19611 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ _LoadTalents()

void Player::_LoadTalents ( PreparedQueryResult  result)
protected

Definition at line 27623 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ _LoadTraits()

void Player::_LoadTraits ( PreparedQueryResult  configsResult,
PreparedQueryResult  entriesResult 
)
protected

Definition at line 27648 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ _LoadTransmogOutfits()

void Player::_LoadTransmogOutfits ( PreparedQueryResult  result)
protected

Definition at line 17499 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ _LoadVoidStorage()

void Player::_LoadVoidStorage ( PreparedQueryResult  result)
protected

Definition at line 18973 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ _LoadWeeklyQuestStatus()

void Player::_LoadWeeklyQuestStatus ( PreparedQueryResult  result)
protected

Definition at line 19507 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ _RemoveAllItemMods()

void Player::_RemoveAllItemMods ( )

Definition at line 8902 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ _RemoveAllStatBonuses()

void Player::_RemoveAllStatBonuses ( )

Definition at line 869 of file StatSystem.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ _SaveActions()

void Player::_SaveActions ( CharacterDatabaseTransaction  trans)
protected

Definition at line 20408 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ _SaveAuras()

void Player::_SaveAuras ( CharacterDatabaseTransaction  trans)
protected

Definition at line 20479 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ _SaveBGData()

void Player::_SaveBGData ( CharacterDatabaseTransaction  trans)
protected

Definition at line 27507 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ _SaveCUFProfiles()

void Player::_SaveCUFProfiles ( CharacterDatabaseTransaction  trans)
protected

Definition at line 20706 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ _SaveCurrency()

void Player::_SaveCurrency ( CharacterDatabaseTransaction  trans)
protected

Definition at line 6994 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ _SaveCustomizations()

void Player::_SaveCustomizations ( CharacterDatabaseTransaction  trans)
protected

Definition at line 20398 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ _SaveDailyQuestStatus()

void Player::_SaveDailyQuestStatus ( CharacterDatabaseTransaction  trans)
protected

Definition at line 20906 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ _SaveEquipmentSets()

void Player::_SaveEquipmentSets ( CharacterDatabaseTransaction  trans)
protected

Definition at line 27414 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ _SaveGlyphs()

void Player::_SaveGlyphs ( CharacterDatabaseTransaction  trans) const
protected

Definition at line 27601 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ _SaveInstanceTimeRestrictions()

void Player::_SaveInstanceTimeRestrictions ( CharacterDatabaseTransaction  trans)
protected

Definition at line 29108 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ _SaveInventory()

void Player::_SaveInventory ( CharacterDatabaseTransaction  trans)
protected

Definition at line 20536 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ _SaveMail()

void Player::_SaveMail ( CharacterDatabaseTransaction  trans)
protected

Definition at line 20742 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ _SaveMonthlyQuestStatus()

void Player::_SaveMonthlyQuestStatus ( CharacterDatabaseTransaction  trans)
protected

Definition at line 20999 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ _SaveQuestStatus()

void Player::_SaveQuestStatus ( CharacterDatabaseTransaction  trans)
protected

Definition at line 20812 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ _SaveSeasonalQuestStatus()

void Player::_SaveSeasonalQuestStatus ( CharacterDatabaseTransaction  trans)
protected

Definition at line 20965 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ _SaveSkills()

void Player::_SaveSkills ( CharacterDatabaseTransaction  trans)
protected

Definition at line 21022 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ _SaveSpells()

void Player::_SaveSpells ( CharacterDatabaseTransaction  trans)
protected

Definition at line 21073 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ _SaveStats()

void Player::_SaveStats ( CharacterDatabaseTransaction  trans) const
protected

Definition at line 21164 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ _SaveStoredAuraTeleportLocations()

void Player::_SaveStoredAuraTeleportLocations ( CharacterDatabaseTransaction  trans)
protected

Definition at line 21127 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ _SaveTalents()

void Player::_SaveTalents ( CharacterDatabaseTransaction  trans)
protected

Definition at line 27788 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ _SaveTraits()

void Player::_SaveTraits ( CharacterDatabaseTransaction  trans)
protected

Definition at line 27832 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ _SaveVoidStorage()

void Player::_SaveVoidStorage ( CharacterDatabaseTransaction  trans)
protected

Definition at line 20670 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ _SaveWeeklyQuestStatus()

void Player::_SaveWeeklyQuestStatus ( CharacterDatabaseTransaction  trans)
protected

Definition at line 20942 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ _StoreItem()

Item * Player::_StoreItem ( uint16  pos,
Item pItem,
uint32  count,
bool  clone,
bool  update 
)
private

Definition at line 11640 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ _StoreOrEquipNewItem()

bool Player::_StoreOrEquipNewItem ( uint32  vendorslot,
uint32  item,
uint8  count,
uint8  bag,
uint8  slot,
int64  price,
ItemTemplate const *  pProto,
Creature pVendor,
VendorItem const *  crItem,
bool  bStore 
)
inline

Definition at line 22809 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ AbandonQuest()

void Player::AbandonQuest ( uint32  quest_id)

Definition at line 15508 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ActivatePvpItemLevels()

void Player::ActivatePvpItemLevels ( bool  activate)
inline

Definition at line 2561 of file Player.h.

+ Here is the caller graph for this function:

◆ ActivateTalentGroup()

void Player::ActivateTalentGroup ( ChrSpecializationEntry const *  spec)

Definition at line 27923 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ActivateTaxiPathTo() [1/2]

bool Player::ActivateTaxiPathTo ( std::vector< uint32 > const &  nodes,
Creature npc = nullptr,
uint32  spellid = 0,
uint32  preferredMountDisplay = 0 
)

Definition at line 22506 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ActivateTaxiPathTo() [2/2]

bool Player::ActivateTaxiPathTo ( uint32  taxi_path_id,
uint32  spellid = 0 
)

Definition at line 22691 of file Player.cpp.

+ Here is the call graph for this function:

◆ AddActionButton()

ActionButton * Player::AddActionButton ( uint8  button,
uint64  action,
uint8  type 
)

Definition at line 6233 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ AddArmorProficiency()

void Player::AddArmorProficiency ( uint32  newflag)
inline

Definition at line 1483 of file Player.h.

+ Here is the caller graph for this function:

◆ AddAuraVision()

void Player::AddAuraVision ( PlayerFieldByte2Flags  flags)
inline

Definition at line 2842 of file Player.h.

+ Here is the caller graph for this function:

◆ AddBattlegroundQueueId()

uint32 Player::AddBattlegroundQueueId ( BattlegroundQueueTypeId  val)

Definition at line 25037 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ AddConditionalTransmog()

void Player::AddConditionalTransmog ( uint32  itemModifiedAppearanceId)
inline

Definition at line 2800 of file Player.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ AddCurrency()

void Player::AddCurrency ( uint32  id,
uint32  amount,
CurrencyGainSource  gainSource = CurrencyGainSource::Cheat 
)

Definition at line 7248 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ AddEnchantmentDuration()

void Player::AddEnchantmentDuration ( Item item,
EnchantmentSlot  slot,
uint32  duration 
)

Definition at line 13547 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ AddEnchantmentDurations()

void Player::AddEnchantmentDurations ( Item item)

Definition at line 13461 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ AddExploredZones()

void Player::AddExploredZones ( uint32  pos,
uint64  mask 
)

Definition at line 6421 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ AddHeirloom()

void Player::AddHeirloom ( int32  itemId,
uint32  flags 
)
inline

Definition at line 2783 of file Player.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ AddHonorXP()

void Player::AddHonorXP ( uint32  xp)

Definition at line 6921 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ AddIllusionBlock()

void Player::AddIllusionBlock ( uint32  blockValue)
inline

Definition at line 2808 of file Player.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ AddIllusionFlag()

void Player::AddIllusionFlag ( uint32  slot,
uint32  flag 
)
inline

Definition at line 2809 of file Player.h.

+ Here is the caller graph for this function:

◆ AddInstanceEnterTime()

void Player::AddInstanceEnterTime ( uint32  instanceId,
time_t  enterTime 
)

Definition at line 19861 of file Player.cpp.

+ Here is the caller graph for this function:

◆ AddItem()

bool Player::AddItem ( uint32  itemId,
uint32  count 
)
Todo:
Send to mailbox if no space

Definition at line 28631 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ AddItemDurations()

void Player::AddItemDurations ( Item item)

Definition at line 25394 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ AddItemToBuyBackSlot()

void Player::AddItemToBuyBackSlot ( Item pItem)

Definition at line 13156 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ AddLootRoll()

void Player::AddLootRoll ( LootRoll roll)
inline

Definition at line 2096 of file Player.h.

+ Here is the caller graph for this function:

◆ AddMail()

void Player::AddMail ( Mail mail)
inline

Definition at line 1763 of file Player.h.

+ Here is the caller graph for this function:

◆ AddMItem()

void Player::AddMItem ( Item it)

Definition at line 21862 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ AddNewMailDeliverTime()

void Player::AddNewMailDeliverTime ( time_t  deliver_time)

Definition at line 2667 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ AddOverrideSpell()

void Player::AddOverrideSpell ( uint32  overridenSpellId,
uint32  newSpellId 
)

Definition at line 29708 of file Player.cpp.

+ Here is the caller graph for this function:

◆ AddPetAura()

void Player::AddPetAura ( PetAura const *  petSpell)

Definition at line 21636 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ AddPetToUpdateFields()

void Player::AddPetToUpdateFields ( PetStable::PetInfo const &  pet,
PetSaveMode  slot,
PetStableFlags  flags 
)

Definition at line 28662 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ AddPvpTalent()

bool Player::AddPvpTalent ( PvpTalentEntry const *  talent,
uint8  activeTalentGroup,
uint8  slot 
)

Definition at line 26964 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ AddQuest()

void Player::AddQuest ( Quest const *  quest,
Object questGiver 
)

Definition at line 14926 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ AddQuestAndCheckCompletion()

void Player::AddQuestAndCheckCompletion ( Quest const *  quest,
Object questGiver 
)

Definition at line 14774 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ AddRefundReference()

void Player::AddRefundReference ( ObjectGuid  it)

Definition at line 28571 of file Player.cpp.

+ Here is the caller graph for this function:

◆ AddSelfResSpell()

void Player::AddSelfResSpell ( int32  spellId)
inline

Definition at line 2811 of file Player.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ AddSpell()

bool Player::AddSpell ( uint32  spellId,
bool  active,
bool  learning,
bool  dependent,
bool  disabled,
bool  loading = false,
int32  fromSkill = 0,
bool  favorite = false,
Optional< int32 traitDefinitionId = {} 
)

Definition at line 2765 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ AddSpellCategoryCooldownMod()

void Player::AddSpellCategoryCooldownMod ( int32  spellCategoryId,
int32  mod 
)

Definition at line 29766 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ AddSpellMod()

void Player::AddSpellMod ( SpellModifier mod,
bool  apply 
)

First, manipulate our spellmodifier container

Now, send spellmodifier packet

Todo:
Implement sending of bulk modifiers instead of single

Definition at line 22276 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ AddStoredAuraTeleportLocation()

void Player::AddStoredAuraTeleportLocation ( uint32  spellId)

Definition at line 2744 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ AddTalent()

bool Player::AddTalent ( TalentEntry const *  talent,
uint8  spec,
bool  learning 
)

Definition at line 2688 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ AddTemporarySpell()

void Player::AddTemporarySpell ( uint32  spellId)

Definition at line 3164 of file Player.cpp.

+ Here is the caller graph for this function:

◆ AddTimedQuest()

void Player::AddTimedQuest ( uint32  questId)
inline

Definition at line 1680 of file Player.h.

+ Here is the caller graph for this function:

◆ AddToWorld()

void Player::AddToWorld ( )
overridevirtual
  • Do not add/remove the player from the object storage
  • It will crash when updating the ObjectAccessor
  • The player should only be added when logging in

Reimplemented from WorldObject.

Definition at line 1552 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ AddToy()

void Player::AddToy ( int32  itemId,
uint32  flags 
)
inline

Definition at line 2791 of file Player.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ AddTradeableItem()

void Player::AddTradeableItem ( Item item)

Definition at line 13409 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ AddTraitConfig()

void Player::AddTraitConfig ( WorldPackets::Traits::TraitConfig const &  traitConfig)

Definition at line 28225 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ AddTransmogBlock()

void Player::AddTransmogBlock ( uint32  blockValue)
inline

Definition at line 2797 of file Player.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ AddTransmogFlag()

void Player::AddTransmogFlag ( uint32  slot,
uint32  flag 
)
inline

Definition at line 2798 of file Player.h.

+ Here is the caller graph for this function:

◆ AddVoidStorageItem()

uint8 Player::AddVoidStorageItem ( VoidStorageItem &&  item)

Definition at line 29156 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ AddWeaponProficiency()

void Player::AddWeaponProficiency ( uint32  newflag)
inline

Definition at line 1482 of file Player.h.

+ Here is the caller graph for this function:

◆ AddWhisperWhiteList()

void Player::AddWhisperWhiteList ( ObjectGuid  guid)
inline

Definition at line 2678 of file Player.h.

+ Here is the caller graph for this function:

◆ AdjustQuestObjectiveProgress()

void Player::AdjustQuestObjectiveProgress ( Quest const *  quest)
private

Definition at line 16400 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ AI()

PlayerAI * Player::AI ( ) const
inline

Definition at line 1119 of file Player.h.

◆ ApplyAllAzeriteEmpoweredItemMods()

void Player::ApplyAllAzeriteEmpoweredItemMods ( bool  apply)

Definition at line 9023 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ApplyAllAzeriteItemMods()

void Player::ApplyAllAzeriteItemMods ( bool  apply)

Definition at line 9009 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ApplyArtifactPowerRank()

void Player::ApplyArtifactPowerRank ( Item artifact,
ArtifactPowerRankEntry const *  artifactPowerRank,
bool  apply 
)

Definition at line 8458 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ApplyArtifactPowers()

void Player::ApplyArtifactPowers ( Item item,
bool  apply 
)

Definition at line 8432 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ApplyAzeriteEssence()

void Player::ApplyAzeriteEssence ( AzeriteItem item,
uint32  azeriteEssenceId,
uint32  rank,
bool  major,
bool  apply 
)

Definition at line 8557 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ApplyAzeriteEssencePower()

void Player::ApplyAzeriteEssencePower ( AzeriteItem item,
AzeriteEssencePowerEntry const *  azeriteEssencePower,
bool  major,
bool  apply 
)

Definition at line 8579 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ApplyAzeriteItemMilestonePower()

void Player::ApplyAzeriteItemMilestonePower ( AzeriteItem item,
AzeriteItemMilestonePowerEntry const *  azeriteItemMilestonePower,
bool  apply 
)

Definition at line 8542 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ApplyAzeritePower()

void Player::ApplyAzeritePower ( AzeriteEmpoweredItem item,
AzeritePowerEntry const *  azeritePower,
bool  apply 
)

Definition at line 8611 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ApplyAzeritePowers()

void Player::ApplyAzeritePowers ( Item item,
bool  apply 
)

Definition at line 8518 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ApplyBaseModPctValue()

void Player::ApplyBaseModPctValue ( BaseModGroup  modGroup,
float  pct 
)

Definition at line 5021 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ApplyEnchantment() [1/2]

void Player::ApplyEnchantment ( Item item,
bool  apply 
)

Definition at line 13571 of file Player.cpp.

+ Here is the call graph for this function:

◆ ApplyEnchantment() [2/2]

void Player::ApplyEnchantment ( Item item,
EnchantmentSlot  slot,
bool  apply,
bool  apply_dur = true,
bool  ignore_condition = false 
)

Definition at line 13577 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ApplyEquipCooldown()

void Player::ApplyEquipCooldown ( Item pItem)

Definition at line 24449 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ApplyEquipSpell()

void Player::ApplyEquipSpell ( SpellInfo const *  spellInfo,
Item item,
bool  apply,
bool  formChange = false 
)

Definition at line 8357 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ApplyHealthRegenBonus()

void Player::ApplyHealthRegenBonus ( int32  amount,
bool  apply 
)

Definition at line 812 of file StatSystem.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ApplyItemDependentAuras()

void Player::ApplyItemDependentAuras ( Item item,
bool  apply 
)

Definition at line 8299 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ApplyItemEquipSpell()

void Player::ApplyItemEquipSpell ( Item item,
bool  apply,
bool  formChange = false 
)

Definition at line 8334 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ApplyItemLootedSpell() [1/2]

void Player::ApplyItemLootedSpell ( Item item,
bool  apply 
)

Definition at line 8869 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ApplyItemLootedSpell() [2/2]

void Player::ApplyItemLootedSpell ( ItemTemplate const *  itemTemplate)

Definition at line 8888 of file Player.cpp.

+ Here is the call graph for this function:

◆ ApplyItemObtainSpells()

void Player::ApplyItemObtainSpells ( Item item,
bool  apply 
)

Definition at line 8229 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ApplyManaRegenBonus()

void Player::ApplyManaRegenBonus ( int32  amount,
bool  apply 
)

Definition at line 806 of file StatSystem.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ApplyModDamageDoneNeg()

void Player::ApplyModDamageDoneNeg ( SpellSchools  school,
int32  mod,
bool  apply 
)
inline

Definition at line 2045 of file Player.h.

+ Here is the call graph for this function:

◆ ApplyModDamageDonePercent()

void Player::ApplyModDamageDonePercent ( SpellSchools  school,
float  pct,
bool  apply 
)
inline

Definition at line 2046 of file Player.h.

+ Here is the call graph for this function:

◆ ApplyModDamageDonePos()

void Player::ApplyModDamageDonePos ( SpellSchools  school,
int32  mod,
bool  apply 
)
inline

Definition at line 2044 of file Player.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ApplyModFakeInebriation()

void Player::ApplyModFakeInebriation ( int32  mod,
bool  apply 
)
inline

Definition at line 2779 of file Player.h.

+ Here is the call graph for this function:

◆ ApplyModOverrideAPBySpellPowerPercent()

void Player::ApplyModOverrideAPBySpellPowerPercent ( float  mod,
bool  apply 
)
inline

Definition at line 2830 of file Player.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ApplyModOverrideSpellPowerByAPPercent()

void Player::ApplyModOverrideSpellPowerByAPPercent ( float  mod,
bool  apply 
)
inline

Definition at line 2828 of file Player.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ApplyModTargetPhysicalResistance()

void Player::ApplyModTargetPhysicalResistance ( int32  mod,
bool  apply 
)
inline

Definition at line 2035 of file Player.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ApplyModTargetResistance()

void Player::ApplyModTargetResistance ( int32  mod,
bool  apply 
)
inline

Definition at line 2034 of file Player.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ApplyModToSpell()

void Player::ApplyModToSpell ( SpellModifier mod,
Spell spell 
)
static

Definition at line 22368 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ApplyRatingDiminishing()

float Player::ApplyRatingDiminishing ( CombatRating  cr,
float  bonusValue 
) const

Definition at line 5294 of file Player.cpp.

+ Here is the caller graph for this function:

◆ ApplyRatingMod()

void Player::ApplyRatingMod ( CombatRating  cr,
int32  value,
bool  apply 
)

Definition at line 5362 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ApplySpellMod()

template<class T >
template TC_GAME_API void Player::ApplySpellMod ( SpellInfo const *  spellInfo,
SpellModOp  op,
T &  basevalue,
Spell spell = nullptr 
) const

Definition at line 22261 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ApplySpellPenetrationBonus()

void Player::ApplySpellPenetrationBonus ( int32  amount,
bool  apply 
)

Definition at line 229 of file StatSystem.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ApplySpellPowerBonus()

void Player::ApplySpellPowerBonus ( int32  amount,
bool  apply 
)

Definition at line 150 of file StatSystem.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ApplyTraitConfig()

void Player::ApplyTraitConfig ( int32  configId,
bool  apply 
)

Definition at line 28455 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ApplyTraitEntry()

void Player::ApplyTraitEntry ( int32  traitNodeEntryId,
int32  rank,
int32  grantedRanks,
bool  apply 
)

Definition at line 28465 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ApplyTraitEntryChanges()

void Player::ApplyTraitEntryChanges ( int32  editedConfigId,
WorldPackets::Traits::TraitConfig const &  newConfig,
bool  applyTraits,
bool  consumeCurrencies 
)

Definition at line 28310 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ AreaExploredOrEventHappens()

void Player::AreaExploredOrEventHappens ( uint32  questId)

Definition at line 16577 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ AtEnterCombat()

void Player::AtEnterCombat ( )
overridevirtual

Reimplemented from Unit.

Definition at line 26078 of file Player.cpp.

+ Here is the call graph for this function:

◆ AtExitCombat()

void Player::AtExitCombat ( )
overridevirtual

Reimplemented from Unit.

Definition at line 26085 of file Player.cpp.

+ Here is the call graph for this function:

◆ AutoStoreLoot() [1/2]

void Player::AutoStoreLoot ( uint32  loot_id,
LootStore const &  store,
ItemContext  context = ItemContext::NONE,
bool  broadcast = false,
bool  createdByPlayer = false 
)
inline

Definition at line 1421 of file Player.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ AutoStoreLoot() [2/2]

void Player::AutoStoreLoot ( uint8  bag,
uint8  slot,
uint32  loot_id,
LootStore const &  store,
ItemContext  context = ItemContext::NONE,
bool  broadcast = false,
bool  createdByPlayer = false 
)

Definition at line 26395 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ AutoUnequipChildItem()

void Player::AutoUnequipChildItem ( Item parentItem)

Definition at line 11948 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ AutoUnequipOffhandIfNeed()

void Player::AutoUnequipOffhandIfNeed ( bool  force = false)

Definition at line 25403 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ BankItem()

Item * Player::BankItem ( ItemPosCountVec const &  dest,
Item pItem,
bool  update 
)

Definition at line 12043 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ BuildCreateUpdateBlockForPlayer()

void Player::BuildCreateUpdateBlockForPlayer ( UpdateData data,
Player target 
) const
overridevirtual

Reimplemented from Object.

Definition at line 3614 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ BuildPlayerRepop()

void Player::BuildPlayerRepop ( )

Definition at line 4350 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ BuildValuesCreate()

void Player::BuildValuesCreate ( ByteBuffer data,
Player const *  target 
) const
overrideprotectedvirtual

Implements Object.

Definition at line 3647 of file Player.cpp.

+ Here is the call graph for this function:

◆ BuildValuesUpdate()

void Player::BuildValuesUpdate ( ByteBuffer data,
Player const *  target 
) const
overrideprotectedvirtual

Implements Object.

Definition at line 3662 of file Player.cpp.

+ Here is the call graph for this function:

◆ BuildValuesUpdateForPlayerWithMask()

void Player::BuildValuesUpdateForPlayerWithMask ( UpdateData data,
UF::ObjectData::Mask const &  requestedObjectMask,
UF::UnitData::Mask const &  requestedUnitMask,
UF::PlayerData::Mask const &  requestedPlayerMask,
UF::ActivePlayerData::Mask const &  requestedActivePlayerMask,
Player const *  target 
) const

Definition at line 3705 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ BuildValuesUpdateWithFlag()

void Player::BuildValuesUpdateWithFlag ( ByteBuffer data,
UF::UpdateFieldFlag  flags,
Player const *  target 
) const
overridevirtual

Reimplemented from Object.

Definition at line 3684 of file Player.cpp.

+ Here is the call graph for this function:

◆ BuyCurrencyFromVendorSlot()

bool Player::BuyCurrencyFromVendorSlot ( ObjectGuid  vendorGuid,
uint32  vendorSlot,
uint32  currency,
uint32  count 
)

Definition at line 22879 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ BuyItemFromVendorSlot()

bool Player::BuyItemFromVendorSlot ( ObjectGuid  vendorguid,
uint32  vendorslot,
uint32  item,
uint8  count,
uint8  bag,
uint8  slot 
)

Definition at line 23034 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ CalculateCorpseReclaimDelay()

int32 Player::CalculateCorpseReclaimDelay ( bool  load = false) const

Definition at line 25846 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ CalculateMinMaxDamage()

void Player::CalculateMinMaxDamage ( WeaponAttackType  attType,
bool  normalized,
bool  addTotalPct,
float &  minDamage,
float &  maxDamage 
) const
overridevirtual

Implements Unit.

Definition at line 423 of file StatSystem.cpp.

+ Here is the call graph for this function:

◆ CalculateReputationGain()

int32 Player::CalculateReputationGain ( ReputationSource  source,
uint32  creatureOrQuestLevel,
int32  rep,
int32  faction,
bool  noQuestBonus = false 
)

Definition at line 6504 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ CanAcceptAreaSpiritHealFrom()

bool Player::CanAcceptAreaSpiritHealFrom ( Unit spiritHealer) const
inline

Definition at line 2868 of file Player.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ CanAddQuest()

bool Player::CanAddQuest ( Quest const *  quest,
bool  msg 
) const

Definition at line 14632 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ CanAlwaysSee()

bool Player::CanAlwaysSee ( WorldObject const *  obj) const
overrideprotectedvirtual

Reimplemented from WorldObject.

Definition at line 23749 of file Player.cpp.

+ Here is the call graph for this function:

◆ CanApplyResilience()

bool Player::CanApplyResilience ( ) const
inlineoverridevirtual

Reimplemented from Unit.

Definition at line 2068 of file Player.h.

◆ CanBankItem()

InventoryResult Player::CanBankItem ( uint8  bag,
uint8  slot,
ItemPosCountVec dest,
Item pItem,
bool  swap,
bool  not_loading = true,
bool  reagentBankOnly = false 
) const

Definition at line 11172 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ CanBeGameMaster()

bool Player::CanBeGameMaster ( ) const

Definition at line 2116 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ CanBlock()

bool Player::CanBlock ( ) const
inline

Definition at line 2300 of file Player.h.

+ Here is the caller graph for this function:

◆ CanCaptureTowerPoint()

bool Player::CanCaptureTowerPoint ( ) const

Definition at line 26222 of file Player.cpp.

+ Here is the call graph for this function:

◆ CancelPendingCastRequest()

void Player::CancelPendingCastRequest ( )

Definition at line 30237 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ CanCompleteQuest()

bool Player::CanCompleteQuest ( uint32  quest_id,
uint32  ignoredQuestObjectiveId = 0 
)

Definition at line 14656 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ CanCompleteRepeatableQuest()

bool Player::CanCompleteRepeatableQuest ( Quest const *  quest)

Definition at line 14703 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ CanEnableWarModeInArea()

bool Player::CanEnableWarModeInArea ( ) const

Definition at line 30060 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ CanEnterWater()

bool Player::CanEnterWater ( ) const
inlineoverridevirtual

Implements Unit.

Definition at line 2687 of file Player.h.

◆ CanEquipChildItem()

InventoryResult Player::CanEquipChildItem ( Item parentItem) const

Definition at line 11087 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ CanEquipItem()

InventoryResult Player::CanEquipItem ( uint8  slot,
uint16 dest,
Item pItem,
bool  swap,
bool  not_loading = true 
) const

Definition at line 10896 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ CanEquipNewItem()

InventoryResult Player::CanEquipNewItem ( uint8  slot,
uint16 dest,
uint32  item,
bool  swap 
) const

Definition at line 10882 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ CanEquipUniqueItem() [1/2]

InventoryResult Player::CanEquipUniqueItem ( Item pItem,
uint8  except_slot = NULL_SLOT,
uint32  limit_count = 1 
) const

Definition at line 26613 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ CanEquipUniqueItem() [2/2]

InventoryResult Player::CanEquipUniqueItem ( ItemTemplate const *  itemProto,
uint8  except_slot = NULL_SLOT,
uint32  limit_count = 1 
) const

Definition at line 26639 of file Player.cpp.

+ Here is the call graph for this function:

◆ CanExecutePendingSpellCastRequest()

bool Player::CanExecutePendingSpellCastRequest ( )
private

Definition at line 30459 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ CanFly()

bool Player::CanFly ( ) const
inlineoverridevirtual

Implements Unit.

Definition at line 2686 of file Player.h.

◆ CanInteractWithQuestGiver()

bool Player::CanInteractWithQuestGiver ( Object questGiver) const

Definition at line 1929 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ CanJoinConstantChannelInZone()

bool Player::CanJoinConstantChannelInZone ( ChatChannelsEntry const *  channel,
AreaTableEntry const *  zone 
) const

Definition at line 4880 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ CanJoinToBattleground()

bool Player::CanJoinToBattleground ( BattlegroundTemplate const *  bg) const

Definition at line 23638 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ CanNeverSee()

bool Player::CanNeverSee ( WorldObject const *  obj) const
overrideprotectedvirtual

Reimplemented from WorldObject.

Definition at line 23742 of file Player.cpp.

+ Here is the call graph for this function:

◆ CanNoReagentCast()

bool Player::CanNoReagentCast ( SpellInfo const *  spellInfo) const

Definition at line 25509 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ CanParry()

bool Player::CanParry ( ) const
inline

Definition at line 2298 of file Player.h.

+ Here is the caller graph for this function:

◆ CanReportAfkDueToLimit()

bool Player::CanReportAfkDueToLimit ( )

Definition at line 23649 of file Player.cpp.

+ Here is the caller graph for this function:

◆ CanRequestSpellCast()

bool Player::CanRequestSpellCast ( SpellInfo const *  spell,
Unit const *  castingUnit 
) const

Definition at line 30255 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ CanRewardQuest() [1/2]

bool Player::CanRewardQuest ( Quest const *  quest,
bool  msg 
) const

Definition at line 14717 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ CanRewardQuest() [2/2]

bool Player::CanRewardQuest ( Quest const *  quest,
LootItemType  rewardType,
uint32  rewardId,
bool  msg 
) const

Definition at line 14829 of file Player.cpp.

+ Here is the call graph for this function:

◆ CanRollNeedForItem()

InventoryResult Player::CanRollNeedForItem ( ItemTemplate const *  item,
Map const *  map,
bool  restrictOnlyLfg 
) const

Definition at line 11493 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ CanSeeGossipOn()

bool Player::CanSeeGossipOn ( Creature const *  creature) const

Definition at line 27233 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ CanSeeSpellClickOn()

bool Player::CanSeeSpellClickOn ( Creature const *  creature) const

Definition at line 27266 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ CanSeeStartQuest()

bool Player::CanSeeStartQuest ( Quest const *  quest) const

Definition at line 14606 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ CanSelectQuestPackageItem()

bool Player::CanSelectQuestPackageItem ( QuestPackageItemEntry const *  questPackageItem) const

Definition at line 15084 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ CanShareQuest()

bool Player::CanShareQuest ( uint32  questId) const

Definition at line 16064 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ CanStoreItem() [1/2]

InventoryResult Player::CanStoreItem ( uint8  bag,
uint8  slot,
ItemPosCountVec dest,
Item pItem,
bool  swap = false 
) const

Definition at line 10037 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ CanStoreItem() [2/2]

InventoryResult Player::CanStoreItem ( uint8  bag,
uint8  slot,
ItemPosCountVec dest,
uint32  entry,
uint32  count,
Item pItem = nullptr,
bool  swap = false,
uint32 no_space_count = nullptr 
) const

Definition at line 10289 of file Player.cpp.

+ Here is the call graph for this function:

◆ CanStoreItem_InBag()

InventoryResult Player::CanStoreItem_InBag ( uint8  bag,
ItemPosCountVec dest,
ItemTemplate const *  pProto,
uint32 count,
bool  merge,
bool  non_specialized,
Item pSrcItem,
uint8  skip_bag,
uint8  skip_slot 
) const
private

Definition at line 10164 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ CanStoreItem_InInventorySlots()

InventoryResult Player::CanStoreItem_InInventorySlots ( uint8  slot_begin,
uint8  slot_end,
ItemPosCountVec dest,
ItemTemplate const *  pProto,
uint32 count,
bool  merge,
Item pSrcItem,
uint8  skip_bag,
uint8  skip_slot 
) const
private

Definition at line 10239 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ CanStoreItem_InSpecificSlot()

InventoryResult Player::CanStoreItem_InSpecificSlot ( uint8  bag,
uint8  slot,
ItemPosCountVec dest,
ItemTemplate const *  pProto,
uint32 count,
bool  swap,
Item pSrcItem 
) const
private

Definition at line 10085 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ CanStoreItems()

InventoryResult Player::CanStoreItems ( Item **  items,
int  count,
uint32 offendingItemId 
) const

Definition at line 10668 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ CanStoreNewItem()

InventoryResult Player::CanStoreNewItem ( uint8  bag,
uint8  slot,
ItemPosCountVec dest,
uint32  item,
uint32  count,
uint32 no_space_count = nullptr 
) const

Definition at line 10032 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ CanTakeMoreSimilarItems() [1/3]

InventoryResult Player::CanTakeMoreSimilarItems ( Item pItem,
uint32 offendingItemId = nullptr 
) const

Definition at line 10027 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ CanTakeMoreSimilarItems() [2/3]

InventoryResult Player::CanTakeMoreSimilarItems ( uint32  entry,
uint32  count,
Item pItem,
uint32 no_space_count = nullptr,
uint32 offendingItemId = nullptr 
) const

Definition at line 9970 of file Player.cpp.

+ Here is the call graph for this function:

◆ CanTakeMoreSimilarItems() [3/3]

InventoryResult Player::CanTakeMoreSimilarItems ( uint32  entry,
uint32  count,
uint32 offendingItemId = nullptr 
) const
inline

Definition at line 1392 of file Player.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ CanTakeQuest()

bool Player::CanTakeQuest ( Quest const *  quest,
bool  msg 
) const

Definition at line 14620 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ CanTameExoticPets()

bool Player::CanTameExoticPets ( ) const
inline

Definition at line 2305 of file Player.h.

+ Here is the caller graph for this function:

◆ CanTitanGrip()

bool Player::CanTitanGrip ( ) const
inline

Definition at line 2302 of file Player.h.

+ Here is the caller graph for this function:

◆ CanUnderstandLanguage()

bool Player::CanUnderstandLanguage ( Language  language) const

Definition at line 21841 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ CanUnequipItem()

InventoryResult Player::CanUnequipItem ( uint16  src,
bool  swap 
) const

Definition at line 11127 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ CanUnequipItems()

InventoryResult Player::CanUnequipItems ( uint32  item,
uint32  count 
) const

Definition at line 9484 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ CanUninviteFromGroup()

PartyResult Player::CanUninviteFromGroup ( ObjectGuid  guidMember,
Optional< uint8 partyIndex 
) const
Todo:
Should also be sent when anyone has recently left combat, with an aprox ~5 seconds timer.

Definition at line 25920 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ CanUseBattlegroundObject()

bool Player::CanUseBattlegroundObject ( GameObject gameobject) const

Definition at line 26192 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ CanUseItem() [1/2]

InventoryResult Player::CanUseItem ( Item pItem,
bool  not_loading = true 
) const
Todo:
when you right-click already equipped item it throws EQUIP_ERR_PROFICIENCY_NEEDED.

Definition at line 11381 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ CanUseItem() [2/2]

InventoryResult Player::CanUseItem ( ItemTemplate const *  pItem,
bool  skipRequiredLevelCheck = false 
) const

Definition at line 11440 of file Player.cpp.

+ Here is the call graph for this function:

◆ CanUseMastery()

bool Player::CanUseMastery ( ) const

Definition at line 29531 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ CastAllObtainSpells()

void Player::CastAllObtainSpells ( )

Definition at line 8210 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ CastItemCombatSpell() [1/2]

void Player::CastItemCombatSpell ( DamageInfo const &  damageInfo)

Definition at line 8622 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ CastItemCombatSpell() [2/2]

void Player::CastItemCombatSpell ( DamageInfo const &  damageInfo,
Item item,
ItemTemplate const *  proto 
)

Definition at line 8672 of file Player.cpp.

+ Here is the call graph for this function:

◆ CastItemUseSpell()

void Player::CastItemUseSpell ( Item item,
SpellCastTargets const &  targets,
ObjectGuid  castCount,
int32 misc 
)

Definition at line 8799 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ CharmSpellInitialize()

void Player::CharmSpellInitialize ( )

Definition at line 21991 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ CheckAreaExploreAndOutdoor()

void Player::CheckAreaExploreAndOutdoor ( void  )

Definition at line 6346 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ CheckAttackFitToAuraRequirement()

bool Player::CheckAttackFitToAuraRequirement ( WeaponAttackType  attackType,
AuraEffect const *  aurEff 
) const
overridevirtual

Reimplemented from Unit.

Definition at line 8321 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ CheckDuelDistance()

void Player::CheckDuelDistance ( time_t  currTime)

Definition at line 7704 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ CheckInstanceCount()

bool Player::CheckInstanceCount ( uint32  instanceId) const

Definition at line 19854 of file Player.cpp.

+ Here is the caller graph for this function:

◆ CheckInstanceValidity()

bool Player::CheckInstanceValidity ( bool  )

Definition at line 19821 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ CheckLoadedDungeonDifficultyID()

Difficulty Player::CheckLoadedDungeonDifficultyID ( Difficulty  difficulty)
static

Definition at line 29652 of file Player.cpp.

+ Here is the caller graph for this function:

◆ CheckLoadedLegacyRaidDifficultyID()

Difficulty Player::CheckLoadedLegacyRaidDifficultyID ( Difficulty  difficulty)
static

Definition at line 29682 of file Player.cpp.

+ Here is the caller graph for this function:

◆ CheckLoadedRaidDifficultyID()

Difficulty Player::CheckLoadedRaidDifficultyID ( Difficulty  difficulty)
static

Definition at line 29667 of file Player.cpp.

+ Here is the caller graph for this function:

◆ CheckTitanGripPenalty()

void Player::CheckTitanGripPenalty ( )

Definition at line 13333 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ CleanupAfterTaxiFlight()

void Player::CleanupAfterTaxiFlight ( )

Definition at line 22715 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ CleanupChannels()

void Player::CleanupChannels ( )

Definition at line 4910 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ CleanupsBeforeDelete()

void Player::CleanupsBeforeDelete ( bool  finalCleanup = true)
overridevirtual

Reimplemented from WorldObject.

Definition at line 386 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ClearAfkReports()

void Player::ClearAfkReports ( )
inline

Definition at line 2427 of file Player.h.

+ Here is the caller graph for this function:

◆ ClearQuestSharingInfo()

void Player::ClearQuestSharingInfo ( )
inline

Definition at line 1675 of file Player.h.

+ Here is the caller graph for this function:

◆ ClearResurrectRequestData()

void Player::ClearResurrectRequestData ( )
inline

Definition at line 1920 of file Player.h.

+ Here is the caller graph for this function:

◆ ClearSelfResSpell()

void Player::ClearSelfResSpell ( )
inline

Definition at line 2818 of file Player.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ClearUpdateMask()

void Player::ClearUpdateMask ( bool  remove)
overrideprotectedvirtual

Reimplemented from Object.

Definition at line 3785 of file Player.cpp.

+ Here is the call graph for this function:

◆ ClearWhisperWhiteList()

void Player::ClearWhisperWhiteList ( )
inline

Definition at line 2677 of file Player.h.

+ Here is the caller graph for this function:

◆ CompletedAchievement()

void Player::CompletedAchievement ( AchievementEntry const *  entry)

Definition at line 26784 of file Player.cpp.

+ Here is the caller graph for this function:

◆ CompleteQuest()

void Player::CompleteQuest ( uint32  quest_id)

Definition at line 15023 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ConfirmPendingBind()

void Player::ConfirmPendingBind ( )

Definition at line 19672 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ContinueTaxiFlight()

void Player::ContinueTaxiFlight ( ) const

Definition at line 22722 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ CorrectMetaGemEnchants()

void Player::CorrectMetaGemEnchants ( uint8  slot,
bool  apply 
)

Definition at line 23485 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ Create()

bool Player::Create ( ObjectGuid::LowType  guidlow,
WorldPackets::Character::CharacterCreateInfo const *  createInfo 
)
Todo:
need more checks against packet modifications

Definition at line 394 of file Player.cpp.

+ Here is the call graph for this function:

◆ CreateCorpse()

Corpse * Player::CreateCorpse ( )

Definition at line 4538 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ CreateGarrison()

void Player::CreateGarrison ( uint32  garrSiteId)

Definition at line 29216 of file Player.cpp.

+ Here is the caller graph for this function:

◆ CreateTraitConfig()

void Player::CreateTraitConfig ( WorldPackets::Traits::TraitConfig traitConfig)

Definition at line 28195 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ CurrencyChanged()

void Player::CurrencyChanged ( uint32  currencyId,
int32  change 
)

Definition at line 16731 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ DailyReset()

void Player::DailyReset ( )

Definition at line 24852 of file Player.cpp.

+ Here is the call graph for this function:

◆ DeleteEquipmentSet()

void Player::DeleteEquipmentSet ( uint64  id)

Definition at line 27529 of file Player.cpp.

+ Here is the caller graph for this function:

◆ DeleteFromDB()

void Player::DeleteFromDB ( ObjectGuid  playerguid,
uint32  accountId,
bool  updateRealmChars = true,
bool  deleteFinally = false 
)
static

Deletes a character from the database

The way characters will be deleted is decided based on the config option.

See also
Player::DeleteOldCharacters
Parameters
playerguidthe low-GUID from the player which should be deleted
accountIdthe account id from the player
updateRealmCharswhen this flag is set, the amount of characters on that realm will be updated in the realmlist
deleteFinallyif this flag is set, the config option will be ignored and the character will be permanently removed from the database

Definition at line 3824 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ DeleteGarrison()

void Player::DeleteGarrison ( )

Definition at line 29223 of file Player.cpp.

◆ DeleteOldCharacters() [1/2]

void Player::DeleteOldCharacters ( )
static

Characters which were kept back in the database after being deleted and are now too old (see config option "CharDelete.KeepDays"), will be completely deleted.

See also
Player::DeleteFromDB

Definition at line 4310 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ DeleteOldCharacters() [2/2]

void Player::DeleteOldCharacters ( uint32  keepDays)
static

Characters which were kept back in the database after being deleted and are older than the specified amount of days, will be completely deleted.

See also
Player::DeleteFromDB
Parameters
keepDaysoverwrite the config option by another amount of days

Definition at line 4326 of file Player.cpp.

+ Here is the call graph for this function:

◆ DeleteRefundReference()

void Player::DeleteRefundReference ( ObjectGuid  it)

Definition at line 28576 of file Player.cpp.

+ Here is the caller graph for this function:

◆ DeleteTraitConfig()

void Player::DeleteTraitConfig ( int32  deletedConfigId)

Definition at line 28438 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ DeleteVoidStorageItem()

void Player::DeleteVoidStorageItem ( uint8  slot)

Definition at line 29170 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ DespawnPersonalSummonsForQuest()

void Player::DespawnPersonalSummonsForQuest ( uint32  questId)

Definition at line 16363 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ DestroyConjuredItems()

void Player::DestroyConjuredItems ( bool  update)

Definition at line 12560 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ DestroyForPlayer()

void Player::DestroyForPlayer ( Player target) const
overridevirtual

Reimplemented from Object.

Definition at line 3761 of file Player.cpp.

+ Here is the call graph for this function:

◆ DestroyItem()

void Player::DestroyItem ( uint8  bag,
uint8  slot,
bool  update 
)

Definition at line 12180 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ DestroyItemCount() [1/2]

void Player::DestroyItemCount ( Item item,
uint32 count,
bool  update 
)

Definition at line 12622 of file Player.cpp.

+ Here is the call graph for this function:

◆ DestroyItemCount() [2/2]

uint32 Player::DestroyItemCount ( uint32  item,
uint32  count,
bool  update,
bool  unequip_check = false 
)

Definition at line 12281 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ DestroyZoneLimitedItem()

void Player::DestroyZoneLimitedItem ( bool  update,
uint32  new_zone 
)

Definition at line 12533 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ DisablePetControlsOnMount()

void Player::DisablePetControlsOnMount ( ReactStates  reactState,
CommandStates  commandState 
)

Definition at line 27122 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ DisablePvpRules()

void Player::DisablePvpRules ( )

Definition at line 27065 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ DoRandomRoll()

uint32 Player::DoRandomRoll ( uint32  minimum,
uint32  maximum 
)

Definition at line 29841 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ DuelComplete()

void Player::DuelComplete ( DuelCompleteType  type)

Definition at line 7741 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ DurabilityLoss()

void Player::DurabilityLoss ( Item item,
double  percent 
)

Definition at line 4635 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ DurabilityLossAll()

void Player::DurabilityLossAll ( double  percent,
bool  inventory 
)

Definition at line 4611 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ DurabilityPointLossForEquipSlot()

void Player::DurabilityPointLossForEquipSlot ( EquipmentSlots  slot)

Definition at line 4709 of file Player.cpp.

+ Here is the call graph for this function:

◆ DurabilityPointsLoss()

void Player::DurabilityPointsLoss ( Item item,
int32  points 
)

Definition at line 4679 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ DurabilityPointsLossAll()

void Player::DurabilityPointsLossAll ( int32  points,
bool  inventory 
)

Definition at line 4655 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ DurabilityRepair()

void Player::DurabilityRepair ( uint16  pos,
bool  takeCost,
float  discountMod 
)

Definition at line 4802 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ DurabilityRepairAll()

void Player::DurabilityRepairAll ( bool  takeCost,
float  discountMod,
bool  guildBank 
)

Definition at line 4718 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ EnablePetControlsOnDismount()

void Player::EnablePetControlsOnDismount ( )

Definition at line 27143 of file Player.cpp.

+ Here is the call graph for this function:

◆ EnablePvpRules()

void Player::EnablePvpRules ( bool  dueToCombat = false)

Definition at line 27040 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ EnchantmentFitsRequirements()

bool Player::EnchantmentFitsRequirements ( uint32  enchantmentcondition,
int8  slot 
) const

Definition at line 23414 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ EnvironmentalDamage()

uint32 Player::EnvironmentalDamage ( EnviromentalDamage  type,
uint32  damage 
)

Definition at line 634 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ EquipChildItem()

void Player::EquipChildItem ( uint8  parentBag,
uint8  parentSlot,
Item parentItem 
)

Definition at line 11870 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ EquipItem()

Item * Player::EquipItem ( uint16  pos,
Item pItem,
bool  update 
)

Definition at line 11754 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ EquipNewItem()

Item * Player::EquipNewItem ( uint16  pos,
uint32  item,
ItemContext  context,
bool  update 
)

Definition at line 11741 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ExecutePendingSpellCastRequest()

void Player::ExecutePendingSpellCastRequest ( )
private

Definition at line 30268 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FailCriteria()

void Player::FailCriteria ( CriteriaFailEvent  condition,
int32  failAsset 
)

Definition at line 26761 of file Player.cpp.

+ Here is the caller graph for this function:

◆ FailQuest()

void Player::FailQuest ( uint32  quest_id)

Definition at line 15446 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FailQuestsWithFlag()

void Player::FailQuestsWithFlag ( QuestFlags  flag)

Definition at line 15494 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FindEmptyProfessionSlotFor()

int32 Player::FindEmptyProfessionSlotFor ( uint32  skillId) const

Definition at line 24767 of file Player.cpp.

+ Here is the caller graph for this function:

◆ FindEquipSlot()

uint8 Player::FindEquipSlot ( Item const *  item,
uint32  slot,
bool  swap 
) const

Definition at line 9223 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FindQuestSlot()

uint16 Player::FindQuestSlot ( uint32  quest_id) const

Definition at line 16432 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FinishTaxiFlight()

void Player::FinishTaxiFlight ( )

Definition at line 22706 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ForEachItem()

template<typename T >
bool Player::ForEachItem ( ItemSearchLocation  location,
callback 
) const
inline

Iterate over each item in the player storage.

Template Parameters
TItemSearchCallbackResult ItemCallback(Item* item)
Parameters
locationLocations of the items to iterate over
callbackCallback called on each item. Will continue as long as it returns ItemSearchCallbackResult::Continue

Definition at line 1270 of file Player.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetAchievementPoints()

uint32 Player::GetAchievementPoints ( ) const

Definition at line 26741 of file Player.cpp.

+ Here is the caller graph for this function:

◆ GetActionButton()

ActionButton const * Player::GetActionButton ( uint8  button)

Definition at line 6264 of file Player.cpp.

+ Here is the caller graph for this function:

◆ GetActionButtons()

ActionButtonList const & Player::GetActionButtons ( ) const
inline

Definition at line 1879 of file Player.h.

◆ GetActiveTalentGroup()

uint8 Player::GetActiveTalentGroup ( ) const
inline

Definition at line 1843 of file Player.h.

+ Here is the caller graph for this function:

◆ GetAELootView()

std::unordered_map< ObjectGuid, Loot * > const & Player::GetAELootView ( ) const
inline

Definition at line 2094 of file Player.h.

+ Here is the caller graph for this function:

◆ GetArenaPersonalRating()

uint32 Player::GetArenaPersonalRating ( uint8  slot) const

Definition at line 22486 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetArenaTeamId()

uint32 Player::GetArenaTeamId ( uint8  ) const
inline

Definition at line 2004 of file Player.h.

+ Here is the caller graph for this function:

◆ GetArenaTeamIdInvited()

uint32 Player::GetArenaTeamIdInvited ( ) const
inline

Definition at line 2007 of file Player.h.

◆ GetArmorProficiency()

uint32 Player::GetArmorProficiency ( ) const
inline

Definition at line 1485 of file Player.h.

+ Here is the caller graph for this function:

◆ GetAttackBySlot()

WeaponAttackType Player::GetAttackBySlot ( uint8  slot,
InventoryType  inventoryType 
)
static

Definition at line 9710 of file Player.cpp.

+ Here is the caller graph for this function:

◆ GetAverageItemLevel()

float Player::GetAverageItemLevel ( ) const

Definition at line 29020 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetBagByPos()

Bag * Player::GetBagByPos ( uint8  slot) const

Definition at line 9611 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetBankBagSlotCount()

uint8 Player::GetBankBagSlotCount ( ) const
inline

Definition at line 1378 of file Player.h.

+ Here is the caller graph for this function:

◆ GetBarberShopCost()

int64 Player::GetBarberShopCost ( Trinity::IteratorPair< UF::ChrCustomizationChoice const * >  newCustomizations) const

Definition at line 26229 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetBaseModValue()

float Player::GetBaseModValue ( BaseModGroup  modGroup,
BaseModType  modType 
) const

Definition at line 5121 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetBaseSkillValue()

uint16 Player::GetBaseSkillValue ( uint32  skill) const

Definition at line 6094 of file Player.cpp.

+ Here is the caller graph for this function:

◆ GetBaseSpellPowerBonus()

uint32 Player::GetBaseSpellPowerBonus ( ) const
inline

Returns base spellpower bonus from spellpower stat on items, without spellpower from intellect stat.

Definition at line 2065 of file Player.h.

+ Here is the caller graph for this function:

◆ GetBattleground()

Battleground * Player::GetBattleground ( ) const

Definition at line 24976 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetBattlegroundEntryPoint()

WorldLocation const & Player::GetBattlegroundEntryPoint ( ) const
inline

Definition at line 2417 of file Player.h.

+ Here is the caller graph for this function:

◆ GetBattlegroundId()

uint32 Player::GetBattlegroundId ( ) const
inline

Definition at line 2396 of file Player.h.

+ Here is the caller graph for this function:

◆ GetBattlegroundQueueIndex()

uint32 Player::GetBattlegroundQueueIndex ( BattlegroundQueueTypeId  bgQueueTypeId) const

Definition at line 25009 of file Player.cpp.

+ Here is the caller graph for this function:

◆ GetBattlegroundQueueJoinTime()

uint32 Player::GetBattlegroundQueueJoinTime ( BattlegroundQueueTypeId  bgQueueTypeId) const

Definition at line 24984 of file Player.cpp.

+ Here is the caller graph for this function:

◆ GetBattlegroundQueueTypeId()

BattlegroundQueueTypeId Player::GetBattlegroundQueueTypeId ( uint32  index) const

Definition at line 25001 of file Player.cpp.

+ Here is the caller graph for this function:

◆ GetBattlegroundTypeId()

BattlegroundTypeId Player::GetBattlegroundTypeId ( ) const
inline

Definition at line 2397 of file Player.h.

+ Here is the caller graph for this function:

◆ GetBGAccessByLevel()

bool Player::GetBGAccessByLevel ( BattlegroundTypeId  bgTypeId) const

Definition at line 25115 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetBGTeam()

Team Player::GetBGTeam ( ) const

Definition at line 23609 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetBlockPercent()

float Player::GetBlockPercent ( uint8  attackerLevel) const
overridevirtual

Reimplemented from Unit.

Definition at line 26092 of file Player.cpp.

◆ GetCastSpellInfo()

SpellInfo const * Player::GetCastSpellInfo ( SpellInfo const *  spellInfo,
TriggerCastFlags triggerFlag 
) const
overridevirtual

Reimplemented from Unit.

Definition at line 29697 of file Player.cpp.

+ Here is the call graph for this function:

◆ GetChampioningFaction()

uint32 Player::GetChampioningFaction ( ) const
inline

Definition at line 2670 of file Player.h.

+ Here is the caller graph for this function:

◆ GetChatFlags()

uint16 Player::GetChatFlags ( ) const

Definition at line 1234 of file Player.cpp.

+ Here is the call graph for this function:

◆ GetChildItemByGuid()

Item * Player::GetChildItemByGuid ( ObjectGuid  guid) const

Definition at line 9695 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getCinematic()

uint8 Player::getCinematic ( ) const
inline

Definition at line 1939 of file Player.h.

+ Here is the caller graph for this function:

◆ GetCinematicMgr()

CinematicMgr * Player::GetCinematicMgr ( ) const
inline

Definition at line 1501 of file Player.h.

+ Here is the caller graph for this function:

◆ GetCommandStatus()

bool Player::GetCommandStatus ( uint32  command) const
inline

Definition at line 1206 of file Player.h.

+ Here is the caller graph for this function:

◆ GetCompletedAchievementIds()

std::vector< uint32 > Player::GetCompletedAchievementIds ( ) const

Definition at line 26746 of file Player.cpp.

+ Here is the caller graph for this function:

◆ GetCoordsMapAreaAndZoneString()

std::string Player::GetCoordsMapAreaAndZoneString ( ) const

Definition at line 29425 of file Player.cpp.

+ Here is the call graph for this function:

◆ GetCorpse()

Corpse * Player::GetCorpse ( ) const

Definition at line 4606 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetCorpseLocation()

WorldLocation Player::GetCorpseLocation ( ) const
inline

Definition at line 2164 of file Player.h.

+ Here is the caller graph for this function:

◆ GetCorpseReclaimDelay()

uint32 Player::GetCorpseReclaimDelay ( bool  pvp) const

Definition at line 25805 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetCraftingReagentItemsToDeposit()

std::vector< Item * > Player::GetCraftingReagentItemsToDeposit ( )

Definition at line 9552 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetCreateMode()

PlayerCreateMode Player::GetCreateMode ( ) const
inline

Definition at line 1937 of file Player.h.

+ Here is the caller graph for this function:

◆ GetCUFProfile()

CUFProfile * Player::GetCUFProfile ( uint8  id) const
inline

‍Replaces a CUF profile at position 0-4

Definition at line 1685 of file Player.h.

+ Here is the caller graph for this function:

◆ GetCUFProfilesCount()

uint8 Player::GetCUFProfilesCount ( ) const
inline

‍Retrieves a CUF profile at position 0-4

Definition at line 1686 of file Player.h.

◆ GetCurrencyIncreasedCapQuantity()

uint32 Player::GetCurrencyIncreasedCapQuantity ( uint32  id) const

Definition at line 7373 of file Player.cpp.

+ Here is the caller graph for this function:

◆ GetCurrencyMaxQuantity()

uint32 Player::GetCurrencyMaxQuantity ( CurrencyTypesEntry const *  currency,
bool  onLoad = false,
bool  onUpdateVersion = false 
) const

Definition at line 7382 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetCurrencyQuantity()

uint32 Player::GetCurrencyQuantity ( uint32  id) const

Definition at line 7346 of file Player.cpp.

+ Here is the caller graph for this function:

◆ GetCurrencyTrackedQuantity()

uint32 Player::GetCurrencyTrackedQuantity ( uint32  id) const

Definition at line 7364 of file Player.cpp.

+ Here is the caller graph for this function:

◆ GetCurrencyWeeklyCap() [1/2]

uint32 Player::GetCurrencyWeeklyCap ( CurrencyTypesEntry const *  currency) const

Definition at line 7407 of file Player.cpp.

◆ GetCurrencyWeeklyCap() [2/2]

uint32 Player::GetCurrencyWeeklyCap ( uint32  id) const

Definition at line 7398 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetCurrencyWeeklyQuantity()

uint32 Player::GetCurrencyWeeklyQuantity ( uint32  id) const

Definition at line 7355 of file Player.cpp.

◆ GetCustomizationChoice()

uint32 Player::GetCustomizationChoice ( uint32  chrCustomizationOptionId) const
inline

Definition at line 2750 of file Player.h.

+ Here is the caller graph for this function:

◆ GetDeathTimer()

uint32 Player::GetDeathTimer ( ) const
inline

Definition at line 2291 of file Player.h.

+ Here is the caller graph for this function:

◆ GetDebugInfo()

std::string Player::GetDebugInfo ( ) const
overridevirtual

Reimplemented from WorldObject.

Definition at line 30123 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetDeclinedNames()

UF::DeclinedNames const * Player::GetDeclinedNames ( ) const
inline

Definition at line 2641 of file Player.h.

+ Here is the caller graph for this function:

◆ GetDefaultSpecId()

uint32 Player::GetDefaultSpecId ( ) const

Definition at line 29822 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetDifficultyID()

Difficulty Player::GetDifficultyID ( MapEntry const *  mapEntry) const

Definition at line 29636 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetDodgeFromAgility()

void Player::GetDodgeFromAgility ( float &  diminishing,
float &  nondiminishing 
) const

Definition at line 5145 of file Player.cpp.

+ Here is the caller graph for this function:

◆ GetDrunkenstateByValue()

DrunkenState Player::GetDrunkenstateByValue ( uint8  value)
static

Definition at line 876 of file Player.cpp.

+ Here is the caller graph for this function:

◆ GetDrunkValue()

uint8 Player::GetDrunkValue ( ) const
inline

Definition at line 2288 of file Player.h.

+ Here is the caller graph for this function:

◆ GetDungeonDifficultyID()

Difficulty Player::GetDungeonDifficultyID ( ) const
inline

Definition at line 2012 of file Player.h.

+ Here is the caller graph for this function:

◆ GetEffectiveTeam()

Team Player::GetEffectiveTeam ( ) const
inline

Definition at line 2239 of file Player.h.

+ Here is the caller graph for this function:

◆ GetEffectiveTeamId()

TeamId Player::GetEffectiveTeamId ( ) const
inline

Definition at line 2240 of file Player.h.

◆ GetExpertiseDodgeOrParryReduction()

float Player::GetExpertiseDodgeOrParryReduction ( WeaponAttackType  attType) const

Definition at line 5347 of file Player.cpp.

+ Here is the caller graph for this function:

◆ GetFactionGroupForRace()

uint8 Player::GetFactionGroupForRace ( uint8  race)
static

Definition at line 6480 of file Player.cpp.

+ Here is the caller graph for this function:

◆ GetFreeInventorySlotCount()

uint32 Player::GetFreeInventorySlotCount ( EnumFlag< ItemSearchLocation location = ItemSearchLocation::Inventory) const

Definition at line 9426 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetFreeInventorySpace()

uint32 Player::GetFreeInventorySpace ( ) const

Definition at line 9621 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetFreePrimaryProfessionPoints()

uint32 Player::GetFreePrimaryProfessionPoints ( ) const
inline

Definition at line 1897 of file Player.h.

+ Here is the caller graph for this function:

◆ GetGameObjectIfCanInteractWith() [1/2]

GameObject * Player::GetGameObjectIfCanInteractWith ( ObjectGuid const &  guid) const

Definition at line 2004 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetGameObjectIfCanInteractWith() [2/2]

GameObject * Player::GetGameObjectIfCanInteractWith ( ObjectGuid const &  guid,
GameobjectTypes  type 
) const

Definition at line 2030 of file Player.cpp.

+ Here is the call graph for this function:

◆ GetGarrison()

Garrison * Player::GetGarrison ( ) const
inline

Definition at line 2710 of file Player.h.

+ Here is the caller graph for this function:

◆ GetGlyphs() [1/2]

std::vector< uint32 > & Player::GetGlyphs ( uint8  spec)
inline

Definition at line 1878 of file Player.h.

◆ GetGlyphs() [2/2]

std::vector< uint32 > const & Player::GetGlyphs ( uint8  spec) const
inline

Definition at line 1877 of file Player.h.

+ Here is the caller graph for this function:

◆ GetGossipMenuForSource()

uint32 Player::GetGossipMenuForSource ( WorldObject const *  source) const

Definition at line 14389 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetGossipTextId() [1/2]

uint32 Player::GetGossipTextId ( uint32  menuId,
WorldObject source 
)

Definition at line 14367 of file Player.cpp.

+ Here is the caller graph for this function:

◆ GetGossipTextId() [2/2]

uint32 Player::GetGossipTextId ( WorldObject source)

Definition at line 14359 of file Player.cpp.

+ Here is the call graph for this function:

◆ GetGroup() [1/4]

Group * Player::GetGroup ( )
inline

Definition at line 2608 of file Player.h.

+ Here is the caller graph for this function:

◆ GetGroup() [2/4]

Group const * Player::GetGroup ( ) const
inline

Definition at line 2609 of file Player.h.

◆ GetGroup() [3/4]

Group * Player::GetGroup ( Optional< uint8 partyIndex)
inline

Definition at line 2606 of file Player.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetGroup() [4/4]

Group const * Player::GetGroup ( Optional< uint8 partyIndex) const

Definition at line 24171 of file Player.cpp.

+ Here is the call graph for this function:

◆ GetGroupInvite()

Group * Player::GetGroupInvite ( ) const
inline

Definition at line 2604 of file Player.h.

+ Here is the caller graph for this function:

◆ GetGroupRef()

GroupReference & Player::GetGroupRef ( )
inline

Definition at line 2610 of file Player.h.

◆ GetGroupUpdateFlag()

uint32 Player::GetGroupUpdateFlag ( ) const
inline

Definition at line 2613 of file Player.h.

◆ GetGuild() [1/2]

Guild * Player::GetGuild ( )

Definition at line 29432 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetGuild() [2/2]

Guild const * Player::GetGuild ( ) const

Definition at line 29438 of file Player.cpp.

+ Here is the call graph for this function:

◆ GetGuildId()

ObjectGuid::LowType Player::GetGuildId ( ) const
inline

Definition at line 1993 of file Player.h.

+ Here is the caller graph for this function:

◆ GetGuildIdInvited()

ObjectGuid::LowType Player::GetGuildIdInvited ( ) const
inline

Definition at line 1996 of file Player.h.

+ Here is the caller graph for this function:

◆ GetGuildLevel()

uint32 Player::GetGuildLevel ( ) const
inline

Definition at line 1991 of file Player.h.

◆ GetGuildName()

std::string Player::GetGuildName ( ) const

Definition at line 28566 of file Player.cpp.

+ Here is the call graph for this function:

◆ GetGuildRank()

uint8 Player::GetGuildRank ( ) const
inline

Definition at line 1989 of file Player.h.

◆ GetHealthBonusFromStamina()

float Player::GetHealthBonusFromStamina ( ) const

Definition at line 279 of file StatSystem.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetHonorLevel()

uint32 Player::GetHonorLevel ( ) const
inline

Definition at line 2276 of file Player.h.

+ Here is the caller graph for this function:

◆ GetInGameTime()

uint32 Player::GetInGameTime ( ) const
inline

Definition at line 1677 of file Player.h.

◆ GetInstanceEntrance()

WorldSafeLocsEntry const * Player::GetInstanceEntrance ( uint32  targetMapId)

Definition at line 19867 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetInventorySlotCount()

uint8 Player::GetInventorySlotCount ( ) const
inline

Definition at line 1376 of file Player.h.

+ Here is the caller graph for this function:

◆ GetItemByEntry()

Item * Player::GetItemByEntry ( uint32  entry,
ItemSearchLocation  where = ItemSearchLocation::Default 
) const

Definition at line 12589 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetItemByGuid()

Item * Player::GetItemByGuid ( ObjectGuid  guid) const

Definition at line 9566 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetItemByPos() [1/2]

Item * Player::GetItemByPos ( uint16  pos) const

Definition at line 9582 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetItemByPos() [2/2]

Item * Player::GetItemByPos ( uint8  bag,
uint8  slot 
) const

Definition at line 9589 of file Player.cpp.

+ Here is the call graph for this function:

◆ GetItemCount()

uint32 Player::GetItemCount ( uint32  item,
bool  inBankAlso = false,
Item skipItem = nullptr 
) const

Definition at line 9511 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetItemCountWithLimitCategory()

uint32 Player::GetItemCountWithLimitCategory ( uint32  limitCategory,
Item skipItem = nullptr 
) const

Definition at line 9537 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetItemFromBuyBackSlot()

Item * Player::GetItemFromBuyBackSlot ( uint32  slot)

Definition at line 13212 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetItemLimitCategoryQuantity()

uint8 Player::GetItemLimitCategoryQuantity ( ItemLimitCategoryEntry const *  limitEntry) const

Definition at line 29878 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetItemListByEntry()

std::vector< Item * > Player::GetItemListByEntry ( uint32  entry,
bool  inBankAlso = false 
) const

Definition at line 12605 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetItemUpdateQueue()

std::vector< Item * > & Player::GetItemUpdateQueue ( )
inline

Definition at line 1362 of file Player.h.

+ Here is the caller graph for this function:

◆ GetJoinedChannels()

JoinedChannelsList const & Player::GetJoinedChannels ( ) const
inline

Definition at line 2191 of file Player.h.

+ Here is the caller graph for this function:

◆ GetLastPetNumber()

uint32 Player::GetLastPetNumber ( ) const
inline

Definition at line 2596 of file Player.h.

+ Here is the caller graph for this function:

◆ GetLastPotionId()

uint32 Player::GetLastPotionId ( ) const
inline

Definition at line 1915 of file Player.h.

◆ GetLegacyRaidDifficultyID()

Difficulty Player::GetLegacyRaidDifficultyID ( ) const
inline

Definition at line 2014 of file Player.h.

+ Here is the caller graph for this function:

◆ GetLevelPlayedTime()

uint32 Player::GetLevelPlayedTime ( ) const
inline

Definition at line 1215 of file Player.h.

+ Here is the caller graph for this function:

◆ GetLootByWorldObjectGUID()

Loot * Player::GetLootByWorldObjectGUID ( ObjectGuid const &  lootWorldObjectGuid) const

Definition at line 9037 of file Player.cpp.

+ Here is the caller graph for this function:

◆ GetLootGUID()

ObjectGuid const & Player::GetLootGUID ( ) const
inline

Definition at line 2091 of file Player.h.

+ Here is the caller graph for this function:

◆ GetLootRoll()

LootRoll * Player::GetLootRoll ( ObjectGuid const &  lootObjectGuid,
uint8  lootListId 
)

Definition at line 9046 of file Player.cpp.

+ Here is the caller graph for this function:

◆ GetLootSpecId()

uint32 Player::GetLootSpecId ( ) const
inline

Definition at line 1831 of file Player.h.

+ Here is the caller graph for this function:

◆ GetMail()

Mail * Player::GetMail ( uint64  id)

Definition at line 3605 of file Player.cpp.

+ Here is the caller graph for this function:

◆ GetMails()

PlayerMails const & Player::GetMails ( ) const
inline

Definition at line 1767 of file Player.h.

+ Here is the caller graph for this function:

◆ GetMailSize()

uint32 Player::GetMailSize ( ) const
inline

Definition at line 1764 of file Player.h.

◆ GetMapAreaAndZoneString()

std::string Player::GetMapAreaAndZoneString ( ) const

Definition at line 29407 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetMapRef()

MapReference & Player::GetMapRef ( )
inline

Definition at line 2633 of file Player.h.

+ Here is the caller graph for this function:

◆ GetMaxPersonalArenaRatingRequirement()

uint32 Player::GetMaxPersonalArenaRatingRequirement ( uint32  minarenaslot) const

Definition at line 23264 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetMaxSkillValue()

uint16 Player::GetMaxSkillValue ( uint32  skill) const

Definition at line 6067 of file Player.cpp.

+ Here is the caller graph for this function:

◆ getMaxTimer()

int32 Player::getMaxTimer ( MirrorTimerType  timer) const
protected

Definition at line 691 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetMeleeDamageSchoolMask()

SpellSchoolMask Player::GetMeleeDamageSchoolMask ( WeaponAttackType  attackType = BASE_ATTACK) const
overridevirtual

Implements Unit.

Definition at line 8202 of file Player.cpp.

+ Here is the call graph for this function:

◆ GetMItem()

Item * Player::GetMItem ( ObjectGuid::LowType  id)

Definition at line 21856 of file Player.cpp.

+ Here is the caller graph for this function:

◆ GetMoney()

uint64 Player::GetMoney ( ) const
inline

Definition at line 1738 of file Player.h.

+ Here is the caller graph for this function:

◆ GetMovie()

uint32 Player::GetMovie ( ) const
inline

Definition at line 1942 of file Player.h.

+ Here is the caller graph for this function:

◆ GetNativeGender()

Gender Player::GetNativeGender ( ) const
inlineoverridevirtual

Reimplemented from Unit.

Definition at line 1217 of file Player.h.

+ Here is the caller graph for this function:

◆ GetNextQuest()

Quest const * Player::GetNextQuest ( Object const *  questGiver,
Quest const *  quest 
) const

Definition at line 14580 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetNextRandomRaidMember()

Player * Player::GetNextRandomRaidMember ( float  radius)

Definition at line 25894 of file Player.cpp.

+ Here is the call graph for this function:

◆ GetNextResetTalentsCost()

uint32 Player::GetNextResetTalentsCost ( ) const

Definition at line 3496 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetNextVoidStorageFreeSlot()

uint8 Player::GetNextVoidStorageFreeSlot ( ) const

Definition at line 29136 of file Player.cpp.

+ Here is the caller graph for this function:

◆ GetNPCIfCanInteractWith()

Creature * Player::GetNPCIfCanInteractWith ( ObjectGuid const &  guid,
NPCFlags  npcFlags,
NPCFlags2  npcFlags2 
) const

Definition at line 1947 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetNumOfVoidStorageFreeSlots()

uint8 Player::GetNumOfVoidStorageFreeSlots ( ) const

Definition at line 29145 of file Player.cpp.

+ Here is the caller graph for this function:

◆ GetNumRespecs()

uint8 Player::GetNumRespecs ( ) const
inline

Definition at line 2837 of file Player.h.

+ Here is the caller graph for this function:

◆ GetOriginalGroup()

Group * Player::GetOriginalGroup ( ) const
inline

Definition at line 2625 of file Player.h.

+ Here is the caller graph for this function:

◆ GetOriginalGroupRef()

GroupReference & Player::GetOriginalGroupRef ( )
inline

Definition at line 2626 of file Player.h.

◆ GetOriginalSubGroup()

uint8 Player::GetOriginalSubGroup ( ) const
inline

Definition at line 2627 of file Player.h.

+ Here is the caller graph for this function:

◆ GetOrInitPetStable()

PetStable & Player::GetOrInitPetStable ( )

Definition at line 28654 of file Player.cpp.

+ Here is the caller graph for this function:

◆ GetOutdoorPvP()

OutdoorPvP * Player::GetOutdoorPvP ( ) const

Definition at line 25439 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetOverrideZonePVPType()

ZonePVPTypeOverride Player::GetOverrideZonePVPType ( ) const
inline

Definition at line 1833 of file Player.h.

+ Here is the caller graph for this function:

◆ GetPassOnGroupLoot()

bool Player::GetPassOnGroupLoot ( ) const
inline

Definition at line 2631 of file Player.h.

+ Here is the caller graph for this function:

◆ GetPet()

Pet * Player::GetPet ( ) const

Definition at line 21513 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetPetStable() [1/2]

PetStable * Player::GetPetStable ( )
inline

Definition at line 1222 of file Player.h.

+ Here is the caller graph for this function:

◆ GetPetStable() [2/2]

PetStable const * Player::GetPetStable ( ) const
inline

Definition at line 1224 of file Player.h.

◆ GetPlayerSharingQuest()

ObjectGuid Player::GetPlayerSharingQuest ( ) const
inline

Definition at line 1673 of file Player.h.

+ Here is the caller graph for this function:

◆ GetPowerIndex()

uint32 Player::GetPowerIndex ( Powers  power) const
overridevirtual

Implements Unit.

Definition at line 322 of file StatSystem.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetPrimarySpecialization()

ChrSpecialization Player::GetPrimarySpecialization ( ) const
inline

Definition at line 1841 of file Player.h.

+ Here is the caller graph for this function:

◆ GetPrimarySpecializationEntry()

ChrSpecializationEntry const * Player::GetPrimarySpecializationEntry ( ) const

Definition at line 29827 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetPrimaryStat()

Stats Player::GetPrimaryStat ( ) const

Definition at line 291 of file StatSystem.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetProfessionSkillForExp()

uint32 Player::GetProfessionSkillForExp ( uint32  skill,
int32  expansion 
) const

Definition at line 6005 of file Player.cpp.

+ Here is the caller graph for this function:

◆ GetProfessionSlotFor()

int32 Player::GetProfessionSlotFor ( uint32  skillId) const

Definition at line 24754 of file Player.cpp.

+ Here is the caller graph for this function:

◆ GetPureMaxSkillValue()

uint16 Player::GetPureMaxSkillValue ( uint32  skill) const

Definition at line 6082 of file Player.cpp.

+ Here is the caller graph for this function:

◆ GetPureSkillValue()

uint16 Player::GetPureSkillValue ( uint32  skill) const

Definition at line 6108 of file Player.cpp.

+ Here is the caller graph for this function:

◆ GetPvpInfoForBracket()

UF::PVPInfo const * Player::GetPvpInfoForBracket ( int8  bracket) const

Definition at line 22494 of file Player.cpp.

+ Here is the caller graph for this function:

◆ GetPvpTalentMap() [1/2]

PlayerPvpTalentMap & Player::GetPvpTalentMap ( uint8  spec)
inline

Definition at line 1876 of file Player.h.

◆ GetPvpTalentMap() [2/2]

PlayerPvpTalentMap const & Player::GetPvpTalentMap ( uint8  spec) const
inline

Definition at line 1875 of file Player.h.

+ Here is the caller graph for this function:

◆ GetQuestDialogStatus()

QuestGiverStatus Player::GetQuestDialogStatus ( Object const *  questGiver) const

Definition at line 16194 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetQuestLevel() [1/2]

int32 Player::GetQuestLevel ( Quest const *  quest) const

Definition at line 14450 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetQuestLevel() [2/2]

int32 Player::GetQuestLevel ( uint32  contentTuningId) const

Definition at line 14458 of file Player.cpp.

+ Here is the call graph for this function:

◆ GetQuestMinLevel() [1/2]

int32 Player::GetQuestMinLevel ( Quest const *  quest) const

Definition at line 14429 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetQuestMinLevel() [2/2]

int32 Player::GetQuestMinLevel ( uint32  contentTuningId) const

Definition at line 14434 of file Player.cpp.

+ Here is the call graph for this function:

◆ GetQuestMoneyReward()

uint32 Player::GetQuestMoneyReward ( Quest const *  quest) const

Definition at line 15061 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetQuestObjectiveData() [1/2]

int32 Player::GetQuestObjectiveData ( QuestObjective const &  objective) const

Definition at line 16974 of file Player.cpp.

+ Here is the call graph for this function:

◆ GetQuestObjectiveData() [2/2]

int32 Player::GetQuestObjectiveData ( uint32  questId,
uint32  objectiveId 
) const

Definition at line 16492 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetQuestObjectiveForItem()

QuestObjective const * Player::GetQuestObjectiveForItem ( uint32  itemId,
bool  onlyIncomplete 
) const

Definition at line 16941 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetQuestRewardStatus()

bool Player::GetQuestRewardStatus ( uint32  quest_id) const

Definition at line 16033 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetQuestSlotCounter()

uint16 Player::GetQuestSlotCounter ( uint16  slot,
uint8  counter 
) const

Definition at line 16451 of file Player.cpp.

+ Here is the caller graph for this function:

◆ GetQuestSlotEndTime()

int64 Player::GetQuestSlotEndTime ( uint16  slot) const

Definition at line 16458 of file Player.cpp.

+ Here is the caller graph for this function:

◆ GetQuestSlotObjectiveData()

int32 Player::GetQuestSlotObjectiveData ( uint16  slot,
QuestObjective const &  objective 
) const

Definition at line 16470 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetQuestSlotObjectiveFlag()

bool Player::GetQuestSlotObjectiveFlag ( uint16  slot,
int8  objectiveIndex 
) const

Definition at line 16463 of file Player.cpp.

+ Here is the caller graph for this function:

◆ GetQuestSlotQuestId()

uint32 Player::GetQuestSlotQuestId ( uint16  slot) const

Definition at line 16441 of file Player.cpp.

+ Here is the caller graph for this function:

◆ GetQuestSlotState()

uint32 Player::GetQuestSlotState ( uint16  slot) const

Definition at line 16446 of file Player.cpp.

◆ GetQuestStatus()

QuestStatus Player::GetQuestStatus ( uint32  quest_id) const

Definition at line 16050 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getQuestStatusMap()

QuestStatusMap & Player::getQuestStatusMap ( )
inline

Definition at line 1745 of file Player.h.

+ Here is the caller graph for this function:

◆ GetQuestXPReward()

uint32 Player::GetQuestXPReward ( Quest const *  quest)

Definition at line 15066 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetRaidDifficultyID()

Difficulty Player::GetRaidDifficultyID ( ) const
inline

Definition at line 2013 of file Player.h.

+ Here is the caller graph for this function:

◆ GetRandomWinner()

bool Player::GetRandomWinner ( ) const
inline

Definition at line 2434 of file Player.h.

+ Here is the caller graph for this function:

◆ GetRatingBonusValue()

float Player::GetRatingBonusValue ( CombatRating  cr) const

Definition at line 5286 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetRatingMultiplier()

float Player::GetRatingMultiplier ( CombatRating  cr) const

Definition at line 5273 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetRBGPersonalRating()

uint32 Player::GetRBGPersonalRating ( ) const
inline

Definition at line 2008 of file Player.h.

+ Here is the caller graph for this function:

◆ GetRecentInstanceId()

uint32 Player::GetRecentInstanceId ( uint32  mapId) const
inline

Definition at line 2573 of file Player.h.

+ Here is the caller graph for this function:

◆ GetReputation()

int32 Player::GetReputation ( uint32  factionentry) const

Definition at line 28561 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetReputationMgr() [1/2]

ReputationMgr & Player::GetReputationMgr ( )
inline

Definition at line 2251 of file Player.h.

+ Here is the caller graph for this function:

◆ GetReputationMgr() [2/2]

ReputationMgr const & Player::GetReputationMgr ( ) const
inline

Definition at line 2252 of file Player.h.

◆ GetReputationPriceDiscount() [1/2]

float Player::GetReputationPriceDiscount ( Creature const *  creature) const

Definition at line 25133 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetReputationPriceDiscount() [2/2]

float Player::GetReputationPriceDiscount ( FactionTemplateEntry const *  factionTemplate) const

Definition at line 25138 of file Player.cpp.

+ Here is the call graph for this function:

◆ GetReputationRank()

ReputationRank Player::GetReputationRank ( uint32  faction_id) const

Definition at line 6497 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetReqKillOrCastCurrentCount()

uint16 Player::GetReqKillOrCastCurrentCount ( uint32  quest_id,
int32  entry 
) const

Definition at line 16383 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetRestMgr()

RestMgr & Player::GetRestMgr ( ) const
inline

Definition at line 2717 of file Player.h.

+ Here is the caller graph for this function:

◆ GetRewardedQuestCount()

size_t Player::GetRewardedQuestCount ( ) const
inline

Definition at line 1747 of file Player.h.

+ Here is the caller graph for this function:

◆ getRewardedQuests()

RewardedQuestSet const & Player::getRewardedQuests ( ) const
inline

Definition at line 1744 of file Player.h.

+ Here is the caller graph for this function:

◆ GetRuneBaseCooldown()

uint32 Player::GetRuneBaseCooldown ( ) const

Definition at line 26313 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetRuneCooldown()

uint32 Player::GetRuneCooldown ( uint8  index) const
inline

Definition at line 2643 of file Player.h.

+ Here is the caller graph for this function:

◆ GetRunesState()

uint8 Player::GetRunesState ( ) const

Definition at line 26308 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetSaveTimer()

uint32 Player::GetSaveTimer ( ) const
inline

Definition at line 2488 of file Player.h.

+ Here is the caller graph for this function:

◆ GetSceneMgr() [1/2]

SceneMgr & Player::GetSceneMgr ( )
inline

Definition at line 2715 of file Player.h.

+ Here is the caller graph for this function:

◆ GetSceneMgr() [2/2]

SceneMgr const & Player::GetSceneMgr ( ) const
inline

Definition at line 2716 of file Player.h.

◆ GetSelectedPlayer()

Player * Player::GetSelectedPlayer ( ) const

Definition at line 24150 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetSelectedUnit()

Unit * Player::GetSelectedUnit ( ) const

Definition at line 24142 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetSession()

WorldSession * Player::GetSession ( ) const
inline

Definition at line 2101 of file Player.h.

◆ GetSharedQuestID()

uint32 Player::GetSharedQuestID ( ) const
inline

Definition at line 1672 of file Player.h.

+ Here is the caller graph for this function:

◆ GetShield()

Item * Player::GetShield ( bool  useable = false) const

Definition at line 9675 of file Player.cpp.

+ Here is the call graph for this function:

◆ GetSkillPermBonusValue()

int16 Player::GetSkillPermBonusValue ( uint32  skill) const

Definition at line 6120 of file Player.cpp.

+ Here is the caller graph for this function:

◆ GetSkillStep()

uint16 Player::GetSkillStep ( uint32  skill) const

Definition at line 6040 of file Player.cpp.

+ Here is the caller graph for this function:

◆ GetSkillTempBonusValue()

int16 Player::GetSkillTempBonusValue ( uint32  skill) const

Definition at line 6132 of file Player.cpp.

+ Here is the caller graph for this function:

◆ GetSkillValue()

uint16 Player::GetSkillValue ( uint32  skill) const

Definition at line 6052 of file Player.cpp.

+ Here is the caller graph for this function:

◆ GetSocial()

PlayerSocial * Player::GetSocial ( ) const
inline

Definition at line 1163 of file Player.h.

+ Here is the caller graph for this function:

◆ GetSpellMap() [1/2]

PlayerSpellMap & Player::GetSpellMap ( )
inline

Definition at line 1902 of file Player.h.

◆ GetSpellMap() [2/2]

PlayerSpellMap const & Player::GetSpellMap ( ) const
inline

Definition at line 1901 of file Player.h.

+ Here is the caller graph for this function:

◆ GetSpellModValues()

template<class T >
template TC_GAME_API void Player::GetSpellModValues ( SpellInfo const *  spellInfo,
SpellModOp  op,
Spell spell,
base,
int32 flat,
float *  pct 
) const

Definition at line 22085 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetSpellPenetrationItemMod()

int32 Player::GetSpellPenetrationItemMod ( ) const
inline

Definition at line 2066 of file Player.h.

◆ GetSpiritHealerGUID()

ObjectGuid const & Player::GetSpiritHealerGUID ( ) const
inline

Definition at line 2867 of file Player.h.

◆ GetsRecruitAFriendBonus()

bool Player::GetsRecruitAFriendBonus ( bool  forXP)

Definition at line 25604 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetStableMaster()

ObjectGuid Player::GetStableMaster ( ) const

Definition at line 28834 of file Player.cpp.

+ Here is the caller graph for this function:

◆ GetStartLevel()

uint8 Player::GetStartLevel ( uint8  race,
uint8  playerClass,
Optional< int32 characterTemplateId 
) const

Definition at line 23690 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetStoredAuraTeleportLocation()

WorldLocation const * Player::GetStoredAuraTeleportLocation ( uint32  spellId) const

Definition at line 2757 of file Player.cpp.

+ Here is the call graph for this function:

◆ GetSubGroup()

uint8 Player::GetSubGroup ( ) const
inline

Definition at line 2612 of file Player.h.

+ Here is the caller graph for this function:

◆ GetSummonedBattlePet()

Creature * Player::GetSummonedBattlePet ( ) const

Definition at line 21650 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetSummonedBattlePetGUID()

ObjectGuid Player::GetSummonedBattlePetGUID ( ) const
inline

Definition at line 2820 of file Player.h.

+ Here is the caller graph for this function:

◆ GetTalentMap() [1/2]

PlayerTalentMap * Player::GetTalentMap ( uint8  spec)
inline

Definition at line 1874 of file Player.h.

◆ GetTalentMap() [2/2]

PlayerTalentMap const * Player::GetTalentMap ( uint8  spec) const
inline

Definition at line 1873 of file Player.h.

+ Here is the caller graph for this function:

◆ GetTalentResetCost()

uint32 Player::GetTalentResetCost ( ) const
inline

Definition at line 1837 of file Player.h.

+ Here is the caller graph for this function:

◆ GetTalentResetTime()

time_t Player::GetTalentResetTime ( ) const
inline

Definition at line 1839 of file Player.h.

+ Here is the caller graph for this function:

◆ GetTeam()

Team Player::GetTeam ( ) const
inline

Definition at line 2235 of file Player.h.

+ Here is the caller graph for this function:

◆ GetTeamId()

TeamId Player::GetTeamId ( ) const
inline

Definition at line 2236 of file Player.h.

+ Here is the caller graph for this function:

◆ GetTeleportDest()

WorldLocation & Player::GetTeleportDest ( )
inline

Definition at line 2216 of file Player.h.

+ Here is the caller graph for this function:

◆ GetTeleportDestInstanceId()

Optional< uint32 > Player::GetTeleportDestInstanceId ( ) const
inline

Definition at line 2217 of file Player.h.

+ Here is the caller graph for this function:

◆ GetTeleportOptions()

uint32 Player::GetTeleportOptions ( ) const
inline

Definition at line 2218 of file Player.h.

+ Here is the caller graph for this function:

◆ GetTemporaryPetReactState()

Optional< ReactStates > Player::GetTemporaryPetReactState ( ) const
inline

Definition at line 2545 of file Player.h.

+ Here is the caller graph for this function:

◆ GetTemporaryUnsummonedPetNumber()

uint32 Player::GetTemporaryUnsummonedPetNumber ( ) const
inline

Definition at line 2543 of file Player.h.

+ Here is the caller graph for this function:

◆ GetTotalBaseModValue()

float Player::GetTotalBaseModValue ( BaseModGroup  modGroup) const

Definition at line 5133 of file Player.cpp.

+ Here is the call graph for this function:

◆ GetTotalPlayedTime()

uint32 Player::GetTotalPlayedTime ( ) const
inline

Definition at line 1214 of file Player.h.

+ Here is the caller graph for this function:

◆ GetTradeData()

TradeData * Player::GetTradeData ( ) const
inline

Definition at line 1498 of file Player.h.

+ Here is the caller graph for this function:

◆ GetTrader()

Player * Player::GetTrader ( ) const

Definition at line 25150 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetTraitConfig()

UF::TraitConfig const * Player::GetTraitConfig ( int32  configId) const

Definition at line 28247 of file Player.cpp.

+ Here is the caller graph for this function:

◆ GetUpdateFieldFlagsFor()

UF::UpdateFieldFlag Player::GetUpdateFieldFlagsFor ( Player const *  target) const
overrideprotectedvirtual

Reimplemented from Object.

Definition at line 3638 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetUseableItemByPos()

Item * Player::GetUseableItemByPos ( uint8  bag,
uint8  slot 
) const

Definition at line 9599 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetViewpoint()

WorldObject * Player::GetViewpoint ( ) const

Definition at line 26184 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetVoidStorageItem() [1/2]

VoidStorageItem * Player::GetVoidStorageItem ( uint64  id,
uint8 slot 
) const

Definition at line 29202 of file Player.cpp.

◆ GetVoidStorageItem() [2/2]

VoidStorageItem * Player::GetVoidStorageItem ( uint8  slot) const

Definition at line 29191 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetWeaponForAttack()

Item * Player::GetWeaponForAttack ( WeaponAttackType  attackType,
bool  useable = false 
) const

Definition at line 9643 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetWeaponProficiency()

uint32 Player::GetWeaponProficiency ( ) const
inline

Definition at line 1484 of file Player.h.

+ Here is the caller graph for this function:

◆ GetXP()

uint32 Player::GetXP ( ) const
inline

Definition at line 1196 of file Player.h.

+ Here is the caller graph for this function:

◆ GetXPForNextLevel()

uint32 Player::GetXPForNextLevel ( ) const
inline

Definition at line 1197 of file Player.h.

+ Here is the caller graph for this function:

◆ GetZoneIdFromDB()

uint32 Player::GetZoneIdFromDB ( ObjectGuid  guid)
static

Definition at line 7445 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GiveLevel()

void Player::GiveLevel ( uint8  level)
Todo:
find some better solution
Todo:
Poor design of mail system

Definition at line 2268 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GiveQuestSourceItem()

bool Player::GiveQuestSourceItem ( Quest const *  quest)

Definition at line 15966 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GiveXP()

void Player::GiveXP ( uint32  xp,
Unit victim,
float  group_rate = 1.0f 
)

Definition at line 2210 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GroupEventHappens()

void Player::GroupEventHappens ( uint32  questId,
WorldObject const *  pEventObject 
)

Definition at line 16598 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ HandleBaseModFlatValue()

void Player::HandleBaseModFlatValue ( BaseModGroup  modGroup,
float  amount,
bool  apply 
)

Definition at line 5008 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ HandleDrowning()

void Player::HandleDrowning ( uint32  time_diff)
protected

Definition at line 736 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ HandleFall()

void Player::HandleFall ( MovementInfo const &  movementInfo)

Definition at line 26678 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ HandlePassiveSpellLearn()

bool Player::HandlePassiveSpellLearn ( SpellInfo const *  spellInfo)

Definition at line 3189 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ HandleSobering()

void Player::HandleSobering ( )
protected

The player sobers by 1% every 9 seconds.

Definition at line 867 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ HasAchieved()

bool Player::HasAchieved ( uint32  achievementId) const

Definition at line 26751 of file Player.cpp.

+ Here is the caller graph for this function:

◆ HasActiveSpell()

bool Player::HasActiveSpell ( uint32  spell) const

Definition at line 3805 of file Player.cpp.

+ Here is the caller graph for this function:

◆ HasAtLoginFlag()

bool Player::HasAtLoginFlag ( AtLoginFlags  f) const
inline

Definition at line 2532 of file Player.h.

+ Here is the caller graph for this function:

◆ HasBeenGrantedLevelsFromRaF()

bool Player::HasBeenGrantedLevelsFromRaF ( ) const
inline

Definition at line 1191 of file Player.h.

+ Here is the caller graph for this function:

◆ HasCorpse()

bool Player::HasCorpse ( ) const
inline

Definition at line 2163 of file Player.h.

+ Here is the caller graph for this function:

◆ HasCurrency()

bool Player::HasCurrency ( uint32  id,
uint32  amount 
) const

Definition at line 7413 of file Player.cpp.

+ Here is the caller graph for this function:

◆ HasEnoughMoney() [1/2]

bool Player::HasEnoughMoney ( int64  amount) const
inline

Definition at line 1741 of file Player.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ HasEnoughMoney() [2/2]

bool Player::HasEnoughMoney ( uint64  amount) const
inline

Definition at line 1740 of file Player.h.

+ Here is the caller graph for this function:

◆ HasExploredZone()

bool Player::HasExploredZone ( uint32  areaId) const

Definition at line 6437 of file Player.cpp.

+ Here is the caller graph for this function:

◆ HasFreeBattlegroundQueueId()

bool Player::HasFreeBattlegroundQueueId ( ) const

Definition at line 25053 of file Player.cpp.

+ Here is the caller graph for this function:

◆ HasGemWithLimitCategoryEquipped()

bool Player::HasGemWithLimitCategoryEquipped ( uint32  limitCategory,
uint32  count,
uint8  except_slot = NULL_SLOT 
) const

Definition at line 9950 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ HasItemCount()

bool Player::HasItemCount ( uint32  item,
uint32  count = 1,
bool  inBankAlso = false 
) const

Definition at line 9888 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ HasItemFitToSpellRequirements()

bool Player::HasItemFitToSpellRequirements ( SpellInfo const *  spellInfo,
Item const *  ignoreItem = nullptr 
) const

Definition at line 25444 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ HasItemOrGemWithIdEquipped()

bool Player::HasItemOrGemWithIdEquipped ( uint32  item,
uint32  count,
uint8  except_slot = NULL_SLOT 
) const

Definition at line 9907 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ HasItemTotemCategory()

bool Player::HasItemTotemCategory ( uint32  TotemCategory) const

Definition at line 10045 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ HasItemWithLimitCategoryEquipped()

bool Player::HasItemWithLimitCategoryEquipped ( uint32  limitCategory,
uint32  count,
uint8  except_slot = NULL_SLOT 
) const

Definition at line 9931 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ HasLevelBoosted()

bool Player::HasLevelBoosted ( ) const
inline

Definition at line 1193 of file Player.h.

+ Here is the caller graph for this function:

◆ HasPendingBind()

bool Player::HasPendingBind ( ) const
inline

Definition at line 2587 of file Player.h.

+ Here is the caller graph for this function:

◆ HasPlayerFlag()

bool Player::HasPlayerFlag ( PlayerFlags  flags) const
inline

Definition at line 2737 of file Player.h.

+ Here is the caller graph for this function:

◆ HasPlayerFlagEx()

bool Player::HasPlayerFlagEx ( PlayerFlagsEx  flags) const
inline

Definition at line 2742 of file Player.h.

+ Here is the caller graph for this function:

◆ HasPlayerLocalFlag()

bool Player::HasPlayerLocalFlag ( PlayerLocalFlags  flags) const
inline

Definition at line 2832 of file Player.h.

+ Here is the caller graph for this function:

◆ HasPvPForcingQuest()

bool Player::HasPvPForcingQuest ( ) const

Definition at line 17391 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ HasPvpRulesEnabled()

bool Player::HasPvpRulesEnabled ( ) const

Definition at line 27080 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ HasPvpTalent()

bool Player::HasPvpTalent ( uint32  talentID,
uint8  activeTalentGroup 
) const

Definition at line 27035 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ HasQuestForGO()

bool Player::HasQuestForGO ( int32  goId) const

Definition at line 25184 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ HasQuestForItem()

bool Player::HasQuestForItem ( uint32  itemId) const

Definition at line 16900 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ HasRaceChanged()

bool Player::HasRaceChanged ( ) const
inline

Definition at line 1189 of file Player.h.

+ Here is the caller graph for this function:

◆ HasSkill()

bool Player::HasSkill ( uint32  skill) const

Definition at line 6031 of file Player.cpp.

+ Here is the caller graph for this function:

◆ HasSpell()

bool Player::HasSpell ( uint32  spell) const
overridevirtual

Reimplemented from Unit.

Definition at line 3792 of file Player.cpp.

+ Here is the caller graph for this function:

◆ HasSummonPending()

bool Player::HasSummonPending ( ) const

Definition at line 25301 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ HasTalent()

bool Player::HasTalent ( uint32  spell_id,
uint8  spec 
) const

Definition at line 3799 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ HasTitle() [1/2]

bool Player::HasTitle ( CharTitlesEntry const *  title) const

Definition at line 26278 of file Player.cpp.

+ Here is the call graph for this function:

◆ HasTitle() [2/2]

bool Player::HasTitle ( uint32  bitIndex) const

Definition at line 26268 of file Player.cpp.

+ Here is the caller graph for this function:

◆ HaveAtClient()

bool Player::HaveAtClient ( Object const *  u) const

Definition at line 23726 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ InArena()

bool Player::InArena ( ) const

Definition at line 25106 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ InBattleground()

bool Player::InBattleground ( ) const
inline

Definition at line 2394 of file Player.h.

+ Here is the caller graph for this function:

◆ InBattlegroundQueue()

bool Player::InBattlegroundQueue ( bool  ignoreArena = false) const

Definition at line 24992 of file Player.cpp.

+ Here is the caller graph for this function:

◆ InBattlegroundQueueForBattlegroundQueueType()

bool Player::InBattlegroundQueueForBattlegroundQueueType ( BattlegroundQueueTypeId  bgQueueTypeId) const

Definition at line 25025 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ IncompleteQuest()

void Player::IncompleteQuest ( uint32  quest_id)

Definition at line 15049 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ IncreaseCurrencyCap()

void Player::IncreaseCurrencyCap ( uint32  id,
uint32  amount 
)

Increase currency cap.

Definition at line 7258 of file Player.cpp.

+ Here is the call graph for this function:

◆ InitDataForForm()

void Player::InitDataForForm ( bool  reapplyMods = false)

Definition at line 22772 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ InitDisplayIds()

void Player::InitDisplayIds ( )

Definition at line 22796 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ InitializeSelfResurrectionSpells()

void Player::InitializeSelfResurrectionSpells ( )

Definition at line 25560 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ InitializeSkillFields()

void Player::InitializeSkillFields ( )

Definition at line 5768 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ InitPrimaryProfessions()

void Player::InitPrimaryProfessions ( )

Definition at line 24093 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ InitPvP()

void Player::InitPvP ( )

Definition at line 23310 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ InitRunes()

void Player::InitRunes ( )

Definition at line 26376 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ InitStatsForLevel()

void Player::InitStatsForLevel ( bool  reapplyMods = false)

Definition at line 2404 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ InitTalentForLevel()

void Player::InitTalentForLevel ( )

Definition at line 2370 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ InitTaxiNodesForLevel()

void Player::InitTaxiNodesForLevel ( )
inline

Definition at line 1167 of file Player.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ inRandomLfgDungeon()

bool Player::inRandomLfgDungeon ( ) const

Definition at line 25976 of file Player.cpp.

+ Here is the call graph for this function:

◆ InterruptPowerRegen()

void Player::InterruptPowerRegen ( Powers  power)

Definition at line 1845 of file Player.cpp.

+ Here is the call graph for this function:

◆ isAcceptWhispers()

bool Player::isAcceptWhispers ( ) const
inline

Definition at line 1176 of file Player.h.

+ Here is the caller graph for this function:

◆ IsActionButtonDataValid()

bool Player::IsActionButtonDataValid ( uint8  button,
uint64  action,
uint8  type 
) const

Definition at line 6157 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ IsActiveQuest()

bool Player::IsActiveQuest ( uint32  quest_id) const

Definition at line 14575 of file Player.cpp.

+ Here is the caller graph for this function:

◆ IsAdvancedCombatLoggingEnabled()

bool Player::IsAdvancedCombatLoggingEnabled ( ) const
inline

Definition at line 2712 of file Player.h.

+ Here is the caller graph for this function:

◆ IsAffectedBySpellmod()

bool Player::IsAffectedBySpellmod ( SpellInfo const *  spellInfo,
SpellModifier const *  mod,
Spell spell = nullptr 
)
static

Definition at line 22037 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ isAFK()

bool Player::isAFK ( ) const
inline

Definition at line 1156 of file Player.h.

+ Here is the caller graph for this function:

◆ isAllowedToLoot()

bool Player::isAllowedToLoot ( Creature const *  creature) const

Definition at line 18565 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ IsAlwaysDetectableFor()

bool Player::IsAlwaysDetectableFor ( WorldObject const *  seer) const
overrideprotectedvirtual

Reimplemented from WorldObject.

Definition at line 23763 of file Player.cpp.

+ Here is the call graph for this function:

◆ IsAreaThatActivatesPvpTalents()

bool Player::IsAreaThatActivatesPvpTalents ( uint32  areaID) const

Definition at line 27090 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ IsAtGroupRewardDistance()

bool Player::IsAtGroupRewardDistance ( WorldObject const *  pRewardSource) const

Definition at line 25673 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ IsAtRecruitAFriendDistance()

bool Player::IsAtRecruitAFriendDistance ( WorldObject const *  pOther) const

Definition at line 25688 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ IsBagPos()

bool Player::IsBagPos ( uint16  pos)
static

Definition at line 9766 of file Player.cpp.

+ Here is the caller graph for this function:

◆ IsBankPos() [1/2]

static bool Player::IsBankPos ( uint16  pos)
inlinestatic

Definition at line 1368 of file Player.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ IsBankPos() [2/2]

bool Player::IsBankPos ( uint8  bag,
uint8  slot 
)
static

Definition at line 9746 of file Player.cpp.

◆ IsBeingTeleported()

bool Player::IsBeingTeleported ( ) const
inline

Definition at line 2219 of file Player.h.

+ Here is the caller graph for this function:

◆ IsBeingTeleportedFar()

bool Player::IsBeingTeleportedFar ( ) const
inline

Definition at line 2221 of file Player.h.

+ Here is the caller graph for this function:

◆ IsBeingTeleportedNear()

bool Player::IsBeingTeleportedNear ( ) const
inline

Definition at line 2220 of file Player.h.

+ Here is the caller graph for this function:

◆ IsBeingTeleportedSeamlessly()

bool Player::IsBeingTeleportedSeamlessly ( ) const
inline

Definition at line 2222 of file Player.h.

+ Here is the caller graph for this function:

◆ IsCanDelayTeleport()

bool Player::IsCanDelayTeleport ( ) const
inlineprivate

Definition at line 3158 of file Player.h.

+ Here is the caller graph for this function:

◆ IsChildEquipmentPos() [1/2]

static bool Player::IsChildEquipmentPos ( uint16  pos)
inlinestatic

Definition at line 1372 of file Player.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ IsChildEquipmentPos() [2/2]

bool Player::IsChildEquipmentPos ( uint8  bag,
uint8  slot 
)
static

Definition at line 9779 of file Player.cpp.

◆ IsDailyQuestDone()

bool Player::IsDailyQuestDone ( uint32  quest_id) const

Definition at line 24825 of file Player.cpp.

◆ IsDeserter()

bool Player::IsDeserter ( ) const
inline

Definition at line 2402 of file Player.h.

+ Here is the caller graph for this function:

◆ IsDeveloper()

bool Player::IsDeveloper ( ) const
inline

Definition at line 1174 of file Player.h.

+ Here is the caller graph for this function:

◆ isDND()

bool Player::isDND ( ) const
inline

Definition at line 1157 of file Player.h.

+ Here is the caller graph for this function:

◆ IsEquipmentPos() [1/2]

static bool Player::IsEquipmentPos ( uint16  pos)
inlinestatic

Definition at line 1365 of file Player.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ IsEquipmentPos() [2/2]

bool Player::IsEquipmentPos ( uint8  bag,
uint8  slot 
)
static

Definition at line 9733 of file Player.cpp.

◆ IsFriendlyArea()

bool Player::IsFriendlyArea ( AreaTableEntry const *  inArea) const

Definition at line 29393 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ IsGameMaster()

bool Player::IsGameMaster ( ) const
inline

Definition at line 1178 of file Player.h.

+ Here is the caller graph for this function:

◆ IsGameMasterAcceptingWhispers()

bool Player::IsGameMasterAcceptingWhispers ( ) const
inline

Definition at line 1179 of file Player.h.

+ Here is the caller graph for this function:

◆ isGMChat()

bool Player::isGMChat ( ) const
inline

Definition at line 1182 of file Player.h.

+ Here is the caller graph for this function:

◆ isGMVisible()

bool Player::isGMVisible ( ) const
inline

Definition at line 1186 of file Player.h.

+ Here is the caller graph for this function:

◆ IsGroupVisibleFor()

bool Player::IsGroupVisibleFor ( Player const *  p) const

Definition at line 2142 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ IsHasDelayedTeleport()

bool Player::IsHasDelayedTeleport ( ) const
inlineprivate

Definition at line 3160 of file Player.h.

+ Here is the caller graph for this function:

◆ isHonorOrXPTarget()

bool Player::isHonorOrXPTarget ( Unit const *  victim) const

Definition at line 25587 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ IsImmunedToSpellEffect()

bool Player::IsImmunedToSpellEffect ( SpellInfo const *  spellInfo,
SpellEffectInfo const &  spellEffectInfo,
WorldObject const *  caster,
bool  requireImmunityPurgesEffectAttribute = false 
) const
overridevirtual

Reimplemented from Unit.

Definition at line 1611 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ IsImmuneToEnvironmentalDamage()

bool Player::IsImmuneToEnvironmentalDamage ( ) const

Definition at line 628 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ IsInAreaThatActivatesPvpTalents()

bool Player::IsInAreaThatActivatesPvpTalents ( ) const

Definition at line 27085 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ IsInAreaTriggerRadius()

bool Player::IsInAreaTriggerRadius ( AreaTriggerEntry const *  trigger) const

Definition at line 2042 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ IsInFriendlyArea()

bool Player::IsInFriendlyArea ( ) const

Definition at line 29386 of file Player.cpp.

+ Here is the call graph for this function:

◆ IsInGroup()

bool Player::IsInGroup ( ObjectGuid  groupGuid) const

Definition at line 24158 of file Player.cpp.

+ Here is the call graph for this function:

◆ IsInSameGroupWith()

bool Player::IsInSameGroupWith ( Player const *  p) const

Definition at line 2153 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ IsInSameRaidWith()

bool Player::IsInSameRaidWith ( Player const *  p) const

Definition at line 2160 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ IsInstanceLoginGameMasterException()

bool Player::IsInstanceLoginGameMasterException ( ) const
private

Definition at line 19810 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ IsInventoryPos() [1/2]

static bool Player::IsInventoryPos ( uint16  pos)
inlinestatic

Definition at line 1363 of file Player.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ IsInventoryPos() [2/2]

bool Player::IsInventoryPos ( uint8  bag,
uint8  slot 
)
static

Definition at line 9720 of file Player.cpp.

◆ IsInvitedForBattlegroundInstance()

bool Player::IsInvitedForBattlegroundInstance ( uint32  instanceId) const

Definition at line 25083 of file Player.cpp.

+ Here is the caller graph for this function:

◆ IsInvitedForBattlegroundQueueType()

bool Player::IsInvitedForBattlegroundQueueType ( BattlegroundQueueTypeId  bgQueueTypeId) const

Definition at line 25017 of file Player.cpp.

+ Here is the caller graph for this function:

◆ IsInWhisperWhiteList()

bool Player::IsInWhisperWhiteList ( ObjectGuid  guid)

Definition at line 29127 of file Player.cpp.

+ Here is the caller graph for this function:

◆ IsLoading()

bool Player::IsLoading ( ) const
overridevirtual

Reimplemented from Unit.

Definition at line 17613 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ IsLockedToDungeonEncounter() [1/2]

bool Player::IsLockedToDungeonEncounter ( uint32  dungeonEncounterId) const

Definition at line 21399 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ IsLockedToDungeonEncounter() [2/2]

bool Player::IsLockedToDungeonEncounter ( uint32  dungeonEncounterId,
Difficulty  difficulty 
) const

Definition at line 21412 of file Player.cpp.

+ Here is the call graph for this function:

◆ IsMaxHonorLevel()

bool Player::IsMaxHonorLevel ( ) const
inline

Definition at line 2279 of file Player.h.

+ Here is the caller graph for this function:

◆ IsMaxLevel()

bool Player::IsMaxLevel ( ) const

Definition at line 2365 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ IsMercenaryForBattlegroundQueueType()

bool Player::IsMercenaryForBattlegroundQueueType ( BattlegroundQueueTypeId  bgQueueTypeId) const

Definition at line 25098 of file Player.cpp.

+ Here is the caller graph for this function:

◆ IsMirrorTimerActive()

bool Player::IsMirrorTimerActive ( MirrorTimerType  type) const

Definition at line 731 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ IsNeverVisibleFor()

bool Player::IsNeverVisibleFor ( WorldObject const *  seer,
bool  allowServersideObjects = false 
) const
overridevirtual

Reimplemented from WorldObject.

Definition at line 23731 of file Player.cpp.

+ Here is the call graph for this function:

◆ IsOutdoorPvPActive()

bool Player::IsOutdoorPvPActive ( ) const

Definition at line 7736 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ IsPetNeedBeTemporaryUnsummoned()

bool Player::IsPetNeedBeTemporaryUnsummoned ( ) const

Definition at line 27228 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ IsQuestObjectiveCompletable()

bool Player::IsQuestObjectiveCompletable ( uint16  slot,
Quest const *  quest,
QuestObjective const &  objective 
) const

Definition at line 17032 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ IsQuestObjectiveComplete() [1/2]

bool Player::IsQuestObjectiveComplete ( uint16  slot,
Quest const *  quest,
QuestObjective const &  objective 
) const

Definition at line 17090 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ IsQuestObjectiveComplete() [2/2]

bool Player::IsQuestObjectiveComplete ( uint32  questId,
uint32  objectiveId 
) const

Definition at line 17148 of file Player.cpp.

+ Here is the call graph for this function:

◆ IsQuestObjectiveProgressBarComplete()

bool Player::IsQuestObjectiveProgressBarComplete ( uint16  slot,
Quest const *  quest 
) const

Definition at line 17165 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ IsQuestRewarded()

bool Player::IsQuestRewarded ( uint32  quest_id) const

Definition at line 24137 of file Player.cpp.

+ Here is the caller graph for this function:

◆ IsReagentBankPos() [1/2]

static bool Player::IsReagentBankPos ( uint16  pos)
inlinestatic

Definition at line 1370 of file Player.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ IsReagentBankPos() [2/2]

bool Player::IsReagentBankPos ( uint8  bag,
uint8  slot 
)
static

Definition at line 9759 of file Player.cpp.

◆ IsReagentBankUnlocked()

bool Player::IsReagentBankUnlocked ( ) const
inline

Definition at line 2705 of file Player.h.

+ Here is the caller graph for this function:

◆ IsResurrectRequested()

bool Player::IsResurrectRequested ( ) const
inline

Definition at line 1933 of file Player.h.

+ Here is the caller graph for this function:

◆ IsResurrectRequestedBy()

bool Player::IsResurrectRequestedBy ( ObjectGuid const &  guid) const
inline

Definition at line 1925 of file Player.h.

◆ IsSpellFitByClassAndRace()

bool Player::IsSpellFitByClassAndRace ( uint32  spell_id) const

Definition at line 25155 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ isTaxiCheater()

bool Player::isTaxiCheater ( ) const
inline

Definition at line 1184 of file Player.h.

+ Here is the caller graph for this function:

◆ isTotalImmune()

bool Player::isTotalImmune ( ) const

Definition at line 26254 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ IsTwoHandUsed()

bool Player::IsTwoHandUsed ( ) const

Definition at line 13348 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ IsUseEquipedWeapon()

bool Player::IsUseEquipedWeapon ( bool  mainhand) const

Definition at line 13318 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ isUsingLfg()

bool Player::isUsingLfg ( ) const

Definition at line 25971 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ IsUsingPvpItemLevels()

bool Player::IsUsingPvpItemLevels ( ) const
inline

Definition at line 2562 of file Player.h.

+ Here is the caller graph for this function:

◆ IsUsingTwoHandedWeaponInOneHand()

bool Player::IsUsingTwoHandedWeaponInOneHand ( ) const

Definition at line 13360 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ IsValidClass()

static bool Player::IsValidClass ( uint8  Class)
inlinestatic

Definition at line 1708 of file Player.h.

◆ IsValidGender()

static bool Player::IsValidGender ( uint8  Gender)
inlinestatic

Definition at line 1707 of file Player.h.

+ Here is the caller graph for this function:

◆ IsValidPos() [1/2]

bool Player::IsValidPos ( uint16  pos,
bool  explicit_pos 
) const
inline

Definition at line 1374 of file Player.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ IsValidPos() [2/2]

bool Player::IsValidPos ( uint8  bag,
uint8  slot,
bool  explicit_pos 
) const

Definition at line 9784 of file Player.cpp.

+ Here is the call graph for this function:

◆ IsValidRace()

static bool Player::IsValidRace ( uint8  Race)
inlinestatic

Definition at line 1709 of file Player.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ IsVisibleGloballyFor()

bool Player::IsVisibleGloballyFor ( Player const *  player) const

Definition at line 23778 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ IsVoidStorageUnlocked()

bool Player::IsVoidStorageUnlocked ( ) const
inline

Definition at line 2693 of file Player.h.

+ Here is the caller graph for this function:

◆ IsWarModeActive()

bool Player::IsWarModeActive ( ) const
inline

Definition at line 2855 of file Player.h.

◆ IsWarModeDesired()

bool Player::IsWarModeDesired ( ) const
inline

Definition at line 2854 of file Player.h.

+ Here is the caller graph for this function:

◆ IsWarModeLocalActive()

bool Player::IsWarModeLocalActive ( ) const
inline

Definition at line 2856 of file Player.h.

+ Here is the caller graph for this function:

◆ ItemAddedQuestCheck()

void Player::ItemAddedQuestCheck ( uint32  entry,
uint32  count,
Optional< bool >  boundItemFlagRequirement = {},
bool *  hadBoundItemObjective = nullptr 
)

Definition at line 16624 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ItemRemovedQuestCheck()

void Player::ItemRemovedQuestCheck ( uint32  entry,
uint32  count 
)

Definition at line 16645 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JoinedChannel()

void Player::JoinedChannel ( Channel c)

Definition at line 4900 of file Player.cpp.

+ Here is the caller graph for this function:

◆ KillCreditCriteriaTreeObjective()

void Player::KillCreditCriteriaTreeObjective ( QuestObjective const &  questObjective)

Definition at line 16714 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ KillCreditGO()

void Player::KillCreditGO ( uint32  entry,
ObjectGuid  guid = ObjectGuid::Empty 
)

Definition at line 16704 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ KilledMonster()

void Player::KilledMonster ( CreatureTemplate const *  cInfo,
ObjectGuid  guid 
)

Definition at line 16668 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ KilledMonsterCredit()

void Player::KilledMonsterCredit ( uint32  entry,
ObjectGuid  guid = ObjectGuid::Empty 
)

Definition at line 16680 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ KilledPlayerCredit()

void Player::KilledPlayerCredit ( ObjectGuid  victimGuid)

Definition at line 16698 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ KillPlayer()

void Player::KillPlayer ( )

Definition at line 4495 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ LearnCustomSpells()

void Player::LearnCustomSpells ( )

Definition at line 24542 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ LearnDefaultSkill()

void Player::LearnDefaultSkill ( SkillRaceClassInfoEntry const *  rcInfo)

Definition at line 24580 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ LearnDefaultSkills()

void Player::LearnDefaultSkills ( )

Definition at line 24562 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ LearnPvpTalent()

TalentLearnResult Player::LearnPvpTalent ( uint32  talentID,
uint8  slot,
int32 spellOnCooldown 
)

Definition at line 26908 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ LearnQuestRewardedSpells() [1/2]

void Player::LearnQuestRewardedSpells ( )

Definition at line 24681 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ LearnQuestRewardedSpells() [2/2]

void Player::LearnQuestRewardedSpells ( Quest const *  quest)

Definition at line 24621 of file Player.cpp.

+ Here is the call graph for this function:

◆ LearnSkillRewardedSpells()

void Player::LearnSkillRewardedSpells ( uint32  skillId,
uint32  skillValue,
Races  race 
)

Definition at line 24694 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ LearnSpecializationSpells()

void Player::LearnSpecializationSpells ( )

Definition at line 29724 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ LearnSpell()

void Player::LearnSpell ( uint32  spell_id,
bool  dependent,
int32  fromSkill = 0,
bool  suppressMessaging = false,
Optional< int32 traitDefinitionId = {} 
)

Definition at line 3216 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ LearnTalent()

TalentLearnResult Player::LearnTalent ( uint32  talentId,
int32 spellOnCooldown 
)

Definition at line 26794 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ LeaveAllArenaTeams()

void Player::LeaveAllArenaTeams ( ObjectGuid  guid)
static

Definition at line 22468 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ LeaveBattleground()

void Player::LeaveBattleground ( bool  teleportToEntryPoint = true)

Definition at line 23614 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ LeaveLFGChannel()

void Player::LeaveLFGChannel ( )

Definition at line 4996 of file Player.cpp.

◆ LeftChannel()

void Player::LeftChannel ( Channel c)

Definition at line 4905 of file Player.cpp.

+ Here is the caller graph for this function:

◆ LoadActions()

void Player::LoadActions ( PreparedQueryResult  result)

Definition at line 28188 of file Player.cpp.

+ Here is the call graph for this function:

◆ LoadCorpse()

void Player::LoadCorpse ( PreparedQueryResult  result)

Definition at line 18754 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ LoadFromDB()

bool Player::LoadFromDB ( ObjectGuid  guid,
CharacterDatabaseQueryHolder const &  holder 
)

Definition at line 17618 of file Player.cpp.

+ Here is the caller graph for this function:

◆ LoadPositionFromDB()

bool Player::LoadPositionFromDB ( uint32 mapid,
float &  x,
float &  y,
float &  z,
float &  o,
bool &  in_flight,
ObjectGuid  guid 
)
static

Definition at line 17560 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ LockVoidStorage()

void Player::LockVoidStorage ( )
inline

Definition at line 2695 of file Player.h.

◆ MeetPlayerCondition()

bool Player::MeetPlayerCondition ( uint32  conditionId) const

Definition at line 29377 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ModifierTreeSatisfied()

bool Player::ModifierTreeSatisfied ( uint32  modifierTreeId) const

Definition at line 26789 of file Player.cpp.

+ Here is the caller graph for this function:

◆ ModifyCurrency()

void Player::ModifyCurrency ( uint32  id,
int32  amount,
CurrencyGainSource  gainSource = CurrencyGainSource::Cheat,
CurrencyDestroyReason  destroyReason = CurrencyDestroyReason::Cheat 
)

Modify currency amount.

Definition at line 7110 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ModifyMoney()

bool Player::ModifyMoney ( int64  amount,
bool  sendError = true 
)

Definition at line 24098 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ModifySkillBonus()

void Player::ModifySkillBonus ( uint32  skillid,
int32  val,
bool  talent 
)

Definition at line 5721 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ MoneyChanged()

void Player::MoneyChanged ( uint64  value)

Definition at line 16719 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ MoveItemFromInventory()

void Player::MoveItemFromInventory ( uint8  bag,
uint8  slot,
bool  update 
)

Definition at line 12134 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ MoveItemToInventory()

void Player::MoveItemToInventory ( ItemPosCountVec const &  dest,
Item pItem,
bool  update,
bool  in_characterInventoryDB = false 
)

Definition at line 12152 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ NextGroupUpdateSequenceNumber()

int32 Player::NextGroupUpdateSequenceNumber ( GroupCategory  category)

Definition at line 26039 of file Player.cpp.

+ Here is the caller graph for this function:

◆ OfflineResurrect()

void Player::OfflineResurrect ( ObjectGuid const &  guid,
CharacterDatabaseTransaction  trans 
)
static

Definition at line 4529 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ OnGossipSelect()

void Player::OnGossipSelect ( WorldObject source,
int32  gossipOptionId,
uint32  menuId 
)

Definition at line 14162 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ OnPhaseChange()

void Player::OnPhaseChange ( )
overridevirtual

Reimplemented from Unit.

Definition at line 30116 of file Player.cpp.

+ Here is the call graph for this function:

◆ outDebugValues()

void Player::outDebugValues ( ) const
protected

Definition at line 21207 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ PetSpellInitialize()

void Player::PetSpellInitialize ( )

Definition at line 21879 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ PossessSpellInitialize()

void Player::PossessSpellInitialize ( )

Definition at line 21918 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ PrepareGossipMenu()

void Player::PrepareGossipMenu ( WorldObject source,
uint32  menuId,
bool  showQuests = false 
)

Definition at line 14036 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ PrepareQuestMenu()

void Player::PrepareQuestMenu ( ObjectGuid  guid)

Definition at line 14474 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ProcessDelayedOperations()

void Player::ProcessDelayedOperations ( )

Definition at line 1507 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ProcessItemCast()

bool Player::ProcessItemCast ( SpellCastRequest castRequest,
SpellCastTargets const &  targets 
)
private

Definition at line 30371 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ProcessTerrainStatusUpdate()

void Player::ProcessTerrainStatusUpdate ( ZLiquidStatus  oldLiquidStatus,
Optional< LiquidData > const &  newLiquidData 
)
overridevirtual

Reimplemented from Unit.

Definition at line 26044 of file Player.cpp.

+ Here is the call graph for this function:

◆ PushQuests()

void Player::PushQuests ( )
protected

Definition at line 18518 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ QuickEquipItem()

void Player::QuickEquipItem ( uint16  pos,
Item pItem 
)

Definition at line 11969 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ RecalculateRating()

void Player::RecalculateRating ( CombatRating  cr)
inline

Definition at line 2058 of file Player.h.

+ Here is the caller graph for this function:

◆ Recall()

void Player::Recall ( )
inline

Definition at line 2496 of file Player.h.

+ Here is the caller graph for this function:

◆ RefundItem()

void Player::RefundItem ( Item item)
private

Already checked before

Definition at line 28880 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ Regenerate()

void Player::Regenerate ( Powers  power)
Todo:
possible use of miscvalueb instead of amount

Definition at line 1694 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ RegenerateAll()

void Player::RegenerateAll ( )

Definition at line 1623 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ RegenerateHealth()

void Player::RegenerateHealth ( )

Definition at line 1856 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ RemoveActionButton()

void Player::RemoveActionButton ( uint8  button)

Definition at line 6249 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ RemoveActiveQuest()

void Player::RemoveActiveQuest ( uint32  questId,
bool  update = true 
)

Definition at line 16093 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ RemoveArenaEnchantments()

void Player::RemoveArenaEnchantments ( EnchantmentSlot  slot)

Definition at line 13500 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ RemoveArenaSpellCooldowns()

void Player::RemoveArenaSpellCooldowns ( bool  removeActivePetCooldowns = false)

Definition at line 3479 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ RemoveAtLoginFlag()

void Player::RemoveAtLoginFlag ( AtLoginFlags  flags,
bool  persist = false 
)

Definition at line 27545 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ RemoveAuraVision()

void Player::RemoveAuraVision ( PlayerFieldByte2Flags  flags)
inline

Definition at line 2843 of file Player.h.

+ Here is the caller graph for this function:

◆ RemoveBattlegroundQueueId()

void Player::RemoveBattlegroundQueueId ( BattlegroundQueueTypeId  val)

Definition at line 25061 of file Player.cpp.

+ Here is the caller graph for this function:

◆ RemoveConditionalTransmog()

void Player::RemoveConditionalTransmog ( uint32  itemModifiedAppearanceId)
inline

Definition at line 2801 of file Player.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ RemoveCurrency()

void Player::RemoveCurrency ( uint32  id,
int32  amount,
CurrencyDestroyReason  destroyReason = CurrencyDestroyReason::Cheat 
)

Definition at line 7253 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ RemovedInsignia()

void Player::RemovedInsignia ( Player looterPlr)

Definition at line 9062 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ RemoveEnchantmentDurations()

void Player::RemoveEnchantmentDurations ( Item item)

Definition at line 13474 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ RemoveEnchantmentDurationsReferences()

void Player::RemoveEnchantmentDurationsReferences ( Item item)

Definition at line 13489 of file Player.cpp.

+ Here is the caller graph for this function:

◆ RemoveExploredZones()

void Player::RemoveExploredZones ( uint32  pos,
uint64  mask 
)

Definition at line 6429 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ RemoveFromBattlegroundOrBattlefieldRaid()

void Player::RemoveFromBattlegroundOrBattlefieldRaid ( )

Definition at line 25997 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ RemoveFromGroup() [1/2]

void Player::RemoveFromGroup ( Group group,
ObjectGuid  guid,
RemoveMethod  method = GROUP_REMOVEMETHOD_DEFAULT,
ObjectGuid  kicker = ObjectGuid::Empty,
char const *  reason = nullptr 
)
static

Definition at line 2189 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ RemoveFromGroup() [2/2]

void Player::RemoveFromGroup ( RemoveMethod  method = GROUP_REMOVEMETHOD_DEFAULT)
inline

Definition at line 1984 of file Player.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ RemoveFromWhisperWhiteList()

void Player::RemoveFromWhisperWhiteList ( ObjectGuid  guid)
inline

Definition at line 2680 of file Player.h.

+ Here is the caller graph for this function:

◆ RemoveFromWorld()

void Player::RemoveFromWorld ( )
overridevirtual
  • Release charmed creatures, unsummon totems and remove pets/guardians
  • Do not add/remove the player from the object storage
  • It will crash when updating the ObjectAccessor
  • The player should only be removed when logging out

Reimplemented from WorldObject.

Definition at line 1564 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ RemoveGroupUpdateFlag()

void Player::RemoveGroupUpdateFlag ( uint32  flag)
inline

Definition at line 2615 of file Player.h.

+ Here is the caller graph for this function:

◆ RemoveItem()

void Player::RemoveItem ( uint8  bag,
uint8  slot,
bool  update 
)

Definition at line 12048 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ RemoveItemDependentAurasAndCasts()

void Player::RemoveItemDependentAurasAndCasts ( Item pItem)

Definition at line 25528 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ RemoveItemDurations()

void Player::RemoveItemDurations ( Item item)

Definition at line 25382 of file Player.cpp.

+ Here is the caller graph for this function:

◆ RemoveItemFromBuyBackSlot()

void Player::RemoveItemFromBuyBackSlot ( uint32  slot,
bool  del 
)

Definition at line 13221 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ RemoveLootRoll()

void Player::RemoveLootRoll ( LootRoll roll)

Definition at line 9055 of file Player.cpp.

+ Here is the caller graph for this function:

◆ RemoveMail()

void Player::RemoveMail ( uint64  id)

Definition at line 2608 of file Player.cpp.

+ Here is the caller graph for this function:

◆ RemoveMItem()

bool Player::RemoveMItem ( ObjectGuid::LowType  id)

Definition at line 21869 of file Player.cpp.

+ Here is the caller graph for this function:

◆ RemoveOverrideSpell()

void Player::RemoveOverrideSpell ( uint32  overridenSpellId,
uint32  newSpellId 
)

Definition at line 29713 of file Player.cpp.

+ Here is the caller graph for this function:

◆ RemovePet()

void Player::RemovePet ( Pet pet,
PetSaveMode  mode,
bool  returnreagent = false 
)

Definition at line 21537 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ RemovePetAura()

void Player::RemovePetAura ( PetAura const *  petSpell)

Definition at line 21643 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ RemovePetitionsAndSigns()

void Player::RemovePetitionsAndSigns ( ObjectGuid  guid)
static

Definition at line 22452 of file Player.cpp.

+ Here is the caller graph for this function:

◆ RemovePlayerFlag()

void Player::RemovePlayerFlag ( PlayerFlags  flags)
inline

Definition at line 2739 of file Player.h.

+ Here is the caller graph for this function:

◆ RemovePlayerFlagEx()

void Player::RemovePlayerFlagEx ( PlayerFlagsEx  flags)
inline

Definition at line 2744 of file Player.h.

+ Here is the caller graph for this function:

◆ RemovePlayerLocalFlag()

void Player::RemovePlayerLocalFlag ( PlayerLocalFlags  flags)
inline

Definition at line 2834 of file Player.h.

+ Here is the caller graph for this function:

◆ RemovePvpTalent()

void Player::RemovePvpTalent ( PvpTalentEntry const *  talent,
uint8  activeTalentGroup 
)

Definition at line 26994 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ RemoveQuestSlotObjectiveFlag()

void Player::RemoveQuestSlotObjectiveFlag ( uint16  slot,
int8  objectiveIndex 
)

Definition at line 16554 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ RemoveQuestSlotState()

void Player::RemoveQuestSlotState ( uint16  slot,
uint32  state 
)

Definition at line 16533 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ RemoveRewardedQuest()

void Player::RemoveRewardedQuest ( uint32  questId,
bool  update = true 
)

Definition at line 16113 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ RemoveSelfResSpell()

void Player::RemoveSelfResSpell ( int32  spellId)
inline

Definition at line 2812 of file Player.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ RemoveSocial()

void Player::RemoveSocial ( )

Definition at line 29816 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ RemoveSpecializationSpells()

void Player::RemoveSpecializationSpells ( )

Definition at line 29742 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ RemoveSpell()

void Player::RemoveSpell ( uint32  spell_id,
bool  disabled = false,
bool  learn_low_rank = true,
bool  suppressMessaging = false 
)

No need to check for spellInfo != nullptr here because if cur_active is true, then that means that the spell was already in m_spells, and only valid spells can be pushed there.

Definition at line 3260 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ RemoveSpellCategoryCooldownMod()

void Player::RemoveSpellCategoryCooldownMod ( int32  spellCategoryId,
int32  mod 
)

Definition at line 29791 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ RemoveStoredAuraTeleportLocation()

void Player::RemoveStoredAuraTeleportLocation ( uint32  spellId)

Definition at line 2751 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ RemoveTalent()

void Player::RemoveTalent ( TalentEntry const *  talent)

Definition at line 2722 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ RemoveTemporarySpell()

void Player::RemoveTemporarySpell ( uint32  spellId)

Definition at line 3177 of file Player.cpp.

+ Here is the caller graph for this function:

◆ RemoveTimedQuest()

void Player::RemoveTimedQuest ( uint32  questId)
inline

Definition at line 1681 of file Player.h.

+ Here is the caller graph for this function:

◆ RemoveTrackCreatureFlag()

void Player::RemoveTrackCreatureFlag ( uint32  flags)
inline

Definition at line 2824 of file Player.h.

+ Here is the caller graph for this function:

◆ RemoveTradeableItem()

void Player::RemoveTradeableItem ( Item item)

Definition at line 13414 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ RenameTraitConfig()

void Player::RenameTraitConfig ( int32  editedConfigId,
std::string &&  newName 
)

Definition at line 28420 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ReplaceAllPlayerFlags()

void Player::ReplaceAllPlayerFlags ( PlayerFlags  flags)
inline

Definition at line 2740 of file Player.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ReplaceAllPlayerFlagsEx()

void Player::ReplaceAllPlayerFlagsEx ( PlayerFlagsEx  flags)
inline

Definition at line 2745 of file Player.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ReplaceAllPlayerLocalFlags()

void Player::ReplaceAllPlayerLocalFlags ( PlayerLocalFlags  flags)
inline

Definition at line 2835 of file Player.h.

+ Here is the call graph for this function:

◆ ReplaceAllRequiredMountCapabilityFlags()

void Player::ReplaceAllRequiredMountCapabilityFlags ( uint8  flags)
inline

Definition at line 2848 of file Player.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ RepopAtGraveyard()

void Player::RepopAtGraveyard ( )

Definition at line 4832 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ReportedAfkBy()

void Player::ReportedAfkBy ( Player reporter)

This player has been blamed to be inactive in a battleground.

Definition at line 23659 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ReputationChanged()

void Player::ReputationChanged ( FactionEntry const *  factionEntry,
int32  change 
)

Definition at line 16724 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ RequestSpellCast()

void Player::RequestSpellCast ( std::unique_ptr< SpellCastRequest castRequest)

Definition at line 30224 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ResetAchievements()

void Player::ResetAchievements ( )

Definition at line 26731 of file Player.cpp.

+ Here is the caller graph for this function:

◆ ResetAllPowers()

void Player::ResetAllPowers ( )

Definition at line 1903 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ResetContestedPvP()

void Player::ResetContestedPvP ( )

Definition at line 21475 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ResetCurrencyWeekCap()

void Player::ResetCurrencyWeekCap ( )

Reset weekly quantity.

Definition at line 7323 of file Player.cpp.

+ Here is the call graph for this function:

◆ ResetGroupUpdateSequenceIfNeeded()

void Player::ResetGroupUpdateSequenceIfNeeded ( Group const *  group)

Definition at line 26028 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ResetHonorStats()

void Player::ResetHonorStats ( )

Definition at line 6882 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ResetInstances()

void Player::ResetInstances ( InstanceResetMethod  method)

Reset all solo instances and optionally send a message on success for each.

Definition at line 21341 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ResetMap()

void Player::ResetMap ( )
overridevirtual

Reimplemented from WorldObject.

Definition at line 27560 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ResetMonthlyQuestStatus()

void Player::ResetMonthlyQuestStatus ( )

Definition at line 24962 of file Player.cpp.

+ Here is the call graph for this function:

◆ ResetPvpTalents()

void Player::ResetPvpTalents ( )

Definition at line 3597 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ResetSeasonalQuestStatus()

void Player::ResetSeasonalQuestStatus ( uint16  event_id,
time_t  eventStartTime 
)

Definition at line 24932 of file Player.cpp.

+ Here is the call graph for this function:

◆ ResetSpells()

void Player::ResetSpells ( bool  myClassOnly = false)

Definition at line 24491 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ResetTalents()

bool Player::ResetTalents ( bool  noCost = false)

Definition at line 3529 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ResetTalentSpecialization()

void Player::ResetTalentSpecialization ( )

Definition at line 26884 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ResetWeeklyQuestStatus()

void Player::ResetWeeklyQuestStatus ( )

Definition at line 24897 of file Player.cpp.

+ Here is the call graph for this function:

◆ RestoreHealthAfterDuel()

void Player::RestoreHealthAfterDuel ( )
inline

Definition at line 2273 of file Player.h.

+ Here is the caller graph for this function:

◆ RestoreManaAfterDuel()

void Player::RestoreManaAfterDuel ( )
inline

Definition at line 2274 of file Player.h.

+ Here is the caller graph for this function:

◆ ResummonBattlePetTemporaryUnSummonedIfAny()

void Player::ResummonBattlePetTemporaryUnSummonedIfAny ( )

Definition at line 27214 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ResummonPetTemporaryUnSummonedIfAny()

void Player::ResummonPetTemporaryUnSummonedIfAny ( )

Definition at line 27180 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ResurrectPlayer()

void Player::ResurrectPlayer ( float  restore_percent,
bool  applySickness = false 
)

Definition at line 4408 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ResurrectUsingRequestData()

void Player::ResurrectUsingRequestData ( )

Definition at line 25700 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ResurrectUsingRequestDataImpl()

void Player::ResurrectUsingRequestDataImpl ( )

Definition at line 25714 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ResyncRunes()

void Player::ResyncRunes ( ) const

Definition at line 26361 of file Player.cpp.

+ Here is the call graph for this function:

◆ RewardHonor()

bool Player::RewardHonor ( Unit victim,
uint32  groupsize,
int32  honor = -1,
bool  pvptoken = false 
)

Calculate the amount of honor gained based on the victim and the size of the group for which the honor is divided An exact honor value can also be given (overriding the calcs)

Definition at line 6726 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ RewardPlayerAndGroupAtEvent()

void Player::RewardPlayerAndGroupAtEvent ( uint32  creature_id,
WorldObject pRewardSource 
)

Definition at line 25645 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ RewardPlayerWithRewardPack() [1/2]

void Player::RewardPlayerWithRewardPack ( RewardPackEntry const *  rewardPackEntry)

Definition at line 6902 of file Player.cpp.

+ Here is the call graph for this function:

◆ RewardPlayerWithRewardPack() [2/2]

void Player::RewardPlayerWithRewardPack ( uint32  rewardPackID)

Definition at line 6897 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ RewardQuest()

void Player::RewardQuest ( Quest const *  quest,
LootItemType  rewardType,
uint32  rewardId,
Object questGiver,
bool  announce = true 
)
Todo:
Poor design of mail system

Definition at line 15152 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ RewardQuestPackage()

void Player::RewardQuestPackage ( uint32  questPackageId,
ItemContext  context,
uint32  onlyItemId = 0 
)

Definition at line 15109 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ RewardReputation() [1/2]

void Player::RewardReputation ( Quest const *  quest)

Definition at line 6644 of file Player.cpp.

+ Here is the call graph for this function:

◆ RewardReputation() [2/2]

void Player::RewardReputation ( Unit victim,
float  rate 
)

Definition at line 6593 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ Satisfy()

bool Player::Satisfy ( AccessRequirement const *  ar,
uint32  target_map,
TransferAbortParams params = nullptr,
bool  report = false 
)

Definition at line 19715 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SatisfyQuestBreadcrumbQuest()

bool Player::SatisfyQuestBreadcrumbQuest ( Quest const *  qInfo,
bool  msg 
) const

Definition at line 15691 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SatisfyQuestClass()

bool Player::SatisfyQuestClass ( Quest const *  qInfo,
bool  msg 
) const

Definition at line 15736 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SatisfyQuestConditions()

bool Player::SatisfyQuestConditions ( Quest const *  qInfo,
bool  msg 
) const

Definition at line 15829 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SatisfyQuestDay()

bool Player::SatisfyQuestDay ( Quest const *  qInfo,
bool  msg 
) const

Definition at line 15905 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SatisfyQuestDependentBreadcrumbQuests()

bool Player::SatisfyQuestDependentBreadcrumbQuests ( Quest const *  qInfo,
bool  msg 
) const

Definition at line 15715 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SatisfyQuestDependentPreviousQuests()

bool Player::SatisfyQuestDependentPreviousQuests ( Quest const *  qInfo,
bool  msg 
) const

Definition at line 15633 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SatisfyQuestDependentQuests()

bool Player::SatisfyQuestDependentQuests ( Quest const *  qInfo,
bool  msg 
) const

Definition at line 15600 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SatisfyQuestExclusiveGroup()

bool Player::SatisfyQuestExclusiveGroup ( Quest const *  qInfo,
bool  msg 
) const

Definition at line 15860 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SatisfyQuestExpansion()

bool Player::SatisfyQuestExpansion ( Quest const *  qInfo,
bool  msg 
) const

Definition at line 15943 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SatisfyQuestLevel()

bool Player::SatisfyQuestLevel ( Quest const *  qInfo,
bool  msg 
) const

Definition at line 15551 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SatisfyQuestLog()

bool Player::SatisfyQuestLog ( bool  msg) const

Definition at line 15586 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SatisfyQuestMaxLevel()

bool Player::SatisfyQuestMaxLevel ( Quest const *  qInfo,
bool  msg 
) const

Definition at line 15571 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SatisfyQuestMinLevel()

bool Player::SatisfyQuestMinLevel ( Quest const *  qInfo,
bool  msg 
) const

Definition at line 15556 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SatisfyQuestMonth()

bool Player::SatisfyQuestMonth ( Quest const *  qInfo,
bool  msg 
) const

Definition at line 15957 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SatisfyQuestPreviousQuest()

bool Player::SatisfyQuestPreviousQuest ( Quest const *  qInfo,
bool  msg 
) const

Definition at line 15606 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SatisfyQuestRace()

bool Player::SatisfyQuestRace ( Quest const *  qInfo,
bool  msg 
) const

Definition at line 15758 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SatisfyQuestReputation()

bool Player::SatisfyQuestReputation ( Quest const *  qInfo,
bool  msg 
) const

Definition at line 15774 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SatisfyQuestSeasonal()

bool Player::SatisfyQuestSeasonal ( Quest const *  qInfo,
bool  msg 
) const

Definition at line 15930 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SatisfyQuestSkill()

bool Player::SatisfyQuestSkill ( Quest const *  qInfo,
bool  msg 
) const

Definition at line 15527 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SatisfyQuestStatus()

bool Player::SatisfyQuestStatus ( Quest const *  qInfo,
bool  msg 
) const

Definition at line 15803 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SatisfyQuestTimed()

bool Player::SatisfyQuestTimed ( Quest const *  qInfo,
bool  msg 
) const

Definition at line 15845 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SatisfyQuestWeek()

bool Player::SatisfyQuestWeek ( Quest const *  qInfo,
bool  msg 
) const

Definition at line 15921 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SaveCUFProfile() [1/2]

void Player::SaveCUFProfile ( uint8  id,
std::nullptr_t   
)
inline

Definition at line 1683 of file Player.h.

+ Here is the caller graph for this function:

◆ SaveCUFProfile() [2/2]

void Player::SaveCUFProfile ( uint8  id,
std::unique_ptr< CUFProfile profile 
)
inline

‍Empties a CUF profile at position 0-4

Definition at line 1684 of file Player.h.

◆ SaveCustomizations()

void Player::SaveCustomizations ( CharacterDatabaseTransaction  trans,
ObjectGuid::LowType  guid,
Trinity::IteratorPair< UF::ChrCustomizationChoice const * >  customizations 
)
static

Definition at line 20392 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SaveHealthBeforeDuel()

void Player::SaveHealthBeforeDuel ( )
inline

Definition at line 2271 of file Player.h.

+ Here is the caller graph for this function:

◆ SaveInventoryAndGoldToDB()

void Player::SaveInventoryAndGoldToDB ( CharacterDatabaseTransaction  trans)

Definition at line 20364 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SaveManaBeforeDuel()

void Player::SaveManaBeforeDuel ( )
inline

Definition at line 2272 of file Player.h.

+ Here is the caller graph for this function:

◆ SavePositionInDB()

void Player::SavePositionInDB ( WorldLocation const &  loc,
uint16  zoneId,
ObjectGuid  guid,
CharacterDatabaseTransaction  trans 
)
static

Definition at line 21279 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SaveRecallPosition()

void Player::SaveRecallPosition ( )
inline

Definition at line 2491 of file Player.h.

+ Here is the caller graph for this function:

◆ SaveToDB() [1/2]

void Player::SaveToDB ( bool  create = false)

Definition at line 19978 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SaveToDB() [2/2]

void Player::SaveToDB ( LoginDatabaseTransaction  loginTransaction,
CharacterDatabaseTransaction  trans,
bool  create = false 
)

Insert query

Todo:
: Filter out more redundant fields that can take their default value at player create

Definition at line 19989 of file Player.cpp.

+ Here is the call graph for this function:

◆ Say() [1/2]

void Player::Say ( std::string_view  text,
Language  language,
WorldObject const *  = nullptr 
)
overridevirtual

Handles said message in regular chat based on declared language and in config pre-defined Range.

Reimplemented from Unit.

Definition at line 21720 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ Say() [2/2]

void Player::Say ( uint32  textId,
WorldObject const *  target = nullptr 
)
overridevirtual

Reimplemented from Unit.

Definition at line 21741 of file Player.cpp.

+ Here is the call graph for this function:

◆ ScheduleDelayedOperation()

void Player::ScheduleDelayedOperation ( uint32  operation)
inlineprivate

Definition at line 3162 of file Player.h.

+ Here is the caller graph for this function:

◆ SendActionButtons()

void Player::SendActionButtons ( uint32  state) const

Definition at line 6144 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SendAreaSpiritHealerTime() [1/2]

void Player::SendAreaSpiritHealerTime ( ObjectGuid const &  spiritHealerGUID,
int32  timeLeft 
) const

Definition at line 30155 of file Player.cpp.

+ Here is the call graph for this function:

◆ SendAreaSpiritHealerTime() [2/2]

void Player::SendAreaSpiritHealerTime ( Unit spiritHealer) const

Definition at line 30146 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SendAttackSwingCancelAttack()

void Player::SendAttackSwingCancelAttack ( ) const

Definition at line 21294 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SendAurasForTarget()

void Player::SendAurasForTarget ( Unit target) const

Definition at line 24784 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SendAutoRepeatCancel()

void Player::SendAutoRepeatCancel ( Unit target)

Definition at line 21307 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SendBindPointUpdate()

void Player::SendBindPointUpdate ( ) const

Definition at line 17598 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SendBuyError()

void Player::SendBuyError ( BuyResult  msg,
Creature creature,
uint32  item,
uint32  param 
) const

Definition at line 13300 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SendCanTakeQuestResponse()

void Player::SendCanTakeQuestResponse ( QuestFailedReason  reason,
bool  sendErrorMessage = true,
std::string  reasonText = "" 
) const

Definition at line 17254 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SendChatMessageToSetInRange()

void Player::SendChatMessageToSetInRange ( ChatMsg  chatMsg,
Language  lanugageId,
std::string &&  text,
float  range 
)

Definition at line 21728 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SendCinematicStart()

void Player::SendCinematicStart ( uint32  CinematicSequenceId) const

Definition at line 6329 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SendCorpseReclaimDelay()

void Player::SendCorpseReclaimDelay ( uint32  delay) const

Definition at line 25887 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SendCurrencies()

void Player::SendCurrencies ( ) const

Send full data about all currencies to client.

Definition at line 7037 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SendDirectMessage()

void Player::SendDirectMessage ( WorldPacket const *  data) const

Definition at line 6324 of file Player.cpp.

+ Here is the call graph for this function:

◆ SendDisplayToast()

void Player::SendDisplayToast ( uint32  entry,
DisplayToastType  type,
bool  isBonusRoll,
uint32  quantity,
DisplayToastMethod  method,
uint32  questId = 0,
Item item = nullptr 
) const

Definition at line 30163 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SendDungeonDifficulty()

void Player::SendDungeonDifficulty ( int32  forcedDifficulty = -1) const

Definition at line 21319 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SendEnchantmentDurations()

void Player::SendEnchantmentDurations ( )

Definition at line 13978 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SendEquipError()

void Player::SendEquipError ( InventoryResult  msg,
Item const *  item1 = nullptr,
Item const *  item2 = nullptr,
uint32  itemId = 0 
) const

Definition at line 13254 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SendEquipmentSetList()

void Player::SendEquipmentSetList ( )

Definition at line 27366 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SendExplorationExperience()

void Player::SendExplorationExperience ( uint32  Area,
uint32  Experience 
) const

Definition at line 21314 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SendInitialActionButtons()

void Player::SendInitialActionButtons ( ) const
inline

Definition at line 1948 of file Player.h.

+ Here is the caller graph for this function:

◆ SendInitialPacketsAfterAddToMap()

void Player::SendInitialPacketsAfterAddToMap ( )

Definition at line 24316 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SendInitialPacketsBeforeAddToMap()

void Player::SendInitialPacketsBeforeAddToMap ( )

Pass 'this' as argument because we're not stored in ObjectAccessor yet

SMSG_BINDPOINTUPDATE

SMSG_TALENTS_INFO

SMSG_INITIAL_SPELLS

SMSG_SEND_UNLEARN_SPELLS

SMSG_SEND_SPELL_HISTORY

SMSG_SEND_SPELL_CHARGES

SMSG_ACTION_BUTTONS

SMSG_INITIALIZE_FACTIONS

SMSG_SETUP_CURRENCY

SMSG_EQUIPMENT_SET_LIST

SMSG_LOGIN_SETTIMESPEED

Todo:
Todo:

SMSG_WORLD_SERVER_INFO

Todo:

Definition at line 24203 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SendInitialVisiblePackets()

void Player::SendInitialVisiblePackets ( WorldObject target) const

Definition at line 23994 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SendInitWorldStates()

void Player::SendInitWorldStates ( uint32  zoneId,
uint32  areaId 
)

Definition at line 9185 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SendItemDurations()

void Player::SendItemDurations ( )

Definition at line 13984 of file Player.cpp.

+ Here is the caller graph for this function:

◆ SendItemRefundResult()

void Player::SendItemRefundResult ( Item item,
ItemExtendedCostEntry const *  iece,
uint8  error 
) const
private

Definition at line 28852 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SendItemRetrievalMail()

void Player::SendItemRetrievalMail ( uint32  itemEntry,
uint32  count,
ItemContext  context 
)

Definition at line 28983 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SendKnownSpells()

void Player::SendKnownSpells ( )

Definition at line 2580 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SendLoot()

void Player::SendLoot ( Loot loot,
bool  aeLooting = false 
)

Definition at line 9119 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SendLootError()

void Player::SendLootError ( ObjectGuid const &  lootObj,
ObjectGuid const &  owner,
LootError  error 
) const

Definition at line 9148 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SendLootRelease()

void Player::SendLootRelease ( ObjectGuid  guid) const

Definition at line 9106 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SendLootReleaseAll()

void Player::SendLootReleaseAll ( ) const

Definition at line 9114 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SendMailResult()

void Player::SendMailResult ( uint64  mailId,
MailResponseType  mailAction,
MailResponseResult  mailError,
uint32  equipError = 0,
ObjectGuid::LowType  itemGuid = UI64LIT(0),
uint32  itemCount = 0 
) const

Definition at line 2621 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SendMessageToSet() [1/2]

void Player::SendMessageToSet ( WorldPacket const *  data,
bool  self 
) const
inlineoverridevirtual

Reimplemented from WorldObject.

Definition at line 2151 of file Player.h.

+ Here is the caller graph for this function:

◆ SendMessageToSet() [2/2]

void Player::SendMessageToSet ( WorldPacket const *  data,
Player const *  skipped_rcvr 
) const
overridevirtual

Reimplemented from WorldObject.

Definition at line 6312 of file Player.cpp.

+ Here is the call graph for this function:

◆ SendMessageToSetInRange() [1/2]

void Player::SendMessageToSetInRange ( WorldPacket const *  data,
float  dist,
bool  self 
) const
overridevirtual

Reimplemented from WorldObject.

Definition at line 6292 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SendMessageToSetInRange() [2/2]

void Player::SendMessageToSetInRange ( WorldPacket const *  data,
float  dist,
bool  self,
bool  own_team_only,
bool  required3dDist = false 
) const

Definition at line 6302 of file Player.cpp.

+ Here is the call graph for this function:

◆ SendMirrorTimer()

void Player::SendMirrorTimer ( MirrorTimerType  Type,
uint32  MaxValue,
uint32  CurrentValue,
int32  Regen 
)
protected

Definition at line 610 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SendMovementSetCollisionHeight()

void Player::SendMovementSetCollisionHeight ( float  height,
WorldPackets::Movement::UpdateCollisionHeightReason  reason 
)

Definition at line 29232 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SendMovieStart()

void Player::SendMovieStart ( uint32  movieId)

Definition at line 6338 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SendNewItem()

void Player::SendNewItem ( Item item,
uint32  quantity,
bool  received,
bool  created,
bool  broadcast = false,
uint32  dungeonEncounterId = 0 
)

Definition at line 13990 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SendNewMail()

void Player::SendNewMail ( ) const

Definition at line 2639 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SendNotifyLootItemRemoved()

void Player::SendNotifyLootItemRemoved ( ObjectGuid  lootObj,
ObjectGuid  owner,
uint8  lootListId 
) const

Definition at line 9165 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SendNotifyLootMoneyRemoved()

void Player::SendNotifyLootMoneyRemoved ( ObjectGuid  lootObj) const

Definition at line 9158 of file Player.cpp.

+ Here is the call graph for this function:

◆ SendOnCancelExpectedVehicleRideAura()

void Player::SendOnCancelExpectedVehicleRideAura ( ) const

Definition at line 21874 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SendPlayerBound()

void Player::SendPlayerBound ( ObjectGuid const &  binderGuid,
uint32  areaId 
) const

Definition at line 17607 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SendPlayerChoice()

void Player::SendPlayerChoice ( ObjectGuid  sender,
int32  choiceId 
)

Definition at line 29251 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SendPreparedGossip()

void Player::SendPreparedGossip ( WorldObject source)

Definition at line 14137 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SendPreparedQuest()

void Player::SendPreparedQuest ( WorldObject source)
Todo:
verify if check for !quest->IsDaily() is really correct (possibly not)

Definition at line 14534 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SendProficiency()

void Player::SendProficiency ( ItemClass  itemClass,
uint32  itemSubclassMask 
) const

Definition at line 22444 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SendPushToPartyResponse()

void Player::SendPushToPartyResponse ( Player const *  player,
QuestPushReason  reason,
Quest const *  quest = nullptr 
) const

Definition at line 17286 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SendPvpRewards()

void Player::SendPvpRewards ( ) const

Send conquest currency points and their cap week/arena.

Definition at line 7088 of file Player.cpp.

+ Here is the caller graph for this function:

◆ SendQuestComplete()

void Player::SendQuestComplete ( uint32  questId) const

Definition at line 17180 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SendQuestConfirmAccept()

void Player::SendQuestConfirmAccept ( Quest const *  quest,
Player receiver 
) const

Definition at line 17265 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SendQuestFailed()

void Player::SendQuestFailed ( uint32  questId,
InventoryResult  reason = EQUIP_ERR_OK 
) const

Definition at line 17233 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SendQuestGiverStatusMultiple() [1/2]

void Player::SendQuestGiverStatusMultiple ( )

Definition at line 17356 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SendQuestGiverStatusMultiple() [2/2]

void Player::SendQuestGiverStatusMultiple ( GuidUnorderedSet const &  guids)

Definition at line 17361 of file Player.cpp.

+ Here is the call graph for this function:

◆ SendQuestReward()

void Player::SendQuestReward ( Quest const *  quest,
Creature const *  questGiver,
uint32  xp,
bool  hideChatMessage 
) const

Definition at line 17190 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SendQuestTimerFailed()

void Player::SendQuestTimerFailed ( uint32  questId) const

Definition at line 17244 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SendQuestUpdate()

void Player::SendQuestUpdate ( uint32  questId,
bool  updateInteractions = true,
bool  updateGameObjectQuestGiverStatus = false 
)

Definition at line 16142 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SendQuestUpdateAddCredit()

void Player::SendQuestUpdateAddCredit ( Quest const *  quest,
ObjectGuid  guid,
QuestObjective const &  obj,
uint16  count 
) const

Definition at line 17306 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SendQuestUpdateAddCreditSimple()

void Player::SendQuestUpdateAddCreditSimple ( QuestObjective const &  obj) const

Definition at line 17318 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SendQuestUpdateAddItem()

void Player::SendQuestUpdateAddItem ( ItemTemplate const *  itemTemplate,
QuestObjective const &  obj,
uint16  count 
) const

Definition at line 17327 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SendQuestUpdateAddPlayer()

void Player::SendQuestUpdateAddPlayer ( Quest const *  quest,
uint16  newCount 
) const

Definition at line 17348 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SendRaidDifficulty()

void Player::SendRaidDifficulty ( bool  legacy,
int32  forcedDifficulty = -1 
) const

Definition at line 21326 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SendRaidGroupOnlyMessage()

void Player::SendRaidGroupOnlyMessage ( RaidGroupReason  reason,
int32  delay 
) const

Definition at line 29832 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SendRaidInfo()

void Player::SendRaidInfo ( )

Definition at line 19688 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SendRefundInfo()

void Player::SendRefundInfo ( Item item)
private

Definition at line 28583 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SendRemoveControlBar()

void Player::SendRemoveControlBar ( ) const

Definition at line 22031 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SendResetFailedNotify()

void Player::SendResetFailedNotify ( uint32  mapid) const

Definition at line 21334 of file Player.cpp.

+ Here is the call graph for this function:

◆ SendResetInstanceFailed()

void Player::SendResetInstanceFailed ( ResetFailedReason  reason,
uint32  mapID 
) const

Definition at line 21385 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SendResetInstanceSuccess()

void Player::SendResetInstanceSuccess ( uint32  MapId) const

Definition at line 21378 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SendRespecWipeConfirm()

void Player::SendRespecWipeConfirm ( ObjectGuid const &  guid,
uint32  cost,
SpecResetType  respecType 
) const

Definition at line 9210 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SendRespondInspectAchievements()

void Player::SendRespondInspectAchievements ( Player player) const

Definition at line 26736 of file Player.cpp.

+ Here is the caller graph for this function:

◆ SendSellError()

void Player::SendSellError ( SellResult  msg,
Creature creature,
ObjectGuid  guid 
) const

Definition at line 13309 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SendSpellModifiers()

void Player::SendSpellModifiers ( ) const

Definition at line 22392 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SendSummonRequestFrom()

void Player::SendSummonRequestFrom ( Unit summoner)

Definition at line 25306 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SendSupercededSpell()

void Player::SendSupercededSpell ( uint32  oldSpell,
uint32  newSpell 
) const

Definition at line 29627 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SendTalentsInfoData()

void Player::SendTalentsInfoData ( )

Definition at line 27287 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SendTameFailure()

void Player::SendTameFailure ( PetTameResult  result)

Definition at line 21629 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SendTransferAborted()

void Player::SendTransferAborted ( uint32  mapid,
TransferAbortReason  reason,
uint8  arg = 0,
int32  mapDifficultyXConditionID = 0 
) const

Definition at line 24439 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SendUnlearnSpells()

void Player::SendUnlearnSpells ( )

Definition at line 2602 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SendUpdateToOutOfRangeGroupMembers()

void Player::SendUpdateToOutOfRangeGroupMembers ( )

Definition at line 24427 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SendUpdateWorldState()

void Player::SendUpdateWorldState ( uint32  variable,
uint32  value,
bool  hidden = false 
) const

Definition at line 9174 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetAcceptWhispers()

void Player::SetAcceptWhispers ( bool  on)
inline

Definition at line 1177 of file Player.h.

+ Here is the caller graph for this function:

◆ SetActiveCombatTraitConfigID()

void Player::SetActiveCombatTraitConfigID ( int32  traitConfigId)
inline

Definition at line 1893 of file Player.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetActiveTalentGroup()

void Player::SetActiveTalentGroup ( uint8  group)
inline

Definition at line 1844 of file Player.h.

+ Here is the caller graph for this function:

◆ SetAdvancedCombatLogging()

void Player::SetAdvancedCombatLogging ( bool  enabled)
inline

Definition at line 2713 of file Player.h.

+ Here is the caller graph for this function:

◆ SetAreaSpiritHealer()

void Player::SetAreaSpiritHealer ( Creature creature)

Definition at line 30130 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetArenaFaction()

void Player::SetArenaFaction ( uint8  arenaFaction)
inline

Definition at line 2778 of file Player.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetArenaTeamIdInvited()

void Player::SetArenaTeamIdInvited ( uint32  ArenaTeamId)
inline

Definition at line 2006 of file Player.h.

+ Here is the caller graph for this function:

◆ SetArenaTeamInfoField()

void Player::SetArenaTeamInfoField ( uint8  slot,
ArenaTeamInfoType  type,
uint32  value 
)

Definition at line 7435 of file Player.cpp.

+ Here is the caller graph for this function:

◆ SetAtLoginFlag()

void Player::SetAtLoginFlag ( AtLoginFlags  f)
inline

Definition at line 2533 of file Player.h.

◆ SetAttackSwingError()

void Player::SetAttackSwingError ( Optional< AttackSwingErr err)

Definition at line 21299 of file Player.cpp.

+ Here is the call graph for this function:

◆ SetAverageItemLevelEquipped()

void Player::SetAverageItemLevelEquipped ( float  newItemLevel)
inline

Definition at line 2748 of file Player.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetAverageItemLevelTotal()

void Player::SetAverageItemLevelTotal ( float  newItemLevel)
inline

Definition at line 2747 of file Player.h.

+ Here is the call graph for this function:

◆ SetBankBagSlotCount()

void Player::SetBankBagSlotCount ( uint8  count)
inline

Definition at line 1379 of file Player.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetBaseModFlatValue()

void Player::SetBaseModFlatValue ( BaseModGroup  modGroup,
float  val 
)

Definition at line 5034 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetBaseModPctValue()

void Player::SetBaseModPctValue ( BaseModGroup  modGroup,
float  val 
)

Definition at line 5043 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetBattlegroundEntryPoint()

void Player::SetBattlegroundEntryPoint ( )

Definition at line 23560 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetBattlegroundId()

void Player::SetBattlegroundId ( uint32  val,
BattlegroundTypeId  bgTypeId,
BattlegroundQueueTypeId  queueId 
)

Definition at line 25030 of file Player.cpp.

+ Here is the caller graph for this function:

◆ SetBattlegroundOrBattlefieldRaid()

void Player::SetBattlegroundOrBattlefieldRaid ( Group group,
int8  subgroup = -1 
)

Definition at line 25987 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetBattlePetData()

void Player::SetBattlePetData ( BattlePets::BattlePet const *  pet = nullptr)

Definition at line 21659 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetBeenGrantedLevelsFromRaF()

void Player::SetBeenGrantedLevelsFromRaF ( )
inline

Definition at line 1192 of file Player.h.

◆ SetBGTeam()

void Player::SetBGTeam ( Team  team)

Definition at line 23603 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetBindPoint()

void Player::SetBindPoint ( ObjectGuid  guid) const

Definition at line 9201 of file Player.cpp.

+ Here is the call graph for this function:

◆ SetBuybackPrice()

void Player::SetBuybackPrice ( uint32  slot,
uint32  price 
)
inline

Definition at line 1475 of file Player.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetBuybackTimestamp()

void Player::SetBuybackTimestamp ( uint32  slot,
time_t  timestamp 
)
inline

Definition at line 1476 of file Player.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetCanBlock()

void Player::SetCanBlock ( bool  value)

Definition at line 26112 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetCanDelayTeleport()

void Player::SetCanDelayTeleport ( bool  setting)
inlineprivate

Definition at line 3159 of file Player.h.

+ Here is the caller graph for this function:

◆ SetCanParry()

void Player::SetCanParry ( bool  value)

Definition at line 26103 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetCanTitanGrip()

void Player::SetCanTitanGrip ( bool  value,
uint32  penaltySpellId = 0 
)

Definition at line 13324 of file Player.cpp.

+ Here is the caller graph for this function:

◆ SetChampioningFaction()

void Player::SetChampioningFaction ( uint32  faction)
inline

Definition at line 2671 of file Player.h.

+ Here is the caller graph for this function:

◆ SetChosenTitle()

void Player::SetChosenTitle ( int32  title)
inline

Definition at line 2663 of file Player.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setCinematic()

void Player::setCinematic ( uint8  cine)
inline

Definition at line 1940 of file Player.h.

+ Here is the caller graph for this function:

◆ SetClientControl()

void Player::SetClientControl ( Unit target,
bool  allowMove 
)

Definition at line 25739 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetCommandStatusOff()

void Player::SetCommandStatusOff ( uint32  command)
inline

Definition at line 1208 of file Player.h.

+ Here is the caller graph for this function:

◆ SetCommandStatusOn()

void Player::SetCommandStatusOn ( uint32  command)
inline

Definition at line 1207 of file Player.h.

+ Here is the caller graph for this function:

◆ SetContestedPvP()

void Player::SetContestedPvP ( Player attackedPlayer = nullptr)

Definition at line 21439 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetContestedPvPTimer()

void Player::SetContestedPvPTimer ( uint32  newTime)
inline

Definition at line 1968 of file Player.h.

+ Here is the caller graph for this function:

◆ SetCreateCurrency()

void Player::SetCreateCurrency ( uint32  id,
uint32  amount 
)

Initialize currency amount for custom initialization at create character.

Definition at line 7094 of file Player.cpp.

◆ SetCurrentBattlePetBreedQuality()

void Player::SetCurrentBattlePetBreedQuality ( uint8  battlePetBreedQuality)
inline

Definition at line 2781 of file Player.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetCustomizations()

template<typename Iter >
void Player::SetCustomizations ( Trinity::IteratorPair< Iter >  customizations,
bool  markChanged = true 
)
inline

Definition at line 2764 of file Player.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetDailyQuestStatus()

void Player::SetDailyQuestStatus ( uint32  quest_id)

Definition at line 24806 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setDeathState()

void Player::setDeathState ( DeathState  s)
overridevirtual

Reimplemented from Unit.

Definition at line 1171 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetDelayedTeleportFlag()

void Player::SetDelayedTeleportFlag ( bool  setting)
inlineprivate

Definition at line 3161 of file Player.h.

+ Here is the caller graph for this function:

◆ SetDeveloper()

void Player::SetDeveloper ( bool  on)
inline

Definition at line 1175 of file Player.h.

+ Here is the caller graph for this function:

◆ SetDrunkValue()

void Player::SetDrunkValue ( uint8  newDrunkValue,
uint32  itemId = 0 
)

Definition at line 887 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetDuelArbiter()

void Player::SetDuelArbiter ( ObjectGuid  guid)
inline

Definition at line 1976 of file Player.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetDuelTeam()

void Player::SetDuelTeam ( uint32  duelTeam)
inline

Definition at line 1977 of file Player.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetDungeonDifficultyID()

void Player::SetDungeonDifficultyID ( Difficulty  dungeon_difficulty)
inline

Definition at line 2015 of file Player.h.

+ Here is the caller graph for this function:

◆ SetEquipmentSet()

void Player::SetEquipmentSet ( EquipmentSetInfo::EquipmentSetData const &  newEqSet)

Definition at line 27381 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetFactionForRace()

void Player::SetFactionForRace ( uint8  race)

Definition at line 6489 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetFallInformation()

void Player::SetFallInformation ( uint32  time,
float  z 
)

Definition at line 26672 of file Player.cpp.

+ Here is the caller graph for this function:

◆ SetFreePrimaryProfessions()

void Player::SetFreePrimaryProfessions ( uint16  profs)
inline

Definition at line 1898 of file Player.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetGameMaster()

void Player::SetGameMaster ( bool  on)

Definition at line 2071 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetGMChat()

void Player::SetGMChat ( bool  on)
inline

Definition at line 1183 of file Player.h.

+ Here is the caller graph for this function:

◆ SetGMVisible()

void Player::SetGMVisible ( bool  on)

Definition at line 2121 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetGroup()

void Player::SetGroup ( Group group,
int8  subgroup = -1 
)

Definition at line 24188 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetGroupInvite()

void Player::SetGroupInvite ( Group group)
inline

Definition at line 2605 of file Player.h.

+ Here is the caller graph for this function:

◆ SetGroupUpdateFlag()

void Player::SetGroupUpdateFlag ( uint32  flag)
inline

Definition at line 2614 of file Player.h.

+ Here is the caller graph for this function:

◆ SetGuildIdInvited()

void Player::SetGuildIdInvited ( ObjectGuid::LowType  GuildId)
inline

Definition at line 1992 of file Player.h.

+ Here is the caller graph for this function:

◆ SetGuildLevel()

void Player::SetGuildLevel ( uint32  level)
inline

Definition at line 1990 of file Player.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetGuildRank()

void Player::SetGuildRank ( uint8  rankId)
inline

Definition at line 1988 of file Player.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetHasLevelBoosted()

void Player::SetHasLevelBoosted ( )
inline

Definition at line 1194 of file Player.h.

◆ SetHasRaceChanged()

void Player::SetHasRaceChanged ( )
inline

Definition at line 1190 of file Player.h.

◆ SetHeirloom()

void Player::SetHeirloom ( uint32  slot,
int32  itemId 
)
inline

Definition at line 2788 of file Player.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetHeirloomFlags()

void Player::SetHeirloomFlags ( uint32  slot,
uint32  flags 
)
inline

Definition at line 2789 of file Player.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetHomebind()

void Player::SetHomebind ( WorldLocation const &  loc,
uint32  areaId 
)

Definition at line 17581 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetHonorLevel()

void Player::SetHonorLevel ( uint8  honorLevel)

Definition at line 6945 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetInArenaTeam()

void Player::SetInArenaTeam ( uint32  ArenaTeamId,
uint8  slot,
uint8  type 
)

Definition at line 7439 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetInGameTime()

void Player::SetInGameTime ( uint32  time)
inline

Definition at line 1678 of file Player.h.

+ Here is the caller graph for this function:

◆ SetInGuild()

void Player::SetInGuild ( ObjectGuid::LowType  guildId)

Definition at line 7419 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetInventorySlotCount()

void Player::SetInventorySlotCount ( uint8  slots)

Definition at line 9846 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetInviteForBattlegroundQueueType()

void Player::SetInviteForBattlegroundQueueType ( BattlegroundQueueTypeId  bgQueueTypeId,
uint32  instanceId 
)

Definition at line 25076 of file Player.cpp.

+ Here is the caller graph for this function:

◆ SetInvSlot()

void Player::SetInvSlot ( uint32  slot,
ObjectGuid  guid 
)
inline

Definition at line 1454 of file Player.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetKnownTitles()

void Player::SetKnownTitles ( uint32  index,
uint64  mask 
)
inline

Definition at line 2664 of file Player.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetLastPetNumber()

void Player::SetLastPetNumber ( uint32  petnumber)
inline

Definition at line 2597 of file Player.h.

+ Here is the caller graph for this function:

◆ SetLastPotionId()

void Player::SetLastPotionId ( uint32  item_id)
inline

Definition at line 1916 of file Player.h.

◆ SetLegacyRaidDifficultyID()

void Player::SetLegacyRaidDifficultyID ( Difficulty  raid_difficulty)
inline

Definition at line 2017 of file Player.h.

+ Here is the caller graph for this function:

◆ SetLootGUID()

void Player::SetLootGUID ( ObjectGuid const &  guid)
inline

Definition at line 2092 of file Player.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetLootSpecId()

void Player::SetLootSpecId ( uint32  id)
inline

Definition at line 1830 of file Player.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetMap()

void Player::SetMap ( Map map)
overridevirtual

Reimplemented from WorldObject.

Definition at line 27572 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetMercenaryForBattlegroundQueueType()

void Player::SetMercenaryForBattlegroundQueueType ( BattlegroundQueueTypeId  bgQueueTypeId,
bool  mercenary 
)

Definition at line 25091 of file Player.cpp.

+ Here is the caller graph for this function:

◆ SetModDamageDonePercent()

void Player::SetModDamageDonePercent ( uint8  school,
float  pct 
)
inline

Definition at line 2047 of file Player.h.

+ Here is the call graph for this function:

◆ SetMoney()

void Player::SetMoney ( uint64  value)

Definition at line 24124 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetMonthlyQuestStatus()

void Player::SetMonthlyQuestStatus ( uint32  quest_id)

Definition at line 24846 of file Player.cpp.

+ Here is the caller graph for this function:

◆ SetMovie()

void Player::SetMovie ( uint32  movie)
inline

Definition at line 1943 of file Player.h.

+ Here is the caller graph for this function:

◆ SetMultiActionBars()

void Player::SetMultiActionBars ( uint8  mask)
inline

Definition at line 1951 of file Player.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetNativeGender()

void Player::SetNativeGender ( Gender  gender)
inlineoverridevirtual

Reimplemented from Unit.

Definition at line 1218 of file Player.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetNoRegentCostMask()

void Player::SetNoRegentCostMask ( flag128  mask)
inline

Definition at line 1383 of file Player.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetNumRespecs()

void Player::SetNumRespecs ( uint8  numRespecs)
inline

Definition at line 2838 of file Player.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetObjectScale()

void Player::SetObjectScale ( float  scale)
overridevirtual

Reimplemented from Object.

Definition at line 1602 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetOriginalGroup()

void Player::SetOriginalGroup ( Group group,
int8  subgroup = -1 
)

Definition at line 26009 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetOverrideSpellsId()

void Player::SetOverrideSpellsId ( int32  overrideSpellsId)
inline

Definition at line 1812 of file Player.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetOverrideZonePVPType()

void Player::SetOverrideZonePVPType ( ZonePVPTypeOverride  type)
inline

Definition at line 1834 of file Player.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetPartyType()

void Player::SetPartyType ( GroupCategory  category,
uint8  type 
)

Definition at line 26022 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetPassOnGroupLoot()

void Player::SetPassOnGroupLoot ( bool  bPassOnGroupLoot)
inline

Definition at line 2630 of file Player.h.

+ Here is the caller graph for this function:

◆ SetPendingBind()

void Player::SetPendingBind ( uint32  instanceId,
uint32  bindTimer 
)

Definition at line 19682 of file Player.cpp.

+ Here is the caller graph for this function:

◆ SetPersonalTabard()

void Player::SetPersonalTabard ( uint32  style,
uint32  color,
uint32  borderStyle,
uint32  borderColor,
uint32  backgroundColor 
)

Definition at line 22458 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetPetSlot()

void Player::SetPetSlot ( uint32  petNumber,
PetSaveMode  dstPetSlot 
)

Definition at line 28675 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetPetSpellPower()

void Player::SetPetSpellPower ( uint32  spellPower)
inline

Definition at line 2089 of file Player.h.

+ Here is the call graph for this function:

◆ SetPlayerFlag()

void Player::SetPlayerFlag ( PlayerFlags  flags)
inline

Definition at line 2738 of file Player.h.

+ Here is the caller graph for this function:

◆ SetPlayerFlagEx()

void Player::SetPlayerFlagEx ( PlayerFlagsEx  flags)
inline

Definition at line 2743 of file Player.h.

+ Here is the caller graph for this function:

◆ SetPlayerLocalFlag()

void Player::SetPlayerLocalFlag ( PlayerLocalFlags  flags)
inline

Definition at line 2833 of file Player.h.

+ Here is the caller graph for this function:

◆ SetPrimarySpecialization()

void Player::SetPrimarySpecialization ( uint32  spec)
inline

Definition at line 1842 of file Player.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetPvP()

void Player::SetPvP ( bool  state)
overridevirtual

Reimplemented from Unit.

Definition at line 23353 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetPvPDeath()

void Player::SetPvPDeath ( bool  on)
inline

Definition at line 1188 of file Player.h.

+ Here is the caller graph for this function:

◆ SetPvpTitle()

void Player::SetPvpTitle ( uint8  pvpTitle)
inline

Definition at line 2777 of file Player.h.

+ Here is the call graph for this function:

◆ SetQuestCompletedBit()

void Player::SetQuestCompletedBit ( uint32  questBit,
bool  completed 
)

Definition at line 16561 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetQuestObjectiveData()

void Player::SetQuestObjectiveData ( QuestObjective const &  objective,
int32  data 
)

Definition at line 16983 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetQuestSharingInfo()

void Player::SetQuestSharingInfo ( ObjectGuid  guid,
uint32  id 
)
inline

Definition at line 1674 of file Player.h.

+ Here is the caller graph for this function:

◆ SetQuestSlot()

void Player::SetQuestSlot ( uint16  slot,
uint32  quest_id 
)

Definition at line 16505 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetQuestSlotCounter()

void Player::SetQuestSlotCounter ( uint16  slot,
uint8  counter,
uint16  count 
)

Definition at line 16516 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetQuestSlotEndTime()

void Player::SetQuestSlotEndTime ( uint16  slot,
time_t  endTime 
)

Definition at line 16540 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetQuestSlotObjectiveFlag()

void Player::SetQuestSlotObjectiveFlag ( uint16  slot,
int8  objectiveIndex 
)

Definition at line 16547 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetQuestSlotState()

void Player::SetQuestSlotState ( uint16  slot,
uint32  state 
)

Definition at line 16526 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetQuestStatus()

void Player::SetQuestStatus ( uint32  questId,
QuestStatus  status,
bool  update = true 
)

Definition at line 16075 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetRaidDifficultyID()

void Player::SetRaidDifficultyID ( Difficulty  raid_difficulty)
inline

Definition at line 2016 of file Player.h.

+ Here is the caller graph for this function:

◆ SetRandomWinner()

void Player::SetRandomWinner ( bool  isWinner)

Definition at line 28999 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetRecentInstance()

void Player::SetRecentInstance ( uint32  mapId,
uint32  instanceId 
)
inline

Definition at line 2579 of file Player.h.

+ Here is the caller graph for this function:

◆ setRegenTimerCount()

void Player::setRegenTimerCount ( uint32  time)
inline

Definition at line 1735 of file Player.h.

+ Here is the caller graph for this function:

◆ SetRegularAttackTime()

void Player::SetRegularAttackTime ( )

Definition at line 5514 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetReputation()

void Player::SetReputation ( uint32  factionentry,
int32  value 
)

Definition at line 28557 of file Player.cpp.

+ Here is the call graph for this function:

◆ SetRequiredMountCapabilityFlag()

void Player::SetRequiredMountCapabilityFlag ( uint8  flag)
inline

Definition at line 2847 of file Player.h.

+ Here is the caller graph for this function:

◆ SetRestState()

void Player::SetRestState ( RestTypes  type,
PlayerRestState  state 
)
inline

Definition at line 2718 of file Player.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetRestThreshold()

void Player::SetRestThreshold ( RestTypes  type,
uint32  threshold 
)
inline

Definition at line 2725 of file Player.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetResurrectRequestData()

void Player::SetResurrectRequestData ( WorldObject const *  caster,
uint32  health,
uint32  mana,
uint32  appliedAura 
)

Definition at line 23402 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetRewardedQuest()

void Player::SetRewardedQuest ( uint32  quest_id)

Definition at line 15437 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetRuneCooldown()

void Player::SetRuneCooldown ( uint8  index,
uint32  cooldown 
)

Definition at line 26335 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetSaveTimer()

void Player::SetSaveTimer ( uint32  timer)
inline

Definition at line 2489 of file Player.h.

◆ SetSeasonalQuestStatus()

void Player::SetSeasonalQuestStatus ( uint32  quest_id)

Definition at line 24836 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetSeer()

void Player::SetSeer ( WorldObject target)
inline

Definition at line 2482 of file Player.h.

+ Here is the caller graph for this function:

◆ SetSelection()

void Player::SetSelection ( ObjectGuid const &  guid)
inline

Used for serverside target changes, does not apply to players.

Definition at line 1754 of file Player.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetSemaphoreTeleportFar()

void Player::SetSemaphoreTeleportFar ( bool  semphsetting)
inline

Definition at line 2224 of file Player.h.

+ Here is the caller graph for this function:

◆ SetSemaphoreTeleportNear()

void Player::SetSemaphoreTeleportNear ( bool  semphsetting)
inline

Definition at line 2223 of file Player.h.

+ Here is the caller graph for this function:

◆ SetSkill()

void Player::SetSkill ( uint32  id,
uint16  step,
uint16  newVal,
uint16  maxVal 
)

Definition at line 5786 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetSkillLineId()

void Player::SetSkillLineId ( uint32  pos,
uint16  skillLineId 
)
inline

Definition at line 2208 of file Player.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetSkillMaxRank()

void Player::SetSkillMaxRank ( uint32  pos,
uint16  max 
)
inline

Definition at line 2212 of file Player.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetSkillPermBonus()

void Player::SetSkillPermBonus ( uint32  pos,
uint16  bonus 
)
inline

Definition at line 2214 of file Player.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetSkillRank()

void Player::SetSkillRank ( uint32  pos,
uint16  rank 
)
inline

Definition at line 2210 of file Player.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetSkillStartingRank()

void Player::SetSkillStartingRank ( uint32  pos,
uint16  starting 
)
inline

Definition at line 2211 of file Player.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetSkillStep()

void Player::SetSkillStep ( uint32  pos,
uint16  step 
)
inline

Definition at line 2209 of file Player.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetSkillTempBonus()

void Player::SetSkillTempBonus ( uint32  pos,
uint16  bonus 
)
inline

Definition at line 2213 of file Player.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetSpellFavorite()

void Player::SetSpellFavorite ( uint32  spellId,
bool  favorite 
)

Definition at line 3468 of file Player.cpp.

+ Here is the caller graph for this function:

◆ SetSpellModTakingSpell()

void Player::SetSpellModTakingSpell ( Spell spell,
bool  apply 
)

Definition at line 22381 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetStableMaster()

void Player::SetStableMaster ( ObjectGuid  stableMaster)

Definition at line 28842 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetSummonedBattlePetGUID()

void Player::SetSummonedBattlePetGUID ( ObjectGuid  guid)
inline

Definition at line 2821 of file Player.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetTalentResetCost()

void Player::SetTalentResetCost ( uint32  cost)
inline

Definition at line 1838 of file Player.h.

+ Here is the caller graph for this function:

◆ SetTalentResetTime()

void Player::SetTalentResetTime ( time_t  time_)
inline

Definition at line 1840 of file Player.h.

+ Here is the caller graph for this function:

◆ SetTarget()

void Player::SetTarget ( ObjectGuid const &  )
inlineoverridevirtual

Implements Unit.

Definition at line 1753 of file Player.h.

◆ SetTaxiCheater()

void Player::SetTaxiCheater ( bool  on)
inline

Definition at line 1185 of file Player.h.

+ Here is the caller graph for this function:

◆ SetTemporaryUnsummonedPetNumber()

void Player::SetTemporaryUnsummonedPetNumber ( uint32  petnumber)
inline

Definition at line 2544 of file Player.h.

+ Here is the caller graph for this function:

◆ SetTitle()

void Player::SetTitle ( CharTitlesEntry const *  title,
bool  lost = false 
)

Definition at line 26283 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetTrackCreatureFlag()

void Player::SetTrackCreatureFlag ( uint32  flags)
inline

Definition at line 2823 of file Player.h.

+ Here is the caller graph for this function:

◆ SetTraitConfigUseSharedActionBars()

void Player::SetTraitConfigUseSharedActionBars ( int32  traitConfigId,
bool  usesSharedActionBars,
bool  isLastSelectedSavedConfig 
)

Definition at line 28511 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetTraitConfigUseStarterBuild()

void Player::SetTraitConfigUseStarterBuild ( int32  traitConfigId,
bool  useStarterBuild 
)

Definition at line 28484 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetTransportServerTime()

void Player::SetTransportServerTime ( int32  transportServerTime)
inline

Definition at line 2845 of file Player.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetVersatilityBonus()

void Player::SetVersatilityBonus ( float  value)
inline

Definition at line 2826 of file Player.h.

◆ SetViewpoint()

void Player::SetViewpoint ( WorldObject target,
bool  apply 
)

Definition at line 26139 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetVirtualPlayerRealm()

void Player::SetVirtualPlayerRealm ( uint32  virtualRealmAddress)
inline

Definition at line 2780 of file Player.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetVisibleItemSlot()

void Player::SetVisibleItemSlot ( uint8  slot,
Item pItem 
)

Definition at line 11995 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetWarModeDesired()

void Player::SetWarModeDesired ( bool  enabled)

Definition at line 30024 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetWarModeLocal()

void Player::SetWarModeLocal ( bool  enabled)

Definition at line 30052 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetWatchedFactionIndex()

void Player::SetWatchedFactionIndex ( int32  index)
inline

Definition at line 2840 of file Player.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setWeaponChangeTimer()

void Player::setWeaponChangeTimer ( uint32  time)
inline

Definition at line 1736 of file Player.h.

◆ SetWeeklyQuestStatus()

void Player::SetWeeklyQuestStatus ( uint32  quest_id)

Definition at line 24830 of file Player.cpp.

+ Here is the caller graph for this function:

◆ SetXP()

void Player::SetXP ( uint32  xp)

Definition at line 2197 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SkipQuests()

void Player::SkipQuests ( std::vector< uint32 > const &  questIds)

Definition at line 16315 of file Player.cpp.

+ Here is the call graph for this function:

◆ SpawnCorpseBones()

void Player::SpawnCorpseBones ( bool  triggerSave = true)

Definition at line 4598 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SplitItem()

void Player::SplitItem ( uint16  src,
uint16  dst,
uint32  count 
)

If trading

If current item is in trade window (only possible with packet spoofing - silent return)

Definition at line 12647 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ StartCriteria()

void Player::StartCriteria ( CriteriaStartEvent  startEvent,
uint32  entry,
Milliseconds  timeLost = Milliseconds::zero() 
)

Definition at line 26756 of file Player.cpp.

+ Here is the caller graph for this function:

◆ StartLoadingActionButtons()

void Player::StartLoadingActionButtons ( std::function< void()> &&  callback = nullptr)

Definition at line 28144 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ StopCastingBindSight()

void Player::StopCastingBindSight ( ) const

Definition at line 26129 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ StopCastingCharm()

void Player::StopCastingCharm ( )

Definition at line 21677 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ StopMirrorTimer()

void Player::StopMirrorTimer ( MirrorTimerType  Type)
protected

Definition at line 622 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ StopMirrorTimers()

void Player::StopMirrorTimers ( )

Definition at line 724 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ StoreItem()

Item * Player::StoreItem ( ItemPosCountVec const &  pos,
Item pItem,
bool  update 
)

Definition at line 11612 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ StoreLootItem()

void Player::StoreLootItem ( ObjectGuid  lootWorldObjectGuid,
uint8  lootSlot,
Loot loot,
AELootResult aeResult = nullptr 
)

Definition at line 26403 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ StoreNewItem()

Item * Player::StoreNewItem ( ItemPosCountVec const &  pos,
uint32  itemId,
bool  update,
ItemRandomBonusListId  randomBonusListId = 0,
GuidSet const &  allowedLooters = GuidSet(),
ItemContext  context = ItemContext::NONE,
std::vector< int32 > const *  bonusListIDs = nullptr,
bool  addToCollection = true 
)

Definition at line 11537 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ StoreNewItemInBestSlots()

bool Player::StoreNewItemInBestSlots ( uint32  itemId,
uint32  amount,
ItemContext  context 
)

Definition at line 573 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SummonIfPossible()

void Player::SummonIfPossible ( bool  agree)

Definition at line 25337 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SummonPet()

Pet * Player::SummonPet ( uint32  entry,
Optional< PetSaveMode slot,
float  x,
float  y,
float  z,
float  ang,
uint32  despwtime,
bool *  isNew = nullptr 
)

Definition at line 29444 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SwapItem()

void Player::SwapItem ( uint16  src,
uint16  dst 
)

Definition at line 12763 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SwapVoidStorageItem()

bool Player::SwapVoidStorageItem ( uint8  oldSlot,
uint8  newSlot 
)

Definition at line 29182 of file Player.cpp.

+ Here is the caller graph for this function:

◆ TakeQuestSourceItem()

bool Player::TakeQuestSourceItem ( uint32  questId,
bool  msg 
)

Definition at line 15999 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ TalkedToCreature()

void Player::TalkedToCreature ( uint32  entry,
ObjectGuid  guid 
)

Definition at line 16709 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ TeamForRace()

Team Player::TeamForRace ( uint8  race)
static

Definition at line 6454 of file Player.cpp.

+ Here is the caller graph for this function:

◆ TeamIdForRace()

TeamId Player::TeamIdForRace ( uint8  race)
static

Definition at line 6471 of file Player.cpp.

+ Here is the caller graph for this function:

◆ TeleportTo() [1/2]

bool Player::TeleportTo ( uint32  mapid,
float  x,
float  y,
float  z,
float  orientation,
TeleportToOptions  options = TELE_TO_NONE,
Optional< uint32 instanceId = {} 
)

Definition at line 1250 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ TeleportTo() [2/2]

bool Player::TeleportTo ( WorldLocation const &  loc,
TeleportToOptions  options = TELE_TO_NONE,
Optional< uint32 instanceId = {} 
)

Definition at line 1491 of file Player.cpp.

+ Here is the call graph for this function:

◆ TeleportToBGEntryPoint()

bool Player::TeleportToBGEntryPoint ( )

Definition at line 1496 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ TextEmote() [1/2]

void Player::TextEmote ( std::string_view  text,
WorldObject const *  = nullptr,
bool  = false 
)
overridevirtual

Outputs an universal text which is supposed to be an action.

Reimplemented from Unit.

Definition at line 21759 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ TextEmote() [2/2]

void Player::TextEmote ( uint32  textId,
WorldObject const *  target = nullptr,
bool  isBossEmote = false 
)
overridevirtual

Reimplemented from Unit.

Definition at line 21782 of file Player.cpp.

+ Here is the call graph for this function:

◆ ToggleAFK()

void Player::ToggleAFK ( )

Definition at line 1214 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ToggleDND()

void Player::ToggleDND ( )

Definition at line 1226 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ToggleMetaGemsActive()

void Player::ToggleMetaGemsActive ( uint8  exceptslot,
bool  apply 
)

Definition at line 23527 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ TogglePvpTalents()

void Player::TogglePvpTalents ( bool  enable)

Definition at line 27012 of file Player.cpp.

+ Here is the call graph for this function:

◆ TradeCancel()

void Player::TradeCancel ( bool  sendback)

Definition at line 13376 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ UninviteFromGroup()

void Player::UninviteFromGroup ( )
  • If the player is invited, remove him. If the group if then only 1 person, disband the group.

Definition at line 2166 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ UnlockReagentBank()

void Player::UnlockReagentBank ( )
inline

Definition at line 2706 of file Player.h.

+ Here is the caller graph for this function:

◆ UnlockVoidStorage()

void Player::UnlockVoidStorage ( )
inline

Definition at line 2694 of file Player.h.

+ Here is the caller graph for this function:

◆ UnsummonBattlePetTemporaryIfAny()

void Player::UnsummonBattlePetTemporaryIfAny ( bool  onFlyingMount = false)

Definition at line 27199 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ UnsummonPetTemporaryIfAny()

void Player::UnsummonPetTemporaryIfAny ( )

Definition at line 27165 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ Update()

void Player::Update ( uint32  time)
overridevirtual

Reimplemented from Unit.

Definition at line 922 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ UpdateAfkReport()

void Player::UpdateAfkReport ( time_t  currTime)

checks the 15 afk reports per 5 minutes limit

Definition at line 21430 of file Player.cpp.

+ Here is the caller graph for this function:

◆ UpdateAllCritPercentages()

void Player::UpdateAllCritPercentages ( )

Definition at line 524 of file StatSystem.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ UpdateAllRatings()

void Player::UpdateAllRatings ( )

Definition at line 5508 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ UpdateAllRunesRegen()

void Player::UpdateAllRunesRegen ( )

Definition at line 840 of file StatSystem.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ UpdateAllStats()

bool Player::UpdateAllStats ( )
overridevirtual

Implements Unit.

Definition at line 197 of file StatSystem.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ UpdateAllWeaponDependentCritAuras()

void Player::UpdateAllWeaponDependentCritAuras ( )

Definition at line 8286 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ UpdateArea()

void Player::UpdateArea ( uint32  newArea)

Definition at line 7491 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ UpdateAreaDependentAuras()

void Player::UpdateAreaDependentAuras ( uint32  area_id)

Definition at line 25785 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ UpdateArmor()

void Player::UpdateArmor ( )
overridevirtual

Implements Unit.

Definition at line 249 of file StatSystem.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ UpdateArmorPenetration()

void Player::UpdateArmorPenetration ( int32  amount)

Definition at line 755 of file StatSystem.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ UpdateAttackPowerAndDamage()

void Player::UpdateAttackPowerAndDamage ( bool  ranged = false)
overridevirtual

Implements Unit.

Definition at line 343 of file StatSystem.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ UpdateAverageItemLevelEquipped()

void Player::UpdateAverageItemLevelEquipped ( )

Definition at line 30006 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ UpdateAverageItemLevelTotal()

void Player::UpdateAverageItemLevelTotal ( )

Definition at line 29949 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ UpdateBaseModGroup()

void Player::UpdateBaseModGroup ( BaseModGroup  modGroup)

Definition at line 5107 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ UpdateBlockPercentage()

void Player::UpdateBlockPercentage ( )

Definition at line 478 of file StatSystem.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ UpdateContestedPvP()

void Player::UpdateContestedPvP ( uint32  currTime)

Definition at line 21464 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ UpdateCorpseReclaimDelay()

void Player::UpdateCorpseReclaimDelay ( )

Definition at line 25822 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ UpdateCorruption()

void Player::UpdateCorruption ( )

Definition at line 728 of file StatSystem.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ UpdateCraftSkill()

bool Player::UpdateCraftSkill ( SpellInfo const *  spellInfo)

Definition at line 5541 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ UpdateCriteria()

void Player::UpdateCriteria ( CriteriaType  type,
uint64  miscValue1 = 0,
uint64  miscValue2 = 0,
uint64  miscValue3 = 0,
WorldObject ref = nullptr 
)

Definition at line 26767 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ UpdateCritPercentage()

void Player::UpdateCritPercentage ( WeaponAttackType  attType)

Definition at line 497 of file StatSystem.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ UpdateDamageDoneMods()

void Player::UpdateDamageDoneMods ( WeaponAttackType  attackType,
int32  skipEnchantSlot = -1 
)
overridevirtual

Reimplemented from Unit.

Definition at line 5052 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ UpdateDodgePercentage()

void Player::UpdateDodgePercentage ( )

Definition at line 696 of file StatSystem.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ UpdateDuelFlag()

void Player::UpdateDuelFlag ( time_t  currTime)

Definition at line 21499 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ UpdateEnchantTime()

void Player::UpdateEnchantTime ( uint32  time)

Definition at line 13437 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ UpdateEquipSpellsAtFormChange()

void Player::UpdateEquipSpellsAtFormChange ( )

Definition at line 8394 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ UpdateExpertise()

void Player::UpdateExpertise ( WeaponAttackType  attType)

Definition at line 777 of file StatSystem.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ UpdateFallInformationIfNeed()

void Player::UpdateFallInformationIfNeed ( MovementInfo const &  minfo,
uint16  opcode 
)

Definition at line 27116 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ UpdateFishingSkill()

bool Player::UpdateFishingSkill ( int32  expansion)

Definition at line 5634 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ UpdateGatherSkill()

bool Player::UpdateGatherSkill ( uint32  skillId,
uint32  skillValue,
uint32  redLevel,
uint32  multiplicator = 1,
WorldObject const *  object = nullptr 
)

Definition at line 5576 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ UpdateHealingDonePercentMod()

void Player::UpdateHealingDonePercentMod ( )

Definition at line 583 of file StatSystem.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ UpdateHomebindTime()

void Player::UpdateHomebindTime ( uint32  time)

Definition at line 23278 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ UpdateHonorFields()

void Player::UpdateHonorFields ( )

called when rewarding honor and at each save

Definition at line 6695 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ UpdateHonorNextLevel()

void Player::UpdateHonorNextLevel ( )

Definition at line 6957 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ UpdateHostileAreaState()

void Player::UpdateHostileAreaState ( AreaTableEntry const *  area)

Definition at line 7649 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ UpdateItemDuration()

void Player::UpdateItemDuration ( uint32  time,
bool  realtimeonly = false 
)

Definition at line 13419 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ UpdateItemLevelAreaBasedScaling()

void Player::UpdateItemLevelAreaBasedScaling ( )

Definition at line 29861 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ UpdateItemSetAuras()

void Player::UpdateItemSetAuras ( bool  formChange = false)

Definition at line 8408 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ UpdateLocalChannels()

void Player::UpdateLocalChannels ( uint32  newZone)

Definition at line 4926 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ UpdateManaRegen()

void Player::UpdateManaRegen ( )

Definition at line 817 of file StatSystem.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ UpdateMastery()

void Player::UpdateMastery ( )

Definition at line 537 of file StatSystem.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ UpdateMaxHealth()

void Player::UpdateMaxHealth ( )
overridevirtual

Implements Unit.

Definition at line 310 of file StatSystem.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ UpdateMaxPower()

void Player::UpdateMaxPower ( Powers  power)
overridevirtual

Implements Unit.

Definition at line 327 of file StatSystem.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ UpdateMeleeHitChances()

void Player::UpdateMeleeHitChances ( )

Definition at line 761 of file StatSystem.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ UpdateMirrorTimers()

void Player::UpdateMirrorTimers ( )

Definition at line 717 of file Player.cpp.

+ Here is the caller graph for this function:

◆ UpdateNextMailTimeAndUnreads()

void Player::UpdateNextMailTimeAndUnreads ( )

Definition at line 2648 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ UpdateObjectVisibility()

void Player::UpdateObjectVisibility ( bool  forced = true)
overridevirtual

Reimplemented from WorldObject.

Definition at line 24070 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ UpdateParryPercentage()

void Player::UpdateParryPercentage ( )

Definition at line 655 of file StatSystem.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ UpdatePosition() [1/2]

bool Player::UpdatePosition ( float  x,
float  y,
float  z,
float  orientation,
bool  teleport = false 
)
overridevirtual

Reimplemented from Unit.

Definition at line 6273 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ UpdatePosition() [2/2]

bool Player::UpdatePosition ( Position const &  pos,
bool  teleport = false 
)
inlineoverridevirtual

Reimplemented from Unit.

Definition at line 2146 of file Player.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ UpdatePotionCooldown()

void Player::UpdatePotionCooldown ( Spell spell = nullptr)

Definition at line 23374 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ UpdatePvP()

void Player::UpdatePvP ( bool  state,
bool  override = false 
)

Definition at line 23360 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ UpdatePvPFlag()

void Player::UpdatePvPFlag ( time_t  currTime)

Definition at line 21482 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ UpdatePvPState()

void Player::UpdatePvPState ( bool  onlyFFA = false)
Todo:
should we always synchronize UNIT_FIELD_BYTES_2, 1 of controller and controlled?

Definition at line 23317 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ UpdateQuestObjectiveProgress()

void Player::UpdateQuestObjectiveProgress ( QuestObjectiveType  objectiveType,
int32  objectId,
int64  addCount,
ObjectGuid  victimGuid = ObjectGuid::Empty,
std::vector< QuestObjective const * > *  updatedObjectives = nullptr,
std::function< bool(QuestObjective const *)> const *  objectiveFilter = nullptr 
)

Definition at line 16738 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ UpdateRangedHitChances()

void Player::UpdateRangedHitChances ( )

Definition at line 766 of file StatSystem.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ UpdateRating()

void Player::UpdateRating ( CombatRating  cr)

Definition at line 5368 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ UpdateResistances()

void Player::UpdateResistances ( uint32  school)
overridevirtual

Reimplemented from Unit.

Definition at line 235 of file StatSystem.cpp.

+ Here is the call graph for this function:

◆ UpdateSkillEnchantments()

void Player::UpdateSkillEnchantments ( uint16  skill_id,
uint16  curr_value,
uint16  new_value 
)

Definition at line 13933 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ UpdateSkillPro()

bool Player::UpdateSkillPro ( uint16  skillId,
int32  chance,
uint32  step 
)

Definition at line 5661 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ UpdateSkillsForLevel()

void Player::UpdateSkillsForLevel ( )

Definition at line 5738 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ UpdateSoulboundTradeItems()

void Player::UpdateSoulboundTradeItems ( )

Definition at line 13396 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ UpdateSpeakTime()

void Player::UpdateSpeakTime ( ChatFloodThrottle::Index  index)

Definition at line 21230 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ UpdateSpellCritChance()

void Player::UpdateSpellCritChance ( )

Definition at line 714 of file StatSystem.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ UpdateSpellDamageAndHealingBonus()

void Player::UpdateSpellDamageAndHealingBonus ( )

Definition at line 169 of file StatSystem.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ UpdateSpellHitChances()

void Player::UpdateSpellHitChances ( )

Definition at line 771 of file StatSystem.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ UpdateStats()

bool Player::UpdateStats ( Stats  stat)
overridevirtual

Implements Unit.

Definition at line 106 of file StatSystem.cpp.

+ Here is the call graph for this function:

◆ UpdateTraitConfig()

void Player::UpdateTraitConfig ( WorldPackets::Traits::TraitConfig &&  newConfig,
int32  savedConfigId,
bool  withCastTime 
)

Definition at line 28256 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ UpdateTriggerVisibility()

void Player::UpdateTriggerVisibility ( )

Definition at line 23953 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ UpdateVersatilityDamageDone()

void Player::UpdateVersatilityDamageDone ( )

Definition at line 572 of file StatSystem.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ UpdateVisibilityForPlayer()

void Player::UpdateVisibilityForPlayer ( )

Definition at line 24085 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ UpdateVisibilityOf() [1/3]

template<class T >
void Player::UpdateVisibilityOf ( T *  target,
UpdateData data,
std::set< WorldObject * > &  visibleNow 
)

Definition at line 24026 of file Player.cpp.

+ Here is the call graph for this function:

◆ UpdateVisibilityOf() [2/3]

void Player::UpdateVisibilityOf ( Trinity::IteratorPair< WorldObject ** >  targets)

Definition at line 23847 of file Player.cpp.

+ Here is the call graph for this function:

◆ UpdateVisibilityOf() [3/3]

void Player::UpdateVisibilityOf ( WorldObject target)

Definition at line 23902 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ UpdateVisibleObjectInteractions()

void Player::UpdateVisibleObjectInteractions ( bool  allUnits,
bool  onlySpellClicks,
bool  gameObjectQuestGiverStatus,
bool  questObjectiveGameObjects 
)

Definition at line 25205 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ UpdateWarModeAuras()

void Player::UpdateWarModeAuras ( )

Definition at line 30081 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ UpdateWeaponDependentAuras()

void Player::UpdateWeaponDependentAuras ( WeaponAttackType  attackType)

Definition at line 8292 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ UpdateWeaponDependentCritAuras()

void Player::UpdateWeaponDependentCritAuras ( WeaponAttackType  attackType)

Definition at line 8255 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ UpdateZone()

void Player::UpdateZone ( uint32  newZone,
uint32  newArea 
)

Definition at line 7549 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ UpdateZoneDependentAuras()

void Player::UpdateZoneDependentAuras ( uint32  zone_id)

Definition at line 25775 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ValidateMovementInfo()

void Player::ValidateMovementInfo ( MovementInfo mi)

Anti-cheat checks. Please keep them in seperate if () blocks to maintain a clear overview. Might be subject to latency, so just remove improper flags.

This must be a packet spoofing attempt. MOVEMENTFLAG_ROOT sent from the client is not valid in conjunction with any of the moving movement flags such as MOVEMENTFLAG_FORWARD. It will freeze clients that receive this player's movement info.

Cannot hover without SPELL_AURA_HOVER

Cannot ascend and descend at the same time

Cannot move left and right at the same time

Cannot strafe left and right at the same time

Cannot pitch up and down at the same time

Cannot move forwards and backwards at the same time

Cannot walk on water without SPELL_AURA_WATER_WALK except for ghosts

Cannot feather fall without SPELL_AURA_FEATHER_FALL

Cannot fly if no fly auras present. Exception is being a GM. Note that we check for account level instead of Player::IsGameMaster() because in some situations it may be feasable to use .gm fly on as a GM without having .gm on, e.g. aerial combat.

Definition at line 29539 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ VehicleSpellInitialize()

void Player::VehicleSpellInitialize ( )

Definition at line 21944 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ VisualizeItem()

void Player::VisualizeItem ( uint8  slot,
Item pItem 
)

Definition at line 12014 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ Whisper() [1/2]

void Player::Whisper ( std::string_view  text,
Language  language,
Player receiver,
bool  = false 
)
overridevirtual

Handles whispers from Addons and players based on sender, receiver's guid and language.

Reimplemented from Unit.

Definition at line 21787 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ Whisper() [2/2]

void Player::Whisper ( uint32  textId,
Player target,
bool  isBossWhisper = false 
)
overridevirtual

Reimplemented from Unit.

Definition at line 21823 of file Player.cpp.

+ Here is the call graph for this function:

◆ WhisperAddon()

void Player::WhisperAddon ( std::string const &  text,
std::string const &  prefix,
bool  isLogged,
Player receiver 
)

Definition at line 21769 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ Yell() [1/2]

void Player::Yell ( std::string_view  text,
Language  language,
WorldObject const *  = nullptr 
)
overridevirtual

Handles yelled message in regular chat based on declared language and in config pre-defined Range.

Reimplemented from Unit.

Definition at line 21746 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ Yell() [2/2]

void Player::Yell ( uint32  textId,
WorldObject const *  target = nullptr 
)
overridevirtual

Reimplemented from Unit.

Definition at line 21754 of file Player.cpp.

+ Here is the call graph for this function:

Friends And Related Function Documentation

◆ AddItemToUpdateQueueOf

void AddItemToUpdateQueueOf ( Item item,
Player player 
)
friend

Definition at line 1197 of file Item.cpp.

◆ CinematicMgr

friend class CinematicMgr
friend

Definition at line 1111 of file Player.h.

◆ RemoveItemFromUpdateQueueOf

void RemoveItemFromUpdateQueueOf ( Item item,
Player player 
)
friend

Definition at line 1218 of file Item.cpp.

◆ RestMgr

friend class RestMgr
friend

Definition at line 1112 of file Player.h.

◆ WorldSession

friend class WorldSession
friend

Definition at line 1110 of file Player.h.

Member Data Documentation

◆ _activeCheats

uint32 Player::_activeCheats
private

Definition at line 3204 of file Player.h.

◆ _advancedCombatLoggingEnabled

bool Player::_advancedCombatLoggingEnabled
private

Definition at line 3208 of file Player.h.

◆ _areaSpiritHealerGUID

ObjectGuid Player::_areaSpiritHealerGUID
private

Definition at line 3225 of file Player.h.

◆ _cinematicMgr

std::unique_ptr<CinematicMgr> Player::_cinematicMgr
private

Definition at line 3149 of file Player.h.

◆ _corpseLocation

WorldLocation Player::_corpseLocation
private

Definition at line 3214 of file Player.h.

◆ _CUFProfiles

std::array<std::unique_ptr<CUFProfile>, MAX_CUF_PROFILES> Player::_CUFProfiles
protected

Definition at line 3137 of file Player.h.

◆ _currencyStorage

PlayerCurrenciesMap Player::_currencyStorage
protected

Definition at line 3018 of file Player.h.

◆ _equipmentSets

EquipmentSetContainer Player::_equipmentSets
protected

Definition at line 3128 of file Player.h.

◆ _garrison

std::unique_ptr<Garrison> Player::_garrison
private

Definition at line 3206 of file Player.h.

◆ _instanceResetTimes

InstanceTimeMap Player::_instanceResetTimes
private

Definition at line 3200 of file Player.h.

◆ _pendingBindId

uint32 Player::_pendingBindId
private

Definition at line 3201 of file Player.h.

◆ _pendingBindTimer

uint32 Player::_pendingBindTimer
private

Definition at line 3202 of file Player.h.

◆ _pendingSpellCastRequest

std::unique_ptr<SpellCastRequest> Player::_pendingSpellCastRequest
private

Definition at line 3235 of file Player.h.

◆ _restMgr

std::unique_ptr<RestMgr> Player::_restMgr
private

Definition at line 3222 of file Player.h.

◆ _resurrectionData

std::unique_ptr<ResurrectionData> Player::_resurrectionData
protected

Definition at line 3065 of file Player.h.

◆ _specializationInfo

SpecializationInfo Player::_specializationInfo
protected

Definition at line 3045 of file Player.h.

◆ _usePvpItemLevels

bool Player::_usePvpItemLevels
private

Definition at line 3224 of file Player.h.

◆ _voidStorageItems

VoidStorageItem* Player::_voidStorageItems[VOID_STORAGE_MAX_SLOT]
protected

Definition at line 3020 of file Player.h.

◆ autoReplyMsg

std::string Player::autoReplyMsg

Definition at line 1159 of file Player.h.

◆ duel

std::unique_ptr<DuelInfo> Player::duel
Todo:
: maybe move UpdateDuelFlag+DuelComplete to independent DuelHandler

Definition at line 1972 of file Player.h.

◆ healthBeforeDuel

uint64 Player::healthBeforeDuel
private

Definition at line 3211 of file Player.h.

◆ isDebugAreaTriggers

bool Player::isDebugAreaTriggers

Definition at line 2675 of file Player.h.

◆ ItemSetEff

std::vector<ItemSetEffect*> Player::ItemSetEff

Definition at line 2381 of file Player.h.

◆ m_achievementMgr

std::unique_ptr<PlayerAchievementMgr> Player::m_achievementMgr
private

Definition at line 3194 of file Player.h.

◆ m_actionButtons

ActionButtonList Player::m_actionButtons
protected

Definition at line 3049 of file Player.h.

◆ m_activePlayerData

Definition at line 2864 of file Player.h.

◆ m_AELootView

std::unordered_map<ObjectGuid , Loot*> Player::m_AELootView
private

Definition at line 3218 of file Player.h.

◆ m_areaUpdateId

uint32 Player::m_areaUpdateId
protected

Definition at line 3091 of file Player.h.

◆ m_ArenaTeamIdInvited

uint32 Player::m_ArenaTeamIdInvited
protected

Definition at line 3037 of file Player.h.

◆ m_ArmorProficiency

uint32 Player::m_ArmorProficiency
protected

Definition at line 3097 of file Player.h.

◆ m_atLoginFlags

uint32 Player::m_atLoginFlags
protected

Definition at line 3013 of file Player.h.

◆ m_auraBaseFlatMod

std::array<float, BASEMOD_END> Player::m_auraBaseFlatMod
protected

Definition at line 3051 of file Player.h.

◆ m_auraBasePctMod

std::array<float, BASEMOD_END> Player::m_auraBasePctMod
protected

Definition at line 3052 of file Player.h.

◆ m_baseHealthRegen

uint32 Player::m_baseHealthRegen
protected

Definition at line 3056 of file Player.h.

◆ m_baseManaRegen

uint32 Player::m_baseManaRegen
protected

Definition at line 3055 of file Player.h.

◆ m_baseRatingValue

std::array<int16, MAX_COMBAT_RATING> Player::m_baseRatingValue
protected

Definition at line 3053 of file Player.h.

◆ m_baseSpellPower

uint32 Player::m_baseSpellPower
protected

Definition at line 3054 of file Player.h.

◆ m_bCanDelayTeleport

bool Player::m_bCanDelayTeleport
private

Definition at line 3183 of file Player.h.

◆ m_bgBattlegroundQueueID

BgBattlegroundQueueID_Rec Player::m_bgBattlegroundQueueID[PLAYER_MAX_BATTLEGROUND_QUEUES]
protected

Definition at line 2896 of file Player.h.

◆ m_bgData

BGData Player::m_bgData
protected

Definition at line 2897 of file Player.h.

◆ m_bHasDelayedTeleport

bool Player::m_bHasDelayedTeleport
private

Definition at line 3184 of file Player.h.

◆ m_bPassOnGroupLoot

bool Player::m_bPassOnGroupLoot
protected

Definition at line 3112 of file Player.h.

◆ m_canBlock

bool Player::m_canBlock
protected

Definition at line 3099 of file Player.h.

◆ m_canParry

bool Player::m_canParry
protected

Definition at line 3098 of file Player.h.

◆ m_canTitanGrip

bool Player::m_canTitanGrip
protected

Definition at line 3100 of file Player.h.

◆ m_ChampioningFaction

uint32 Player::m_ChampioningFaction
private

Definition at line 3198 of file Player.h.

◆ m_channels

JoinedChannelsList Player::m_channels
protected

Definition at line 3069 of file Player.h.

◆ m_chatFloodData

std::array<ChatFloodThrottle, ChatFloodThrottle::MAX> Player::m_chatFloodData
protected

Definition at line 3008 of file Player.h.

◆ m_cinematic

uint8 Player::m_cinematic
protected

Definition at line 3073 of file Player.h.

◆ m_clientGUIDs

GuidUnorderedSet Player::m_clientGUIDs

Definition at line 2509 of file Player.h.

◆ m_contestedPvPTimer

uint32 Player::m_contestedPvPTimer
protected

Definition at line 2879 of file Player.h.

◆ m_createMode

PlayerCreateMode Player::m_createMode
protected

Definition at line 3072 of file Player.h.

◆ m_createTime

time_t Player::m_createTime
protected

Definition at line 3071 of file Player.h.

◆ m_currentBuybackSlot

uint32 Player::m_currentBuybackSlot
protected

Definition at line 3016 of file Player.h.

◆ m_customizationsChanged

bool Player::m_customizationsChanged
protected

Definition at line 3007 of file Player.h.

◆ m_DailyQuestChanged

bool Player::m_DailyQuestChanged
protected

Definition at line 3079 of file Player.h.

◆ m_deathExpireTime

time_t Player::m_deathExpireTime
protected

Definition at line 3094 of file Player.h.

◆ m_deathTimer

uint32 Player::m_deathTimer
protected

Definition at line 3093 of file Player.h.

◆ m_DelayedOperations

uint32 Player::m_DelayedOperations
private

Definition at line 3182 of file Player.h.

◆ m_DFQuests

DFQuestsDoneList Player::m_DFQuests

Definition at line 2540 of file Player.h.

◆ m_drunkTimer

uint32 Player::m_drunkTimer
protected

Definition at line 3086 of file Player.h.

◆ m_dungeonDifficulty

Difficulty Player::m_dungeonDifficulty
protected

Definition at line 3009 of file Player.h.

◆ m_enchantDuration

EnchantDurationList Player::m_enchantDuration
protected

Definition at line 3061 of file Player.h.

◆ m_ExtraFlags

uint32 Player::m_ExtraFlags
protected

Definition at line 3025 of file Player.h.

◆ m_fishingSteps

uint8 Player::m_fishingSteps
protected

Definition at line 3135 of file Player.h.

◆ m_foodEmoteTimerCount

uint32 Player::m_foodEmoteTimerCount
protected

Definition at line 2877 of file Player.h.

◆ m_forced_speed_changes

std::array<uint8, MAX_MOVE_TYPE> Player::m_forced_speed_changes

Definition at line 2529 of file Player.h.

◆ m_group

GroupReference Player::m_group
protected

Definition at line 3108 of file Player.h.

◆ m_groupInvite

Group* Player::m_groupInvite
protected

Definition at line 3110 of file Player.h.

◆ m_groupUpdateMask

uint32 Player::m_groupUpdateMask
protected

Definition at line 3111 of file Player.h.

◆ m_groupUpdateSequences

std::array<GroupUpdateCounter, 2> Player::m_groupUpdateSequences
protected

Definition at line 3113 of file Player.h.

◆ m_groupUpdateTimer

TimeTracker Player::m_groupUpdateTimer
protected

Definition at line 3139 of file Player.h.

◆ m_GuildIdInvited

ObjectGuid::LowType Player::m_GuildIdInvited
protected

Definition at line 3036 of file Player.h.

◆ m_homebind

WorldLocation Player::m_homebind

Definition at line 2503 of file Player.h.

◆ m_homebindAreaId

uint16 Player::m_homebindAreaId

Definition at line 2504 of file Player.h.

◆ m_HomebindTimer

uint32 Player::m_HomebindTimer

Definition at line 2570 of file Player.h.

◆ m_hostileReferenceCheckTimer

uint32 Player::m_hostileReferenceCheckTimer
protected

Definition at line 3085 of file Player.h.

◆ m_ingametime

uint32 Player::m_ingametime
protected

Definition at line 2918 of file Player.h.

◆ m_InstanceValid

bool Player::m_InstanceValid

Definition at line 2571 of file Player.h.

◆ m_IsBGRandomWinner

bool Player::m_IsBGRandomWinner
protected

Definition at line 2899 of file Player.h.

◆ m_itemDuration

ItemDurationList Player::m_itemDuration
protected

Definition at line 3062 of file Player.h.

◆ m_items

Item* Player::m_items[PLAYER_SLOTS_COUNT]
protected

Definition at line 3015 of file Player.h.

◆ m_itemSoulboundTradeable

GuidUnorderedSet Player::m_itemSoulboundTradeable
protected

Definition at line 3063 of file Player.h.

◆ m_itemUpdateQueue

std::vector<Item*> Player::m_itemUpdateQueue
protected

Definition at line 3022 of file Player.h.

◆ m_itemUpdateQueueBlocked

bool Player::m_itemUpdateQueueBlocked
protected

Definition at line 3023 of file Player.h.

◆ m_Last_tick

time_t Player::m_Last_tick

Definition at line 1212 of file Player.h.

◆ m_lastDailyQuestTime

time_t Player::m_lastDailyQuestTime
protected

Definition at line 3083 of file Player.h.

◆ m_lastFallTime

uint32 Player::m_lastFallTime
private

Definition at line 3168 of file Player.h.

◆ m_lastFallZ

float Player::m_lastFallZ
private

Definition at line 3169 of file Player.h.

◆ m_lastHonorUpdateTime

time_t Player::m_lastHonorUpdateTime
protected

Definition at line 3001 of file Player.h.

◆ m_lastpetnumber

uint32 Player::m_lastpetnumber
protected

Definition at line 3116 of file Player.h.

◆ m_lastPotionId

uint32 Player::m_lastPotionId
protected

Definition at line 3042 of file Player.h.

◆ m_legacyRaidDifficulty

Difficulty Player::m_legacyRaidDifficulty
protected

Definition at line 3011 of file Player.h.

◆ m_logintime

time_t Player::m_logintime

Definition at line 1211 of file Player.h.

◆ m_lootRolls

std::vector<LootRoll*> Player::m_lootRolls
private

Definition at line 3219 of file Player.h.

◆ m_mail

PlayerMails Player::m_mail
protected

Definition at line 3039 of file Player.h.

◆ m_mailsUpdated

bool Player::m_mailsUpdated

Definition at line 1727 of file Player.h.

◆ m_mapRef

MapReference Player::m_mapRef
private

Definition at line 3166 of file Player.h.

◆ m_MirrorTimer

std::array<int32, MAX_TIMERS> Player::m_MirrorTimer
private

Definition at line 3171 of file Player.h.

◆ m_MirrorTimerFlags

uint8 Player::m_MirrorTimerFlags
private

Definition at line 3172 of file Player.h.

◆ m_MirrorTimerFlagsLast

uint8 Player::m_MirrorTimerFlagsLast
private

Definition at line 3173 of file Player.h.

◆ m_MonthlyQuestChanged

bool Player::m_MonthlyQuestChanged
protected

Definition at line 3081 of file Player.h.

◆ m_monthlyquests

QuestSet Player::m_monthlyquests
protected

Definition at line 2913 of file Player.h.

◆ m_movementForceModMagnitudeChanges

uint8 Player::m_movementForceModMagnitudeChanges

Definition at line 2530 of file Player.h.

◆ m_movie

uint32 Player::m_movie
protected

Definition at line 3075 of file Player.h.

◆ m_nextMailDelivereTime

time_t Player::m_nextMailDelivereTime

Definition at line 1776 of file Player.h.

◆ m_nextSave

uint32 Player::m_nextSave
protected

Definition at line 3006 of file Player.h.

◆ m_oldpetspell

uint32 Player::m_oldpetspell
private

Definition at line 3191 of file Player.h.

◆ m_originalGroup

GroupReference Player::m_originalGroup
protected

Definition at line 3109 of file Player.h.

◆ m_overrideSpells

std::unordered_map<uint32 , std::unordered_set<uint32> > Player::m_overrideSpells
protected

Definition at line 3041 of file Player.h.

◆ m_petAuras

std::unordered_set<PetAura const*> Player::m_petAuras

Definition at line 1236 of file Player.h.

◆ m_petStable

std::unique_ptr<PetStable> Player::m_petStable
private

Definition at line 3186 of file Player.h.

◆ m_Played_time

std::array<uint32, MAX_PLAYED_TIME_INDEX> Player::m_Played_time

Definition at line 1213 of file Player.h.

◆ m_playerData

UF::UpdateField<UF::PlayerData, 0, TYPEID_PLAYER> Player::m_playerData

Definition at line 2863 of file Player.h.

◆ m_playerSharingQuest

ObjectGuid Player::m_playerSharingQuest
protected

Definition at line 2916 of file Player.h.

◆ m_powerFraction

std::array<float, MAX_POWERS_PER_CLASS> Player::m_powerFraction
protected

Definition at line 2878 of file Player.h.

◆ m_questObjectiveCriteriaMgr

std::unique_ptr<QuestObjectiveCriteriaMgr> Player::m_questObjectiveCriteriaMgr
private

Definition at line 3196 of file Player.h.

◆ m_questObjectiveStatus

QuestObjectiveStatusMap Player::m_questObjectiveStatus
protected

Definition at line 3028 of file Player.h.

◆ m_QuestStatus

QuestStatusMap Player::m_QuestStatus
protected

Definition at line 3027 of file Player.h.

◆ m_QuestStatusSave

QuestStatusSaveMap Player::m_QuestStatusSave
protected

Definition at line 3029 of file Player.h.

◆ m_raidDifficulty

Difficulty Player::m_raidDifficulty
protected

Definition at line 3010 of file Player.h.

◆ m_recall_instanceId

uint32 Player::m_recall_instanceId
protected

Definition at line 3125 of file Player.h.

◆ m_recall_location

WorldLocation Player::m_recall_location
protected

Definition at line 3124 of file Player.h.

◆ m_recentInstances

std::unordered_map<uint32 , uint32 > Player::m_recentInstances

Definition at line 2584 of file Player.h.

◆ m_refundableItems

GuidSet Player::m_refundableItems
private

Definition at line 3151 of file Player.h.

◆ m_regenInterruptTimestamp

TimePoint Player::m_regenInterruptTimestamp
protected

Definition at line 2875 of file Player.h.

◆ m_regenTimerCount

uint32 Player::m_regenTimerCount
protected

Definition at line 2876 of file Player.h.

◆ m_reputationMgr

std::unique_ptr<ReputationMgr> Player::m_reputationMgr
private

Definition at line 3195 of file Player.h.

◆ m_RewardedQuests

RewardedQuestSet Player::m_RewardedQuests
protected

Definition at line 3031 of file Player.h.

◆ m_RewardedQuestsSave

QuestStatusSaveMap Player::m_RewardedQuestsSave
protected

Definition at line 3032 of file Player.h.

◆ m_runes

std::unique_ptr<Runes> Player::m_runes
protected

Definition at line 3127 of file Player.h.

◆ m_sceneMgr

SceneMgr Player::m_sceneMgr
private

Definition at line 3216 of file Player.h.

◆ m_SeasonalQuestChanged

bool Player::m_SeasonalQuestChanged
protected

Definition at line 3082 of file Player.h.

◆ m_seasonalquests

SeasonalQuestMapByEvent Player::m_seasonalquests
protected

Definition at line 2914 of file Player.h.

◆ m_seer

WorldObject* Player::m_seer

Definition at line 2476 of file Player.h.

◆ m_session

WorldSession* Player::m_session
protected

Definition at line 3067 of file Player.h.

◆ m_sharedQuestId

uint32 Player::m_sharedQuestId
protected

Definition at line 2917 of file Player.h.

◆ m_social

PlayerSocial* Player::m_social
protected

Definition at line 3105 of file Player.h.

◆ m_spellMods

SpellModContainer Player::m_spellMods[MAX_SPELLMOD][SPELLMOD_END]
protected

Definition at line 3059 of file Player.h.

◆ m_spellModTakingSpell

Spell* Player::m_spellModTakingSpell

Definition at line 2672 of file Player.h.

◆ m_spellPenetrationItemMod

int32 Player::m_spellPenetrationItemMod
protected

Definition at line 3057 of file Player.h.

◆ m_spells

PlayerSpellMap Player::m_spells
protected

Definition at line 3040 of file Player.h.

◆ m_storedAuraTeleportLocations

std::unordered_map<uint32, StoredAuraTeleportLocation> Player::m_storedAuraTeleportLocations
protected

Definition at line 3043 of file Player.h.

◆ m_summon_expire

time_t Player::m_summon_expire
protected

Definition at line 3119 of file Player.h.

◆ m_summon_instanceId

uint32 Player::m_summon_instanceId
protected

Definition at line 3121 of file Player.h.

◆ m_summon_location

WorldLocation Player::m_summon_location
protected

Definition at line 3120 of file Player.h.

◆ m_swingErrorMsg

Optional<AttackSwingErr> Player::m_swingErrorMsg
protected

Definition at line 3102 of file Player.h.

◆ m_taxi

PlayerTaxi Player::m_taxi

Definition at line 1166 of file Player.h.

◆ m_team

Team Player::m_team
protected

Definition at line 3005 of file Player.h.

◆ m_teleport_dest

WorldLocation Player::m_teleport_dest
private

Definition at line 3176 of file Player.h.

◆ m_teleport_instanceId

Optional<uint32> Player::m_teleport_instanceId
private

Definition at line 3177 of file Player.h.

◆ m_teleport_options

TeleportToOptions Player::m_teleport_options
private

Definition at line 3178 of file Player.h.

◆ m_temporaryPetReactState

Optional<ReactStates> Player::m_temporaryPetReactState
private

Definition at line 3190 of file Player.h.

◆ m_temporaryUnsummonedBattlePet

ObjectGuid Player::m_temporaryUnsummonedBattlePet
private

Definition at line 3192 of file Player.h.

◆ m_temporaryUnsummonedPetNumber

uint32 Player::m_temporaryUnsummonedPetNumber
private

Definition at line 3189 of file Player.h.

◆ m_timedquests

QuestSet Player::m_timedquests
protected

Definition at line 2911 of file Player.h.

◆ m_titanGripPenaltySpellId

uint32 Player::m_titanGripPenaltySpellId
protected

Definition at line 3101 of file Player.h.

◆ m_trade

TradeData* Player::m_trade
protected

Definition at line 3077 of file Player.h.

◆ m_traitConfigStates

std::unordered_map<int32, PlayerSpellState> Player::m_traitConfigStates
protected

Definition at line 3047 of file Player.h.

◆ m_visibleTransports

GuidUnorderedSet Player::m_visibleTransports

Definition at line 2510 of file Player.h.

◆ m_weaponChangeTimer

uint32 Player::m_weaponChangeTimer
protected

Definition at line 3087 of file Player.h.

◆ m_WeaponProficiency

uint32 Player::m_WeaponProficiency
protected

Definition at line 3096 of file Player.h.

◆ m_WeeklyQuestChanged

bool Player::m_WeeklyQuestChanged
protected

Definition at line 3080 of file Player.h.

◆ m_weeklyquests

QuestSet Player::m_weeklyquests
protected

Definition at line 2912 of file Player.h.

◆ m_zoneUpdateId

uint32 Player::m_zoneUpdateId
protected

Definition at line 3089 of file Player.h.

◆ m_zoneUpdateTimer

uint32 Player::m_zoneUpdateTimer
protected

Definition at line 3090 of file Player.h.

◆ manaBeforeDuel

uint32 Player::manaBeforeDuel
private

Definition at line 3212 of file Player.h.

◆ mMitems

ItemMap Player::mMitems

Definition at line 1780 of file Player.h.

◆ mSemaphoreTeleport_Far

bool Player::mSemaphoreTeleport_Far
private

Definition at line 3180 of file Player.h.

◆ mSemaphoreTeleport_Near

bool Player::mSemaphoreTeleport_Near
private

Definition at line 3179 of file Player.h.

◆ mSkillStatus

SkillStatusMap Player::mSkillStatus
protected

Definition at line 3034 of file Player.h.

◆ PlayerTalkClass

std::unique_ptr<PlayerMenu> Player::PlayerTalkClass

Definition at line 2380 of file Player.h.

◆ pvpInfo

PvPInfo Player::pvpInfo

Definition at line 1953 of file Player.h.

◆ unReadMails

uint8 Player::unReadMails

Definition at line 1775 of file Player.h.

◆ WhisperList

GuidList Player::WhisperList
protected

Definition at line 2874 of file Player.h.


The documentation for this class was generated from the following files: