TrinityCore
Loading...
Searching...
No Matches
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
enum class  AreaTriggerRemoveReason : uint8 { Default , UnitDespawn }
 
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={}, uint32 teleportSpellId=0)
 
bool TeleportTo (WorldLocation const &loc, TeleportToOptions options=TELE_TO_NONE, Optional< uint32 > instanceId={}, uint32 teleportSpellId=0)
 
bool TeleportTo (TeleportLocation const &teleportLocation, TeleportToOptions options=TELE_TO_NONE, uint32 teleportSpellId=0)
 
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
 
void Heartbeat () override
 
bool IsImmunedToSpellEffect (SpellInfo const *spellInfo, SpellEffectInfo const &spellEffectInfo, WorldObject const *caster, bool requireImmunityPurgesEffectAttribute=false) const override
 
bool IsInAreaTrigger (AreaTriggerEntry const *areaTrigger) 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, Optional< float > speed={}, Scripting::v2::ActionResultSetter< MovementStopReason > const &scriptResult={})
 
bool ActivateTaxiPathTo (uint32 taxi_path_id, uint32 spellid=0, Optional< float > speed={}, Scripting::v2::ActionResultSetter< MovementStopReason > const &scriptResult={})
 
void FinishTaxiFlight ()
 
void CleanupAfterTaxiFlight ()
 
void ContinueTaxiFlight ()
 
void StartTaxiMovement (uint32 mountDisplayId, uint32 path, uint32 pathNode, Optional< float > speed, Scripting::v2::ActionResultSetter< MovementStopReason > &&scriptResult)
 
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 ()
 
bool HasClaimedFreeTransmog () const
 
void SetHasClaimedFreeTransmog ()
 
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 DeletePetFromDB (uint32 petNumber)
 
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.
 
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.
 
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.
 
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.
 
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.
 
void UpdateAverageItemLevelTotal ()
 
void UpdateAverageItemLevelEquipped ()
 
uint8 FindEquipSlot (Item const *item, uint8 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 ()
 
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)
 
uint8 GetCharacterBankTabCount () const
 
void SetCharacterBankTabCount (uint8 count)
 
uint8 GetAccountBankTabCount () const
 
void SetAccountBankTabCount (uint8 count)
 
void SetCharacterBankTabSettings (uint32 tabId, std::string const &name, std::string const &icon, std::string const &description, BagSlotFlags depositFlags)
 
void SetAccountBankTabSettings (uint32 tabId, std::string const &name, std::string const &icon, std::string const &description, BagSlotFlags depositFlags)
 
void SetBankTabSettings (UF::MutableFieldReferenceWithChangesMask< UF::BankTabSettings, false > setter, std::string const &name, std::string const &icon, std::string const &description, BagSlotFlags depositFlags)
 
bool IsBackpackAutoSortDisabled () const
 
void SetBackpackAutoSortDisabled (bool disabled)
 
bool IsBackpackSellJunkDisabled () const
 
void SetBackpackSellJunkDisabled (bool disabled)
 
bool IsBankAutoSortDisabled () const
 
void SetBankAutoSortDisabled (bool disabled)
 
EnumFlag< BagSlotFlagsGetBagSlotFlags (uint32 bagIndex) const
 
void SetBagSlotFlag (uint32 bagIndex, EnumFlag< BagSlotFlags > flags)
 
void RemoveBagSlotFlag (uint32 bagIndex, EnumFlag< BagSlotFlags > flags)
 
void ReplaceAllBagSlotFlags (uint32 bagIndex, EnumFlag< BagSlotFlags > flags)
 
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, BonusData const &itemBonus, 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.
 
void SendPvpRewards () const
 Send conquest currency points and their cap week/arena.
 
void SetCreateCurrency (uint32 id, uint32 amount)
 Initialize currency amount for custom initialization at create character.
 
void ModifyCurrency (uint32 id, int32 amount, CurrencyGainSource gainSource=CurrencyGainSource::Cheat, CurrencyDestroyReason destroyReason=CurrencyDestroyReason::Cheat)
 Modify currency amount.
 
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.
 
void ResetCurrencyWeekCap ()
 Reset weekly quantity.
 
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 SetCurrencyFlagsFromClient (uint32 id, CurrencyDbFlags flags)
 
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 const *item)
 
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, uint32 count, uint8 bag, uint8 slot)
 
Optional< SellResultCanSellItemToVendor (Item const *item, uint32 amount) const
 
Optional< SellResultSellItemToVendor (Item *item, uint32 amount)
 
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 SendItemPassives ()
 
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 SatisfyQuestMinReputation (Quest const *qInfo, bool msg) const
 
bool SatisfyQuestMaxReputation (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::span< 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)
 
bool IsQuestCompletedBitSet (uint32 questId) const
 
void SetQuestCompletedBit (uint32 questId, 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 (Creature const *creature)
 
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
 
bool HasQuestForCurrency (uint32 currencyId) 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 IsQuestObjectiveCompletable (uint32 questId, uint32 objectiveId) 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 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


 
CUFProfileGetCUFProfile (uint8 id) const
 

‍Replaces a CUF profile at position 0-4


 
uint8 GetCUFProfilesCount () const
 

‍Retrieves a CUF profile at position 0-4


 
bool HasPvPForcingQuest () const
 
void SendForceSpawnTrackingUpdate (uint32 questId) const
 
QuestObjective const * GetActiveQuestObjectiveForSpawnTracking (uint32 spawnTrackingId) const
 
SpawnTrackingState GetSpawnTrackingStateByObjectives (uint32 spawnTrackingId, std::vector< uint32 > const &questObjectives) const
 
SpawnTrackingState GetSpawnTrackingStateByObjective (uint32 spawnTrackingId, uint32 questObjectiveId) 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.
 
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, GetCastSpellInfoContext *context) 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< PlayerSpellTrait > trait={})
 
void LearnSpell (uint32 spell_id, bool dependent, int32 fromSkill=0, bool suppressMessaging=false, Optional< PlayerSpellTrait > trait={})
 
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 SetCurrentCombatTraitConfigSubTreeID (int32 traitSubTreeId)
 
void SetTraitConfigUseStarterBuild (int32 traitConfigId, bool useStarterBuild)
 
void SetTraitConfigUseSharedActionBars (int32 traitConfigId, bool usesSharedActionBars, bool isLastSelectedSavedConfig)
 
Optional< PlayerSpellTraitGetTraitInfoForSpell (uint32 spellId) const
 
uint32 GetFreePrimaryProfessionPoints () const
 
void SetFreePrimaryProfessions (uint16 profs)
 
void InitPrimaryProfessions ()
 
PlayerSpellMap const & GetSpellMap () const
 
PlayerSpellMapGetSpellMap ()
 
void AddSpellMod (SpellModifier *mod, bool apply)
 
void GetSpellModValues (SpellInfo const *spellInfo, SpellModOp op, Spell *spell, double 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)
 
float GetEmpowerMinHoldStagePercent () const
 
void SetEmpowerMinHoldStagePercent (float empowerMinHoldStagePercent)
 
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
 
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.
 
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 (UF::UpdateFieldFlag flags, ByteBuffer &data, 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, bool ignoreNestedChangesMask) const
 
void DestroyForPlayer (Player const *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.
 
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 ProcessPositionDataChanged (PositionFullTerrainStatus const &data) override
 
void UpdateLiquidMirrorTimerFlagsOnPositionChange (Optional< LiquidData > const &newLiquidData)
 
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 const & 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
 
uint16 GetSkillLineIdByPos (uint32 pos) const
 
void SetSkillLineId (uint32 pos, uint16 skillLineId)
 
uint16 GetSkillStepByPos (uint32 pos) const
 
void SetSkillStep (uint32 pos, uint16 step)
 
uint16 GetSkillRankByPos (uint32 pos) const
 
void SetSkillRank (uint32 pos, uint16 rank)
 
uint16 GetSkillStartingRankByPos (uint32 pos) const
 
void SetSkillStartingRank (uint32 pos, uint16 starting)
 
uint16 GetSkillMaxRankByPos (uint32 pos) const
 
void SetSkillMaxRank (uint32 pos, uint16 max)
 
int16 GetSkillTempBonusByPos (uint32 pos) const
 
void SetSkillTempBonus (uint32 pos, uint16 bonus)
 
uint16 GetSkillPermBonusByPos (uint32 pos) const
 
void SetSkillPermBonus (uint32 pos, uint16 bonus)
 
TeleportLocationGetTeleportDest ()
 
TeleportState GetTeleportState () const
 
void SetTeleportState (TeleportState state)
 
EnumFlag< TeleportToOptionsGetTeleportOptions () const
 
int32 GetNewWorldCounter () const
 
bool IsBeingTeleported () const
 
bool IsBeingTeleportedNear () const
 
bool IsBeingTeleportedFar () const
 
void ProcessDelayedOperations ()
 
void CheckAreaExplore ()
 
void AddExploredZones (uint32 pos, uint64 mask)
 
void RemoveExploredZones (uint32 pos, uint64 mask)
 
bool HasExploredZone (uint32 areaId) const
 
void UpdateZoneAndAreaId ()
 
void UpdateIndoorsOutdoorsAuras ()
 
void UpdateTavernRestingState ()
 
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 SetVisibleForcedReaction (uint32 factionId, ReputationRank rank)
 
void RemoveVisibleForcedReaction (uint32 factionId)
 
void UpdateSkillsForLevel ()
 
void ModifySkillBonus (uint32 skillid, int32 val, bool talent)
 
void UpdateHonorFields ()
 
bool RewardHonor (Unit *victim, uint32 groupsize, int32 honor=-1, HonorGainSource source=HonorGainSource::Kill)
 
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 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, std::array< int32, 3 > const &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) const
 
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.
 
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, uint32 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 (BaseEntity 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 SendMovementSetCollisionHeight (float height, WorldPackets::Movement::UpdateCollisionHeightReason reason)
 
bool CanFly () const override
 
bool CanEnterWater () const override
 
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 SetAverageItemLevel (float newItemLevel, AvgItemLevelCategory category)
 
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 AddWarbandScenesBlock (uint32 blockValue)
 
void AddWarbandScenesFlag (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)
 
std::variant< int64, float > GetDataElementAccount (uint32 dataElementId) const
 
void SetDataElementAccount (uint32 dataElementId, std::variant< int64, float > value)
 
std::variant< int64, float > GetDataElementCharacter (uint32 dataElementId) const
 
void SetDataElementCharacter (uint32 dataElementId, std::variant< int64, float > value)
 
bool HasDataFlagAccount (uint32 dataFlagId) const
 
void SetDataFlagAccount (uint32 dataFlagId, bool on)
 
bool HasDataFlagCharacter (uint32 dataFlagId) const
 
void SetDataFlagCharacter (uint32 dataFlagId, bool on)
 
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 ()
 
void AddUnlockedTransmogOutfits (std::span< int32 const > transmogOutfitIds)
 
void AddUnlockedTransmogOutfit (int32 transmogOutfitIds)
 
void CreateTransmogOutfit (uint32 id, WorldPackets::Transmogrification::TransmogOutfitDataInfo const &outfitData)
 
void InitializeNewTransmogOutfit (UF::MutableFieldReference< UF::TransmogOutfitData, false > outfit, uint32 id, WorldPackets::Transmogrification::TransmogOutfitDataInfo const &outfitData)
 
bool UpdateTransmogOutfit (uint32 id, WorldPackets::Transmogrification::TransmogOutfitDataInfo const &outfitData)
 
void UpdateTransmogOutfitSituations (uint32 id, bool situationsEnabled, std::span< WorldPackets::Transmogrification::TransmogOutfitSituationInfo const > situations)
 
void UpdateTransmogOutfitSlots (uint32 id, std::span< WorldPackets::Transmogrification::TransmogOutfitSlotData const > slots)
 
void EquipTransmogOutfit (uint32 id, TransmogSituationTrigger trigger, Optional< bool > locked)
 
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 ()
 
void Heartbeat () override
 
void TriggerAuraHeartbeat ()
 
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
 
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 GetEffectiveLevel () 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)
 
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 (float pct) const
 
bool HealthBelowPctDamaged (float pct, uint32 damage) const
 
bool HealthAbovePct (float pct) const
 
bool HealthAbovePctHealed (float pct, uint32 heal) const
 
float GetHealthPct () const
 
uint64 CountPctFromMaxHealth (float pct) const
 
uint64 CountPctFromCurHealth (float 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, bool onInit=false)
 
void SetInitialPowerValue (Powers powerType)
 
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
 
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
 
void UpdateCreatureType ()
 
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 ()
 
void CancelMountAura (bool force=false)
 
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
 
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
 
float GetMechanicResistChance (SpellInfo const *spellInfo) const
 
bool CanUseAttackType (uint8 attacktype) 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 ====================
 
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
 
bool HasBreakableByDamageAuraType (AuraType type, uint32 excludeAura=0) const
 
bool HasBreakableByDamageCrowdControlAura (Unit const *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, uint8 missReason, uint8 reflectStatus, float travelSpeed, bool speedAsTime=false, float launchDelay=0.0f)
 
void SendPlaySpellVisual (Position const &targetPosition, uint32 spellVisualId, uint8 missReason, uint8 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, uint32 RageGained)
 
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 (TeleportLocation const &target, bool casting=false)
 
void NearTeleportTo (Position const &pos, bool casting=false)
 
void NearTeleportTo (float x, float y, float z, float orientation, bool casting=false)
 
void SendTeleportPacket (TeleportLocation const &teleportLocation)
 
void UpdateOrientation (float orientation)
 Only server-side orientation update, does not broadcast to client.
 
void UpdateHeight (float newZ)
 Only server-side height update, does not broadcast to client.
 
void SendMoveKnockBack (Player *player, float speedXY, float speedZ, float vcos, float vsin)
 
void KnockbackFrom (Position const &origin, float speedXY, float speedZ, float angle=M_PI, Movement::SpellEffectExtraData const *spellEffectExtraData=nullptr)
 
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 SetStrafingDisabled (bool disable)
 
bool SetJumpingDisabled (bool disable)
 
bool SetEnableFullSpeedTurning (bool enable)
 
bool SetEnableFullSpeedPitching (bool enable)
 
bool SetAlwaysAllowPitching (bool enable)
 
bool SetCanTransitionBetweenSwimAndFly (bool enable)
 
bool SetCanTurnWhileFalling (bool enable)
 
bool SetCanDoubleJump (bool enable)
 
bool SetDisableInertia (bool disable)
 
bool SetCanAdvFly (bool enable)
 
bool SetMoveCantSwim (bool cantSwim)
 
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
 
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
 
float GetTotalAuraModifier (AuraType auraType) const
 
float GetTotalAuraMultiplier (AuraType auraType) const
 
float GetMaxPositiveAuraModifier (AuraType auraType) const
 
float GetMaxNegativeAuraModifier (AuraType auraType) const
 
float GetTotalAuraModifier (AuraType auraType, std::function< bool(AuraEffect const *)> const &predicate) const
 
float GetTotalAuraMultiplier (AuraType auraType, std::function< bool(AuraEffect const *)> const &predicate) const
 
float GetMaxPositiveAuraModifier (AuraType auraType, std::function< bool(AuraEffect const *)> const &predicate) const
 
float GetMaxNegativeAuraModifier (AuraType auraType, std::function< bool(AuraEffect const *)> const &predicate) const
 
float GetTotalAuraModifierByMiscMask (AuraType auraType, uint32 misc_mask) const
 
float GetTotalAuraMultiplierByMiscMask (AuraType auraType, uint32 misc_mask) const
 
float GetMaxPositiveAuraModifierByMiscMask (AuraType auraType, uint32 misc_mask, AuraEffect const *except=nullptr) const
 
float GetMaxNegativeAuraModifierByMiscMask (AuraType auraType, uint32 misc_mask) const
 
float GetTotalAuraModifierByMiscValue (AuraType auraType, int32 misc_value) const
 
float GetTotalAuraMultiplierByMiscValue (AuraType auraType, int32 misc_value) const
 
float GetMaxPositiveAuraModifierByMiscValue (AuraType auraType, int32 misc_value) const
 
float GetMaxNegativeAuraModifierByMiscValue (AuraType auraType, int32 misc_value) const
 
float GetTotalAuraModifierByAffectMask (AuraType auraType, SpellInfo const *affectedSpell) const
 
float GetTotalAuraMultiplierByAffectMask (AuraType auraType, SpellInfo const *affectedSpell) const
 
float GetMaxPositiveAuraModifierByAffectMask (AuraType auraType, SpellInfo const *affectedSpell) const
 
float 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 SetChannelSpellData (uint32 startTimeMs, uint32 durationMs)
 
int8 GetSpellEmpowerStage () const
 
void SetSpellEmpowerStage (int8 stage)
 
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
 
GetCastSpellInfoResult GetCastSpellInfo (SpellInfo const *spellInfo) 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)
 
void CancelShapeshiftForm (bool onlyTravelShapeshiftForm=false, AuraRemoveMode removeMode=AURA_REMOVE_BY_DEFAULT, bool force=false)
 
void CancelTravelShapeshiftForm (AuraRemoveMode removeMode=AURA_REMOVE_BY_DEFAULT, bool force=false)
 
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)
 
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 void UpdateAllResistances ()
 
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)
 
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)
 
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 (AreaTriggerRemoveReason reason=AreaTriggerRemoveReason::Default)
 
void EnterAreaTrigger (AreaTrigger *areaTrigger)
 
void ExitAreaTrigger (AreaTrigger *areaTrigger)
 
std::vector< AreaTrigger * > const & GetInsideAreaTriggers () const
 
void ExitAllAreaTriggers ()
 
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 SpellBaseAbsorbBonusDone (SpellSchoolMask schoolMask) const
 
int32 SpellAbsorbBonusDone (Unit *victim, SpellInfo const *spellProto, int32 absorbamount, SpellEffectInfo const &spellEffectInfo, uint32 stack=1, AuraEffect const *aurEff=nullptr) const
 
float SpellAbsorbPctDone (Unit *victim, SpellInfo const *spellProto) const
 
int32 SpellAbsorbBonusTaken (Unit *caster, SpellInfo const *spellProto, int32 absorbamount) const
 
int32 MeleeDamageBonusDone (Unit *pVictim, int32 damage, WeaponAttackType attType, DamageEffectType damagetype, SpellInfo const *spellProto=nullptr, SpellEffectInfo const *spellEffectInfo=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 () const
 
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, uint32 effectMask, 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 (WorldObject const *caster, SpellInfo const *spellInfo, SpellEffectInfo const *spellEffectInfo=nullptr) const
 
bool IsImmunedToAuraPeriodicTick (WorldObject const *caster, AuraEffect const *auraEffect) 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)
 
int32 GetFlightCapabilityID () const
 
void SetFlightCapabilityID (int32 flightCapabilityId, bool clientUpdate)
 
float GetAdvFlyingSpeed (AdvFlyingRateTypeSingle speedType) const
 
float GetAdvFlyingSpeedMin (AdvFlyingRateTypeRange speedType) const
 
float GetAdvFlyingSpeedMax (AdvFlyingRateTypeRange speedType) const
 
void UpdateAdvFlyingSpeed (AdvFlyingRateTypeSingle speedType, bool clientUpdate)
 
void UpdateAdvFlyingSpeed (AdvFlyingRateTypeRange speedType, bool clientUpdate)
 
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--------------—
 
void SendPetTalk (uint32 pettalk)
 
void SendPetAIReaction (ObjectGuid guid)
 
void PropagateSpeedChange ()
 -------—End of Pet responses methods-------—
 
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)
 
void HandleSpellClick (Unit *clicker, int8 seatId=-1)
 
bool HandleSpellClick (Unit *clicker, int8 seatId, uint32 spellId, TriggerCastFlags flags=TRIGGERED_NONE, SpellClickInfo const *spellClickInfo=nullptr)
 
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
 
bool IsFlying () const
 
bool IsFalling () const
 
virtual bool CanSwim () const
 
float GetHoverOffset () const
 
int32 RewardRage (uint32 baseRage)
 
virtual float GetFollowAngle () const
 
void OutDebugInfo () const
 
bool IsDuringRemoveFromWorld () const
 
PetToPet ()
 
Pet const * ToPet () const
 
TotemToTotem ()
 
Totem const * ToTotem () const
 
TempSummonToTempSummon ()
 
TempSummon const * ToTempSummon () const
 
ObjectGuid GetTarget () const
 
void SetInstantCast (bool set)
 
bool CanInstantCast () const
 
SpellEffectValue 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, SpellEffectValue effectAmount, uint32 auraEffectMask, bool removeOtherAuraApplications=false)
 
virtual void Talk (std::string_view text, ChatMsg msgType, Language language, float textRange, WorldObject const *target)
 
virtual void Talk (uint32 textId, ChatMsg msgType, float textRange, WorldObject const *target)
 
void ClearBossEmotes (Optional< uint32 > zoneId={}, Player const *target=nullptr) const
 Clears boss emotes frame.
 
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 AtStartOfEncounter (EncounterType type)
 
void AtEndOfEncounter (EncounterType type)
 
- Public Member Functions inherited from WorldObject
virtual ~WorldObject ()
 
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, float maxHeightChange=6.0f) const
 
Position GetNearPosition (float dist, float angle)
 
void MovePositionToFirstCollision (Position &pos, float dist, float angle) const
 
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
 
void UpdateGroundPositionZ (float x, float y, float &z) const
 
void UpdateAllowedPositionZ (float x, float y, float &z, float *groundZ=nullptr) const
 
Position GetRandomPoint (Position const &srcPos, float distance, float minDistance=0.0f) 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 (Position const *pos, float minRange, float maxRange) const
 
bool IsInRange3d (Position const *pos, 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
 
void SendCombatLogMessage (WorldPackets::CombatLog::CombatLogServerPacket *combatLog) 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, CanSeeOrDetectExtraArgs const &args={ }) const
 
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
 
ObjectGuid GetCharmerOrOwnerOrOwnGUID () const
 
UnitGetOwner () const
 
UnitGetCharmerOrOwner () const
 
UnitGetCharmerOrOwnerOrSelf () const
 
PlayerGetCharmerOrOwnerPlayerOrPlayerItself () const
 
PlayerGetAffectingPlayer () const
 
PlayerGetSpellModOwner () const
 
SpellRange GetSpellMinMaxRangeForTarget (Unit const *target, SpellInfo const *spellInfo) const
 
SpellEffectValue ApplyEffectModifiers (SpellInfo const *spellInfo, uint8 effIndex, SpellEffectValue 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
 
SpellMissInfo MagicSpellHitResult (Unit *victim, SpellInfo const *spellInfo) const
 
SpellMissInfo SpellHitResult (Unit *victim, SpellInfo const *spellInfo, bool canReflect, bool canImmune) const
 
void SendSpellMiss (Unit *target, uint32 spellID, SpellMissInfo missInfo)
 
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 (Position const &sourceLocation, ObjectGuid const &target, uint32 spellVisualId, float travelSpeed, bool speedAsTime=false, bool withSourceOrientation=false)
 
void SendPlayOrphanSpellVisual (Position const &sourceLocation, Position const &targetLocation, uint32 spellVisualId, float travelSpeed, bool speedAsTime=false, bool withSourceOrientation=false)
 
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)
 
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 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
 
void SetTransport (TransportBase *t)
 
virtual Position const & GetStationaryPosition () const
 
float GetFloorZ () 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
 
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 ()
 
uint32 GetEntry () const
 
void SetEntry (uint32 entry)
 
float GetObjectScale () const
 
uint32 GetDynamicFlags () const
 
bool HasDynamicFlag (uint32 flag) const
 
void SetDynamicFlag (uint32 flag)
 
void RemoveDynamicFlag (uint32 flag)
 
void ReplaceAllDynamicFlags (uint32 flag)
 
void BuildValuesUpdateBlockForPlayerWithFlag (UpdateData *data, UF::UpdateFieldFlag flags, Player const *target) const
 
virtual bool hasQuest (uint32) const
 
virtual bool hasInvolvedQuest (uint32) const
 
WorldObjectToWorldObject ()
 
WorldObject const * ToWorldObject () const
 
ItemToItem ()
 
Item const * ToItem () const
 
UnitToUnit ()
 
Unit const * ToUnit () const
 
CreatureToCreature ()
 
Creature const * ToCreature () const
 
PlayerToPlayer ()
 
Player const * ToPlayer () const
 
GameObjectToGameObject ()
 
GameObject const * ToGameObject () const
 
CorpseToCorpse ()
 
Corpse const * ToCorpse () const
 
DynamicObjectToDynObject ()
 
DynamicObject const * ToDynObject () const
 
AreaTriggerToAreaTrigger ()
 
AreaTrigger const * ToAreaTrigger () const
 
SceneObjectToSceneObject ()
 
SceneObject const * ToSceneObject () const
 
ConversationToConversation ()
 
Conversation const * ToConversation () const
 
Trinity::unique_weak_ptr< ObjectGetWeakPtr () const
 
virtual LootGetLootForPlayer (Player const *player) const
 
virtual SpawnTrackingStateData const * GetSpawnTrackingStateDataForPlayer (Player const *player) const
 
- Public Member Functions inherited from BaseEntity
virtual ~BaseEntity ()
 
bool IsInWorld () const
 
ObjectGuid const & GetGUID () const
 
TypeID GetTypeId () const
 
bool isType (TypeMask mask) const
 
bool IsWorldObject () const
 
bool IsItem () const
 
bool IsUnit () const
 
bool IsCreature () const
 
bool IsPlayer () const
 
bool IsGameObject () const
 
bool IsDynObject () const
 
bool IsCorpse () const
 
bool IsAreaTrigger () const
 
bool IsSceneObject () const
 
bool IsConversation () const
 
bool IsMeshObject () const
 
void SendUpdateToPlayer (Player *player) const
 
void BuildValuesUpdateBlockForPlayer (UpdateData *data, Player const *target) const
 
void BuildDestroyUpdateBlock (UpdateData *data) const
 
void BuildOutOfRangeUpdateBlock (UpdateData *data) const
 
ByteBufferPrepareValuesUpdateBuffer (UpdateData *data) const
 
void SendOutOfRangeForPlayer (Player const *target) const
 
void ClearUpdateMask (bool remove)
 
void SetIsNewObject (bool enable)
 
bool IsDestroyedObject () const
 
void SetDestroyedObject (bool destroyed)
 
void BuildUpdateChangesMask ()
 
void BuildFieldsUpdate (Player *player, UpdateDataMapType &data_map) const
 
template<typename T >
void ForceUpdateFieldChange (UF::UpdateFieldPrivateSetter< T > const &)
 
- Public Member Functions inherited from WorldLocation
constexpr WorldLocation ()
 
constexpr WorldLocation (uint32 mapId, float x, float y)
 
constexpr WorldLocation (uint32 mapId, float x, float y, float z)
 
constexpr WorldLocation (uint32 mapId, float x, float y, float z, float o)
 
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, float x, float y, float z, float o)
 
constexpr WorldLocation GetWorldLocation () const
 
constexpr uint32 GetMapId () const
 
std::string GetDebugInfo () const
 
- Public Member Functions inherited from Position
constexpr Position ()
 
constexpr Position (float x, float y)
 
constexpr Position (float x, float y, float z)
 
constexpr Position (float x, float y, float z, float o)
 
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
 
Position GetPositionOffsetTo (Position const &endPos) 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 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 &boxOrigin, float length, float width, float height) const
 
bool IsWithinVerticalCylinder (Position const &cylinderOrigin, float radius, float height, bool isDoubleVertical=false) const
 
bool IsInPolygon2D (Position const &polygonOrigin, std::span< Position const > vertices) 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 IsChildEquipmentPos (uint16 pos)
 
static bool IsChildEquipmentPos (uint8 bag, uint8 slot)
 
static bool IsAccountBankPos (uint16 pos)
 
static bool IsAccountBankPos (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 int32 IsAffectedBySpellmod (SpellInfo const *spellInfo, SpellModifier const *mod, Spell const *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 WorldObjectToWorldObject (Object *o)
 
static WorldObject const * ToWorldObject (Object const *o)
 
static ItemToItem (Object *o)
 
static Item const * ToItem (Object const *o)
 
static UnitToUnit (Object *o)
 
static Unit const * ToUnit (Object const *o)
 
static CreatureToCreature (Object *o)
 
static Creature const * ToCreature (Object const *o)
 
static PlayerToPlayer (Object *o)
 
static Player const * ToPlayer (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 BaseEntity
static ObjectGuid GetGUID (BaseEntity 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, int32(WowCS::EntityFragment::CGObject), TYPEID_PLAYERm_playerData
 
UF::UpdateField< UF::ActivePlayerData, int32(WowCS::EntityFragment::CGObject), 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, int32(WowCS::EntityFragment::CGObject), 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::UpdateField< UF::ObjectData, int32(WowCS::EntityFragment::CGObject), TYPEID_OBJECTm_objectData
 
- Public Attributes inherited from BaseEntity
UF::UpdateFieldHolder m_values
 
- 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 (UF::UpdateFieldFlag flags, ByteBuffer &data, Player const *target) const override
 
void BuildValuesUpdate (UF::UpdateFieldFlag flags, ByteBuffer &data, Player const *target) const override
 
void ClearValuesChangesMask () 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 _LoadMail (PreparedQueryResult mailsResult, PreparedQueryResult mailItemsResult, PreparedQueryResult artifactResult, PreparedQueryResult azeriteItemResult, PreparedQueryResult azeriteItemMilestonePowersResult, PreparedQueryResult azeriteItemUnlockedEssencesResult, PreparedQueryResult azeriteEmpoweredItemResult)
 
void _LoadQuestStatus (PreparedQueryResult result)
 
void _LoadQuestStatusObjectives (PreparedQueryResult result)
 
void _LoadQuestStatusObjectiveSpawnTrackings (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 _LoadTransmogCustomSets (PreparedQueryResult result)
 
void _LoadTransmogOutfits (PreparedQueryResult setsResult, PreparedQueryResult situationsResult, PreparedQueryResult slotsResult, int32 equippedTransmogOutfitId, bool locked)
 
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 _LoadPlayerData (PreparedQueryResult elementsResult, PreparedQueryResult flagsResult)
 
void _LoadCharacterBankTabSettings (PreparedQueryResult result)
 
void _SaveCustomizations (CharacterDatabaseTransaction trans)
 
void _SaveActions (CharacterDatabaseTransaction trans)
 
void _SaveAuras (CharacterDatabaseTransaction trans)
 
void _SaveInventory (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 _SaveTransmogOutfits (CharacterDatabaseTransaction trans)
 
void _SaveCharacterSelectOutfit (CharacterDatabaseTransaction trans) const
 
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 _SavePlayerData (CharacterDatabaseTransaction trans)
 
void _SaveCharacterBankTabSettings (CharacterDatabaseTransaction trans) const
 
void HandleSobering ()
 The player sobers by 1% every 9 seconds.
 
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, bool ignorePhaseShift=false) 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 DestroyForPlayer (Player const *target) const override
 
void ClearValuesChangesMask () 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
 
void UpdateLiquidStatusOnPositionChange (Optional< LiquidData > const &newLiquidData)
 
virtual void AtEngage (Unit *)
 
virtual void AtDisengage ()
 
void SetFeared (bool apply)
 
void SetConfused (bool apply)
 
void SetStunned (bool apply)
 
void SetRooted (bool apply)
 
- Protected Member Functions inherited from WorldObject
 WorldObject (bool isWorldObject)
 
void SetLocationMapId (uint32 _mapId)
 
void SetLocationInstanceId (uint32 _instanceId)
 
virtual bool IsInvisibleDueToDespawn (WorldObject const *seer) const
 
- Protected Member Functions inherited from Object
 Object ()
 
void BuildEntityFragmentsForValuesUpdateForPlayerWithMask (ByteBuffer &data, EnumFlag< UF::UpdateFieldFlag > flags) const
 
- Protected Member Functions inherited from BaseEntity
 BaseEntity ()
 
void _Create (ObjectGuid const &guid)
 
template<typename T >
void SetUpdateFieldValue (UF::UpdateFieldPrivateSetter< T > setter, typename UF::UpdateFieldPrivateSetter< T >::value_type value)
 
template<typename T >
void SetUpdateFieldFlagValue (UF::UpdateFieldPrivateSetter< T > setter, typename UF::UpdateFieldPrivateSetter< T >::value_type flag)
 
template<typename T >
void RemoveUpdateFieldFlagValue (UF::UpdateFieldPrivateSetter< T > setter, typename UF::UpdateFieldPrivateSetter< 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 K , typename V >
void RemoveMapUpdateFieldValue (UF::MapUpdateFieldSetter< K, V > setter, std::type_identity_t< K > const &key)
 
template<typename T >
void InsertSetUpdateFieldValue (UF::SetUpdateFieldSetter< T > setter, std::type_identity_t< T > const &key)
 
template<typename T >
void RemoveSetUpdateFieldValue (UF::SetUpdateFieldSetter< T > setter, std::type_identity_t< T > const &key)
 
template<typename T >
void RemoveOptionalUpdateFieldValue (UF::OptionalUpdateFieldSetter< T > setter)
 
template<typename T >
void SetUpdateFieldStatValue (UF::UpdateFieldPrivateSetter< T > setter, typename UF::UpdateFieldPrivateSetter< T >::value_type value)
 
template<typename T >
void ApplyModUpdateFieldValue (UF::UpdateFieldPrivateSetter< T > setter, typename UF::UpdateFieldPrivateSetter< T >::value_type mod, bool apply)
 
template<typename T >
void ApplyPercentModUpdateFieldValue (UF::UpdateFieldPrivateSetter< T > setter, float percent, bool apply)
 
template<typename Action >
void DoWithSuppressingObjectUpdates (Action &&action)
 
void BuildMovementUpdate (ByteBuffer &data, CreateObjectBits flags, Player const *target) const
 
void AddToObjectUpdateIfNeeded ()
 

Static Protected Member Functions

static Item_LoadMailedItem (ObjectGuid const &playerGuid, Player *player, uint64 mailId, Mail *mail, Field *fields, ItemAdditionalLoadInfo *addionalData)
 
- Static Protected Member Functions inherited from BaseEntity
static void BuildEntityFragments (ByteBuffer &data, std::span< WowCS::EntityFragment const > fragments)
 

Protected Attributes

GuidList WhisperList
 
TimePoint m_regenInterruptTimestamp
 
uint32 m_regenTimerCount
 
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
 
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
 
float m_empowerMinHoldStagePercent
 
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
 
EnchantDurationList m_enchantDuration
 
ItemDurationList m_itemDuration
 
std::forward_list< int32m_itemPassives
 
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_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
 
TeleportLocation m_summon_location
 
TeleportLocation m_recall_location
 
std::unique_ptr< Runesm_runes
 
EquipmentSetContainer _equipmentSets
 
std::set< uint32m_changedTransmogOutfits
 
uint8 m_fishingSteps
 
std::array< std::unique_ptr< CUFProfile >, MAX_CUF_PROFILES_CUFProfiles
 
- 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
 
AreaTriggerList m_insideAreaTriggers
 
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
 
std::array< float, ADV_FLYING_MAX_SPEED_TYPEm_advFlyingSpeed
 
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.
 
- 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 BaseEntity
TypeID m_objectTypeId = NUM_CLIENT_OBJECT_TYPES
 
CreateObjectBits m_updateFlag = {}
 
WowCS::EntityFragmentsHolder m_entityFragments
 
bool m_objectUpdated = false
 

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)
 
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
 
TeleportLocation m_teleport_dest
 
TeleportState m_teleport_state
 
TeleportToOptions m_teleport_options
 
uint32 m_teleportSpellId
 
int32 m_newWorldCounter
 
uint32 m_DelayedOperations
 
bool m_bCanDelayTeleport
 
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
 
Trinity::Containers::FlatSet< uint32_playerDataElementsNeedSave
 
Trinity::Containers::FlatSet< uint32_playerDataFlagsNeedSave
 

Friends

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

Detailed Description

Definition at line 1232 of file Player.h.

Member Typedef Documentation

◆ DFQuestsDoneList

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

Definition at line 2729 of file Player.h.

◆ ItemMap

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

Definition at line 1945 of file Player.h.

◆ JoinedChannelsList

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

Definition at line 2364 of file Player.h.

◆ QuestSet

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

Definition at line 3105 of file Player.h.

◆ SeasonalQuestMapByEvent

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

Definition at line 3107 of file Player.h.

◆ SeasonalQuestMapByQuest

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

Definition at line 3106 of file Player.h.

Constructor & Destructor Documentation

◆ Player()

Player::Player ( WorldSession session)
explicit

Definition at line 163 of file Player.cpp.

+ Here is the call graph for this function:

◆ ~Player()

Player::~Player ( )

Definition at line 356 of file Player.cpp.

+ Here is the call graph for this function:

Member Function Documentation

◆ _ApplyAllItemMods()

void Player::_ApplyAllItemMods ( )

Definition at line 8985 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 9029 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 844 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 7952 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 7917 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 8206 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 6927 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 18988 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 17622 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 19015 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 17882 of file Player.cpp.

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

◆ _LoadCharacterBankTabSettings()

void Player::_LoadCharacterBankTabSettings ( PreparedQueryResult  result)
protected

Definition at line 20414 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 18909 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 7003 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 19828 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 17612 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 17663 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 19149 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 28464 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 20006 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 20253 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 30053 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 19178 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 19366 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 19549 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 19494 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 19923 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 30065 of file Player.cpp.

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

◆ _LoadPlayerData()

void Player::_LoadPlayerData ( PreparedQueryResult  elementsResult,
PreparedQueryResult  flagsResult 
)
protected

Definition at line 20333 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 28521 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 19606 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 19698 of file Player.cpp.

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

◆ _LoadQuestStatusObjectiveSpawnTrackings()

void Player::_LoadQuestStatusObjectiveSpawnTrackings ( PreparedQueryResult  result)
protected

Definition at line 19739 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 19780 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 30025 of file Player.cpp.

+ Here is the caller graph for this function:

◆ _LoadSeasonalQuestStatus()

void Player::_LoadSeasonalQuestStatus ( PreparedQueryResult  result)
protected

Definition at line 19895 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 27282 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 19949 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 19970 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 28509 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 28534 of file Player.cpp.

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

◆ _LoadTransmogCustomSets()

void Player::_LoadTransmogCustomSets ( PreparedQueryResult  result)
protected

Definition at line 17696 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  setsResult,
PreparedQueryResult  situationsResult,
PreparedQueryResult  slotsResult,
int32  equippedTransmogOutfitId,
bool  locked 
)
protected

Definition at line 17733 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 19869 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 8945 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 857 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 20887 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 20958 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 28393 of file Player.cpp.

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

◆ _SaveCharacterBankTabSettings()

void Player::_SaveCharacterBankTabSettings ( CharacterDatabaseTransaction  trans) const
protected

Definition at line 21732 of file Player.cpp.

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

◆ _SaveCharacterSelectOutfit()

void Player::_SaveCharacterSelectOutfit ( CharacterDatabaseTransaction  trans) const
protected

Definition at line 31329 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 21146 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 7032 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 20877 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 21367 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 28234 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 28487 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 30121 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 21012 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 21182 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 21460 of file Player.cpp.

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

◆ _SavePlayerData()

void Player::_SavePlayerData ( CharacterDatabaseTransaction  trans)
protected

Definition at line 21668 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 21252 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 21426 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 21483 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 21534 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 21625 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 21588 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 28705 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 28749 of file Player.cpp.

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

◆ _SaveTransmogOutfits()

void Player::_SaveTransmogOutfits ( CharacterDatabaseTransaction  trans)
protected

Definition at line 28327 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 21403 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 11475 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 23470 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 15409 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 2751 of file Player.h.

+ Here is the caller graph for this function:

◆ ActivateTalentGroup()

void Player::ActivateTalentGroup ( ChrSpecializationEntry const *  spec)

Definition at line 28842 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,
Optional< float >  speed = {},
Scripting::v2::ActionResultSetter< MovementStopReason > const &  scriptResult = {} 
)

Definition at line 23160 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,
Optional< float >  speed = {},
Scripting::v2::ActionResultSetter< MovementStopReason > const &  scriptResult = {} 
)

Definition at line 23346 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 6192 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 1638 of file Player.h.

+ Here is the caller graph for this function:

◆ AddAuraVision()

void Player::AddAuraVision ( PlayerFieldByte2Flags  flags)
inline

Definition at line 3017 of file Player.h.

◆ AddBattlegroundQueueId()

uint32 Player::AddBattlegroundQueueId ( BattlegroundQueueTypeId  val)

Definition at line 25780 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 2972 of file Player.h.

+ Here is the caller graph for this function:

◆ AddCurrency()

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

Definition at line 7286 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 13425 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 13339 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 6379 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 2955 of file Player.h.

+ Here is the caller graph for this function:

◆ AddHonorXP()

void Player::AddHonorXP ( uint32  xp)

Definition at line 6959 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 2980 of file Player.h.

+ Here is the caller graph for this function:

◆ AddIllusionFlag()

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

Definition at line 2981 of file Player.h.

+ Here is the caller graph for this function:

◆ AddInstanceEnterTime()

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

Definition at line 20220 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 29614 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 26161 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 13035 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)

Definition at line 9098 of file Player.cpp.

+ Here is the caller graph for this function:

◆ AddMail()

void Player::AddMail ( Mail mail)

Definition at line 2613 of file Player.cpp.

+ Here is the caller graph for this function:

◆ AddMItem()

void Player::AddMItem ( Item it)

Definition at line 22454 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 2664 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 30700 of file Player.cpp.

+ Here is the caller graph for this function:

◆ AddPetAura()

void Player::AddPetAura ( PetAura const *  petSpell)

Definition at line 22228 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 29645 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 27784 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 14828 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 14676 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 29554 of file Player.cpp.

+ Here is the caller graph for this function:

◆ AddSelfResSpell()

void Player::AddSelfResSpell ( int32  spellId)
inline

Definition at line 2986 of file Player.h.

+ 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< PlayerSpellTrait trait = {} 
)

Definition at line 2762 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 30758 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 22908 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 2741 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 2685 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 3126 of file Player.cpp.

+ Here is the caller graph for this function:

◆ AddTimedQuest()

void Player::AddTimedQuest ( uint32  questId)

Definition at line 17510 of file Player.cpp.

+ 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 Object.

Definition at line 1534 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 2963 of file Player.h.

+ Here is the caller graph for this function:

◆ AddTradeableItem()

void Player::AddTradeableItem ( Item item)

Definition at line 13287 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 29154 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 2969 of file Player.h.

+ Here is the caller graph for this function:

◆ AddTransmogFlag()

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

Definition at line 2970 of file Player.h.

+ Here is the caller graph for this function:

◆ AddUnlockedTransmogOutfit()

void Player::AddUnlockedTransmogOutfit ( int32  transmogOutfitIds)
inline

Definition at line 3049 of file Player.h.

+ Here is the caller graph for this function:

◆ AddUnlockedTransmogOutfits()

void Player::AddUnlockedTransmogOutfits ( std::span< int32 const >  transmogOutfitIds)

Definition at line 31124 of file Player.cpp.

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

◆ AddWarbandScenesBlock()

void Player::AddWarbandScenesBlock ( uint32  blockValue)
inline

Definition at line 2983 of file Player.h.

◆ AddWarbandScenesFlag()

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

Definition at line 2984 of file Player.h.

+ Here is the caller graph for this function:

◆ AddWeaponProficiency()

void Player::AddWeaponProficiency ( uint32  newflag)
inline

Definition at line 1637 of file Player.h.

+ Here is the caller graph for this function:

◆ AddWhisperWhiteList()

void Player::AddWhisperWhiteList ( ObjectGuid  guid)
inline

Definition at line 2868 of file Player.h.

+ Here is the caller graph for this function:

◆ AdjustQuestObjectiveProgress()

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

Definition at line 16351 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 1243 of file Player.h.

+ Here is the caller graph for this function:

◆ ApplyAllAzeriteEmpoweredItemMods()

void Player::ApplyAllAzeriteEmpoweredItemMods ( bool  apply)

Definition at line 9066 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 9052 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 8508 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 8482 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 8602 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 8624 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 8587 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 8656 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 8563 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 4975 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 13449 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 13455 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 25205 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 8409 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 800 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 8351 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 8386 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 8912 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 8931 of file Player.cpp.

+ Here is the call graph for this function:

◆ ApplyItemObtainSpells()

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

Definition at line 8281 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 794 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 2216 of file Player.h.

◆ ApplyModDamageDonePercent()

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

Definition at line 2217 of file Player.h.

◆ ApplyModDamageDonePos()

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

Definition at line 2215 of file Player.h.

+ Here is the caller graph for this function:

◆ ApplyModFakeInebriation()

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

Definition at line 2951 of file Player.h.

◆ ApplyModOverrideAPBySpellPowerPercent()

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

Definition at line 3005 of file Player.h.

+ Here is the caller graph for this function:

◆ ApplyModOverrideSpellPowerByAPPercent()

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

Definition at line 3003 of file Player.h.

+ Here is the caller graph for this function:

◆ ApplyModTargetPhysicalResistance()

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

Definition at line 2206 of file Player.h.

+ Here is the caller graph for this function:

◆ ApplyModTargetResistance()

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

Definition at line 2205 of file Player.h.

+ Here is the caller graph for this function:

◆ ApplyModToSpell()

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

Definition at line 23008 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 5248 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 5316 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 22893 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 29434 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 29445 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 29251 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 16552 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 26862 of file Player.cpp.

+ Here is the call graph for this function:

◆ AtExitCombat()

void Player::AtExitCombat ( )
overridevirtual

Reimplemented from Unit.

Definition at line 26869 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 1575 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 27179 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 11783 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 26170 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 11984 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 BaseEntity.

Definition at line 3593 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 4321 of file Player.cpp.

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

◆ BuildValuesCreate()

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

Implements Object.

Definition at line 3616 of file Player.cpp.

◆ BuildValuesUpdate()

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

Implements Object.

Definition at line 3625 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,
bool  ignoreNestedChangesMask 
) const

Definition at line 3659 of file Player.cpp.

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

◆ BuildValuesUpdateWithFlag()

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

Reimplemented from Object.

Definition at line 3642 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 23540 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,
uint32  count,
uint8  bag,
uint8  slot 
)

Definition at line 23716 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 26607 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 6512 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 3066 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 14534 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 24498 of file Player.cpp.

+ Here is the call graph for this function:

◆ CanApplyResilience()

bool Player::CanApplyResilience ( ) const
inlineoverridevirtual

Reimplemented from Unit.

Definition at line 2239 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 11064 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 2105 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 2491 of file Player.h.

+ Here is the caller graph for this function:

◆ CanCaptureTowerPoint()

bool Player::CanCaptureTowerPoint ( ) const

Definition at line 27006 of file Player.cpp.

+ Here is the call graph for this function:

◆ CancelPendingCastRequest()

void Player::CancelPendingCastRequest ( )

Definition at line 31586 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 14558 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 14605 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 31068 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 2875 of file Player.h.

◆ CanEquipChildItem()

InventoryResult Player::CanEquipChildItem ( Item parentItem) const

Definition at line 10979 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 10788 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 10774 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 27428 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,
BonusData const &  itemBonus,
uint8  except_slot = NULL_SLOT,
uint32  limit_count = 1 
) const

Definition at line 27460 of file Player.cpp.

+ Here is the call graph for this function:

◆ CanExecutePendingSpellCastRequest()

bool Player::CanExecutePendingSpellCastRequest ( )
private

Definition at line 31809 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 2874 of file Player.h.

◆ CanInteractWithQuestGiver()

bool Player::CanInteractWithQuestGiver ( Object questGiver) const

Definition at line 1885 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 4834 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 24387 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,
bool  ignorePhaseShift = false 
) const
overrideprotectedvirtual

Reimplemented from WorldObject.

Definition at line 24491 of file Player.cpp.

+ Here is the call graph for this function:

◆ CanNoReagentCast()

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

Definition at line 26276 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 2489 of file Player.h.

+ Here is the caller graph for this function:

◆ CanReportAfkDueToLimit()

bool Player::CanReportAfkDueToLimit ( )

Definition at line 24398 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 31604 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 14619 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 14731 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 11326 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 28053 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 28086 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 14508 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 14993 of file Player.cpp.

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

◆ CanSellItemToVendor()

Optional< SellResult > Player::CanSellItemToVendor ( Item const *  item,
uint32  amount 
) const

Definition at line 23942 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 15976 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 10055 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 10303 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 10178 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 10253 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 10103 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 10560 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 10050 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 10045 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 9986 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 1546 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 14522 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 2496 of file Player.h.

+ Here is the caller graph for this function:

◆ CanTitanGrip()

bool Player::CanTitanGrip ( ) const
inline

Definition at line 2493 of file Player.h.

+ Here is the caller graph for this function:

◆ CanUnderstandLanguage()

bool Player::CanUnderstandLanguage ( Language  language) const

Definition at line 22433 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 11019 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 9533 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 26681 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 26976 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 11214 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 11273 of file Player.cpp.

+ Here is the call graph for this function:

◆ CanUseMastery()

bool Player::CanUseMastery ( ) const

Definition at line 30610 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 8262 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 8667 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 8717 of file Player.cpp.

+ Here is the call graph for this function:

◆ CastItemUseSpell()

void Player::CastItemUseSpell ( Item item,
SpellCastTargets const &  targets,
ObjectGuid  castCount,
std::array< int32, 3 > const &  misc 
)

Definition at line 8844 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 22583 of file Player.cpp.

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

◆ CheckAreaExplore()

void Player::CheckAreaExplore ( )

Definition at line 6305 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 8373 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 7756 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 20213 of file Player.cpp.

+ Here is the caller graph for this function:

◆ CheckInstanceValidity()

bool Player::CheckInstanceValidity ( bool  )

Definition at line 20180 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 30643 of file Player.cpp.

+ Here is the caller graph for this function:

◆ CheckLoadedLegacyRaidDifficultyID()

Difficulty Player::CheckLoadedLegacyRaidDifficultyID ( Difficulty  difficulty)
static

Definition at line 30673 of file Player.cpp.

+ Here is the caller graph for this function:

◆ CheckLoadedRaidDifficultyID()

Difficulty Player::CheckLoadedRaidDifficultyID ( Difficulty  difficulty)
static

Definition at line 30658 of file Player.cpp.

+ Here is the caller graph for this function:

◆ CheckTitanGripPenalty()

void Player::CheckTitanGripPenalty ( )

Definition at line 13211 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 23365 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 4864 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 378 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 2617 of file Player.h.

+ Here is the caller graph for this function:

◆ ClearQuestSharingInfo()

void Player::ClearQuestSharingInfo ( )
inline

Definition at line 1837 of file Player.h.

+ Here is the caller graph for this function:

◆ ClearResurrectRequestData()

void Player::ClearResurrectRequestData ( )
inline

Definition at line 2091 of file Player.h.

+ Here is the caller graph for this function:

◆ ClearSelfResSpell()

void Player::ClearSelfResSpell ( )
inline

Definition at line 2993 of file Player.h.

+ Here is the caller graph for this function:

◆ ClearValuesChangesMask()

void Player::ClearValuesChangesMask ( )
overrideprotectedvirtual

Reimplemented from Object.

Definition at line 3728 of file Player.cpp.

+ Here is the call graph for this function:

◆ ClearWhisperWhiteList()

void Player::ClearWhisperWhiteList ( )
inline

Definition at line 2867 of file Player.h.

+ Here is the caller graph for this function:

◆ CompletedAchievement()

void Player::CompletedAchievement ( AchievementEntry const *  entry)

Definition at line 27605 of file Player.cpp.

+ Here is the caller graph for this function:

◆ CompleteQuest()

void Player::CompleteQuest ( uint32  quest_id)

Definition at line 14936 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 20031 of file Player.cpp.

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

◆ ContinueTaxiFlight()

void Player::ContinueTaxiFlight ( )

Definition at line 23372 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 24234 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 386 of file Player.cpp.

+ Here is the call graph for this function:

◆ CreateCorpse()

Corpse * Player::CreateCorpse ( )

Definition at line 4503 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 30149 of file Player.cpp.

+ Here is the caller graph for this function:

◆ CreateTraitConfig()

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

Definition at line 29124 of file Player.cpp.

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

◆ CreateTransmogOutfit()

void Player::CreateTransmogOutfit ( uint32  id,
WorldPackets::Transmogrification::TransmogOutfitDataInfo const &  outfitData 
)

Definition at line 31131 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 16730 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 25601 of file Player.cpp.

+ Here is the call graph for this function:

◆ DeleteEquipmentSet()

void Player::DeleteEquipmentSet ( uint64  id)

Definition at line 28415 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 3767 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 30156 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 4281 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 4297 of file Player.cpp.

+ Here is the call graph for this function:

◆ DeletePetFromDB()

void Player::DeletePetFromDB ( uint32  petNumber)

Definition at line 22179 of file Player.cpp.

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

◆ DeleteRefundReference()

void Player::DeleteRefundReference ( ObjectGuid  it)

Definition at line 29559 of file Player.cpp.

+ Here is the caller graph for this function:

◆ DeleteTraitConfig()

void Player::DeleteTraitConfig ( int32  deletedConfigId)

Definition at line 29420 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 16314 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 12446 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 const *  target) const
overridevirtual

Reimplemented from BaseEntity.

Definition at line 3716 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 12121 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 12508 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 12222 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 12419 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 27942 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 27885 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 30833 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 7793 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 4591 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 4567 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 4665 of file Player.cpp.

+ Here is the call graph for this function:

◆ DurabilityPointsLoss()

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

Definition at line 4635 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 4611 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 4758 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 4674 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 27963 of file Player.cpp.

+ Here is the call graph for this function:

◆ EnablePvpRules()

void Player::EnablePvpRules ( bool  dueToCombat = false)

Definition at line 27860 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 24163 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 627 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 11705 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 11589 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 11576 of file Player.cpp.

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

◆ EquipTransmogOutfit()

void Player::EquipTransmogOutfit ( uint32  id,
TransmogSituationTrigger  trigger,
Optional< bool >  locked 
)

Definition at line 31251 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 31617 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 27582 of file Player.cpp.

+ Here is the caller graph for this function:

◆ FailQuest()

void Player::FailQuest ( uint32  quest_id)

Definition at line 15347 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 15395 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 25516 of file Player.cpp.

+ Here is the caller graph for this function:

◆ FindEquipSlot()

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

Definition at line 9281 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 16383 of file Player.cpp.

+ Here is the caller graph for this function:

◆ FinishTaxiFlight()

void Player::FinishTaxiFlight ( )

Definition at line 23356 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 1404 of file Player.h.

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

◆ GetAccountBankTabCount()

uint8 Player::GetAccountBankTabCount ( ) const
inline

Definition at line 1505 of file Player.h.

+ Here is the caller graph for this function:

◆ GetAchievementPoints()

uint32 Player::GetAchievementPoints ( ) const

Definition at line 27562 of file Player.cpp.

+ Here is the caller graph for this function:

◆ GetActionButton()

ActionButton const * Player::GetActionButton ( uint8  button)

Definition at line 6223 of file Player.cpp.

+ Here is the caller graph for this function:

◆ GetActionButtons()

ActionButtonList const & Player::GetActionButtons ( ) const
inline

Definition at line 2046 of file Player.h.

◆ GetActiveQuestObjectiveForSpawnTracking()

QuestObjective const * Player::GetActiveQuestObjectiveForSpawnTracking ( uint32  spawnTrackingId) const

Definition at line 17549 of file Player.cpp.

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

◆ GetActiveTalentGroup()

uint8 Player::GetActiveTalentGroup ( ) const
inline

Definition at line 2010 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 2265 of file Player.h.

+ Here is the caller graph for this function:

◆ GetArenaPersonalRating()

uint32 Player::GetArenaPersonalRating ( uint8  slot) const

Definition at line 23140 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 2175 of file Player.h.

+ Here is the caller graph for this function:

◆ GetArenaTeamIdInvited()

uint32 Player::GetArenaTeamIdInvited ( ) const
inline

Definition at line 2178 of file Player.h.

◆ GetArmorProficiency()

uint32 Player::GetArmorProficiency ( ) const
inline

Definition at line 1640 of file Player.h.

+ Here is the caller graph for this function:

◆ GetAttackBySlot()

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

Definition at line 9736 of file Player.cpp.

+ Here is the caller graph for this function:

◆ GetAverageItemLevel()

float Player::GetAverageItemLevel ( ) const

Definition at line 30033 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 9659 of file Player.cpp.

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

◆ GetBagSlotFlags()

EnumFlag< BagSlotFlags > Player::GetBagSlotFlags ( uint32  bagIndex) const
inline

Definition at line 1530 of file Player.h.

+ Here is the caller graph for this function:

◆ GetBankBagSlotCount()

uint8 Player::GetBankBagSlotCount ( ) const
inline

Definition at line 1501 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 27013 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 5075 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 6052 of file Player.cpp.

+ Here is the call graph for this function:
+ 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 2236 of file Player.h.

+ Here is the caller graph for this function:

◆ GetBattleground()

Battleground * Player::GetBattleground ( ) const

Definition at line 25719 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 2607 of file Player.h.

+ Here is the caller graph for this function:

◆ GetBattlegroundId()

uint32 Player::GetBattlegroundId ( ) const
inline

Definition at line 2586 of file Player.h.

+ Here is the caller graph for this function:

◆ GetBattlegroundQueueIndex()

uint32 Player::GetBattlegroundQueueIndex ( BattlegroundQueueTypeId  bgQueueTypeId) const

Definition at line 25752 of file Player.cpp.

+ Here is the caller graph for this function:

◆ GetBattlegroundQueueJoinTime()

uint32 Player::GetBattlegroundQueueJoinTime ( BattlegroundQueueTypeId  bgQueueTypeId) const

Definition at line 25727 of file Player.cpp.

+ Here is the caller graph for this function:

◆ GetBattlegroundQueueTypeId()

BattlegroundQueueTypeId Player::GetBattlegroundQueueTypeId ( uint32  index) const

Definition at line 25744 of file Player.cpp.

+ Here is the caller graph for this function:

◆ GetBattlegroundTypeId()

BattlegroundTypeId Player::GetBattlegroundTypeId ( ) const
inline

Definition at line 2587 of file Player.h.

+ Here is the caller graph for this function:

◆ GetBGAccessByLevel()

bool Player::GetBGAccessByLevel ( BattlegroundTypeId  bgTypeId) const

Definition at line 25858 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 24358 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 26876 of file Player.cpp.

◆ GetCastSpellInfo()

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

Reimplemented from Unit.

Definition at line 30688 of file Player.cpp.

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

◆ GetChampioningFaction()

uint32 Player::GetChampioningFaction ( ) const
inline

Definition at line 2860 of file Player.h.

+ Here is the caller graph for this function:

◆ GetCharacterBankTabCount()

uint8 Player::GetCharacterBankTabCount ( ) const
inline

Definition at line 1503 of file Player.h.

+ Here is the caller graph for this function:

◆ GetChatFlags()

uint16 Player::GetChatFlags ( ) const

Definition at line 1208 of file Player.cpp.

+ Here is the call graph for this function:

◆ GetChildItemByGuid()

Item * Player::GetChildItemByGuid ( ObjectGuid  guid) const

Definition at line 9721 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 2110 of file Player.h.

+ Here is the caller graph for this function:

◆ GetCinematicMgr()

CinematicMgr * Player::GetCinematicMgr ( ) const
inline

Definition at line 1658 of file Player.h.

+ Here is the caller graph for this function:

◆ GetCommandStatus()

bool Player::GetCommandStatus ( uint32  command) const
inline

Definition at line 1339 of file Player.h.

+ Here is the caller graph for this function:

◆ GetCompletedAchievementIds()

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

Definition at line 27567 of file Player.cpp.

+ Here is the caller graph for this function:

◆ GetCorpse()

Corpse * Player::GetCorpse ( ) const

Definition at line 4562 of file Player.cpp.

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

◆ GetCorpseLocation()

WorldLocation const & Player::GetCorpseLocation ( ) const
inline

Definition at line 2338 of file Player.h.

+ Here is the caller graph for this function:

◆ GetCorpseReclaimDelay()

uint32 Player::GetCorpseReclaimDelay ( bool  pvp) const

Definition at line 26566 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 9600 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 2108 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 1847 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 1848 of file Player.h.

◆ GetCurrencyIncreasedCapQuantity()

uint32 Player::GetCurrencyIncreasedCapQuantity ( uint32  id) const

Definition at line 7411 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 7420 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 7384 of file Player.cpp.

+ Here is the caller graph for this function:

◆ GetCurrencyTrackedQuantity()

uint32 Player::GetCurrencyTrackedQuantity ( uint32  id) const

Definition at line 7402 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 7445 of file Player.cpp.

◆ GetCurrencyWeeklyCap() [2/2]

uint32 Player::GetCurrencyWeeklyCap ( uint32  id) const

Definition at line 7436 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 7393 of file Player.cpp.

◆ GetCustomizationChoice()

uint32 Player::GetCustomizationChoice ( uint32  chrCustomizationOptionId) const
inline

Definition at line 2922 of file Player.h.

+ Here is the caller graph for this function:

◆ GetDataElementAccount()

std::variant< int64, float > Player::GetDataElementAccount ( uint32  dataElementId) const

Definition at line 30314 of file Player.cpp.

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

◆ GetDataElementCharacter()

std::variant< int64, float > Player::GetDataElementCharacter ( uint32  dataElementId) const

Definition at line 30368 of file Player.cpp.

+ Here is the caller graph for this function:

◆ GetDeathTimer()

uint32 Player::GetDeathTimer ( ) const
inline

Definition at line 2482 of file Player.h.

+ Here is the caller graph for this function:

◆ GetDebugInfo()

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

Reimplemented from Object.

Definition at line 31462 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 2831 of file Player.h.

+ Here is the caller graph for this function:

◆ GetDefaultSpecId()

uint32 Player::GetDefaultSpecId ( ) const

Definition at line 30814 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 30627 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 5099 of file Player.cpp.

+ Here is the caller graph for this function:

◆ GetDrunkenstateByValue()

DrunkenState Player::GetDrunkenstateByValue ( uint8  value)
static

Definition at line 869 of file Player.cpp.

+ Here is the caller graph for this function:

◆ GetDrunkValue()

uint8 Player::GetDrunkValue ( ) const
inline

Definition at line 2479 of file Player.h.

+ Here is the caller graph for this function:

◆ GetDungeonDifficultyID()

Difficulty Player::GetDungeonDifficultyID ( ) const
inline

Definition at line 2183 of file Player.h.

+ Here is the caller graph for this function:

◆ GetEffectiveTeam()

Team Player::GetEffectiveTeam ( ) const
inline

Definition at line 2427 of file Player.h.

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

◆ GetEffectiveTeamId()

TeamId Player::GetEffectiveTeamId ( ) const
inline

Definition at line 2428 of file Player.h.

+ Here is the call graph for this function:

◆ GetEmpowerMinHoldStagePercent()

float Player::GetEmpowerMinHoldStagePercent ( ) const
inline

Definition at line 2087 of file Player.h.

◆ GetExpertiseDodgeOrParryReduction()

float Player::GetExpertiseDodgeOrParryReduction ( WeaponAttackType  attType) const

Definition at line 5301 of file Player.cpp.

+ Here is the caller graph for this function:

◆ GetFactionGroupForRace()

uint8 Player::GetFactionGroupForRace ( uint8  race)
static

Definition at line 6488 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 9483 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 2066 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 1960 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 1986 of file Player.cpp.

+ Here is the call graph for this function:

◆ GetGarrison()

Garrison * Player::GetGarrison ( ) const
inline

Definition at line 2883 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 2045 of file Player.h.

◆ GetGlyphs() [2/2]

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

Definition at line 2044 of file Player.h.

+ Here is the caller graph for this function:

◆ GetGossipMenuForSource()

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

Definition at line 14291 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 14269 of file Player.cpp.

+ Here is the caller graph for this function:

◆ GetGossipTextId() [2/2]

uint32 Player::GetGossipTextId ( WorldObject source)

Definition at line 14261 of file Player.cpp.

+ Here is the call graph for this function:

◆ GetGroup() [1/4]

Group * Player::GetGroup ( )
inline

Definition at line 2798 of file Player.h.

+ Here is the caller graph for this function:

◆ GetGroup() [2/4]

Group const * Player::GetGroup ( ) const
inline

Definition at line 2799 of file Player.h.

◆ GetGroup() [3/4]

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

Definition at line 2796 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 24923 of file Player.cpp.

+ Here is the call graph for this function:

◆ GetGroupInvite()

Group * Player::GetGroupInvite ( ) const
inline

Definition at line 2794 of file Player.h.

+ Here is the caller graph for this function:

◆ GetGroupRef()

GroupReference & Player::GetGroupRef ( )
inline

Definition at line 2800 of file Player.h.

◆ GetGroupUpdateFlag()

uint32 Player::GetGroupUpdateFlag ( ) const
inline

Definition at line 2803 of file Player.h.

◆ GetGuild() [1/2]

Guild * Player::GetGuild ( )

Definition at line 30511 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 30517 of file Player.cpp.

+ Here is the call graph for this function:

◆ GetGuildId()

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

Definition at line 2164 of file Player.h.

+ Here is the caller graph for this function:

◆ GetGuildIdInvited()

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

Definition at line 2167 of file Player.h.

+ Here is the caller graph for this function:

◆ GetGuildLevel()

uint32 Player::GetGuildLevel ( ) const
inline

Definition at line 2162 of file Player.h.

◆ GetGuildName()

std::string Player::GetGuildName ( ) const

Definition at line 29549 of file Player.cpp.

+ Here is the call graph for this function:

◆ GetGuildRank()

uint8 Player::GetGuildRank ( ) const
inline

Definition at line 2160 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 2467 of file Player.h.

+ Here is the caller graph for this function:

◆ GetInGameTime()

uint32 Player::GetInGameTime ( ) const
inline

Definition at line 1839 of file Player.h.

◆ GetInstanceEntrance()

WorldSafeLocsEntry const * Player::GetInstanceEntrance ( uint32  targetMapId)

Definition at line 20226 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 1499 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 12475 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 9614 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 9630 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 9637 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 9560 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 9586 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 13088 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 30870 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 12491 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 1485 of file Player.h.

+ Here is the caller graph for this function:

◆ GetJoinedChannels()

JoinedChannelsList const & Player::GetJoinedChannels ( ) const
inline

Definition at line 2365 of file Player.h.

+ Here is the caller graph for this function:

◆ GetLastPetNumber()

uint32 Player::GetLastPetNumber ( ) const
inline

Definition at line 2786 of file Player.h.

+ Here is the caller graph for this function:

◆ GetLastPotionId()

uint32 Player::GetLastPotionId ( ) const
inline

Definition at line 2083 of file Player.h.

◆ GetLegacyRaidDifficultyID()

Difficulty Player::GetLegacyRaidDifficultyID ( ) const
inline

Definition at line 2185 of file Player.h.

+ Here is the caller graph for this function:

◆ GetLevelPlayedTime()

uint32 Player::GetLevelPlayedTime ( ) const
inline

Definition at line 1348 of file Player.h.

+ Here is the caller graph for this function:

◆ GetLootByWorldObjectGUID()

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

Definition at line 9080 of file Player.cpp.

+ Here is the caller graph for this function:

◆ GetLootGUID()

ObjectGuid const & Player::GetLootGUID ( ) const
inline

Definition at line 2262 of file Player.h.

+ Here is the caller graph for this function:

◆ GetLootRoll()

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

Definition at line 9089 of file Player.cpp.

+ Here is the caller graph for this function:

◆ GetLootSpecId()

uint32 Player::GetLootSpecId ( ) const
inline

Definition at line 1998 of file Player.h.

+ Here is the caller graph for this function:

◆ GetMail()

Mail * Player::GetMail ( uint64  id)

Definition at line 3584 of file Player.cpp.

+ Here is the caller graph for this function:

◆ GetMails()

PlayerMails const & Player::GetMails ( ) const
inline

Definition at line 1934 of file Player.h.

+ Here is the caller graph for this function:

◆ GetMailSize()

uint32 Player::GetMailSize ( ) const
inline

Definition at line 1931 of file Player.h.

◆ GetMapRef()

MapReference & Player::GetMapRef ( )
inline

Definition at line 2823 of file Player.h.

+ Here is the caller graph for this function:

◆ GetMaxPersonalArenaRatingRequirement()

uint32 Player::GetMaxPersonalArenaRatingRequirement ( uint32  minarenaslot) const

Definition at line 24013 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 6025 of file Player.cpp.

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

◆ getMaxTimer()

int32 Player::getMaxTimer ( MirrorTimerType  timer) const
protected

Definition at line 684 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 8254 of file Player.cpp.

+ Here is the call graph for this function:

◆ GetMItem()

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

Definition at line 22448 of file Player.cpp.

+ Here is the caller graph for this function:

◆ GetMoney()

uint64 Player::GetMoney ( ) const
inline

Definition at line 1905 of file Player.h.

+ Here is the caller graph for this function:

◆ GetMovie()

uint32 Player::GetMovie ( ) const
inline

Definition at line 2113 of file Player.h.

+ Here is the caller graph for this function:

◆ GetNativeGender()

Gender Player::GetNativeGender ( ) const
inlineoverridevirtual

Reimplemented from Unit.

Definition at line 1350 of file Player.h.

+ Here is the caller graph for this function:

◆ GetNewWorldCounter()

int32 Player::GetNewWorldCounter ( ) const
inline

Definition at line 2401 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 14482 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 26655 of file Player.cpp.

+ Here is the call graph for this function:

◆ GetNextResetTalentsCost()

uint32 Player::GetNextResetTalentsCost ( ) const

Definition at line 3475 of file Player.cpp.

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

◆ GetNPCIfCanInteractWith()

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

Definition at line 1903 of file Player.cpp.

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

◆ GetNumRespecs()

uint8 Player::GetNumRespecs ( ) const
inline

Definition at line 3012 of file Player.h.

+ Here is the caller graph for this function:

◆ GetOriginalGroup()

Group * Player::GetOriginalGroup ( ) const
inline

Definition at line 2815 of file Player.h.

+ Here is the caller graph for this function:

◆ GetOriginalGroupRef()

GroupReference & Player::GetOriginalGroupRef ( )
inline

Definition at line 2816 of file Player.h.

◆ GetOriginalSubGroup()

uint8 Player::GetOriginalSubGroup ( ) const
inline

Definition at line 2817 of file Player.h.

+ Here is the caller graph for this function:

◆ GetOrInitPetStable()

PetStable & Player::GetOrInitPetStable ( )

Definition at line 29637 of file Player.cpp.

+ Here is the caller graph for this function:

◆ GetOutdoorPvP()

OutdoorPvP * Player::GetOutdoorPvP ( ) const

Definition at line 26206 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 2000 of file Player.h.

+ Here is the caller graph for this function:

◆ GetPassOnGroupLoot()

bool Player::GetPassOnGroupLoot ( ) const
inline

Definition at line 2821 of file Player.h.

+ Here is the caller graph for this function:

◆ GetPet()

Pet * Player::GetPet ( ) const

Definition at line 22060 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 1355 of file Player.h.

+ Here is the caller graph for this function:

◆ GetPetStable() [2/2]

PetStable const * Player::GetPetStable ( ) const
inline

Definition at line 1357 of file Player.h.

◆ GetPlayerSharingQuest()

ObjectGuid Player::GetPlayerSharingQuest ( ) const
inline

Definition at line 1835 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 2008 of file Player.h.

+ Here is the caller graph for this function:

◆ GetPrimarySpecializationEntry()

ChrSpecializationEntry const * Player::GetPrimarySpecializationEntry ( ) const

Definition at line 30819 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 5963 of file Player.cpp.

+ Here is the caller graph for this function:

◆ GetProfessionSlotFor()

int32 Player::GetProfessionSlotFor ( uint32  skillId) const

Definition at line 25503 of file Player.cpp.

+ Here is the caller graph for this function:

◆ GetPureMaxSkillValue()

uint16 Player::GetPureMaxSkillValue ( uint32  skill) const

Definition at line 6040 of file Player.cpp.

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

◆ GetPureSkillValue()

uint16 Player::GetPureSkillValue ( uint32  skill) const

Definition at line 6066 of file Player.cpp.

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

◆ GetPvpInfoForBracket()

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

Definition at line 23148 of file Player.cpp.

+ Here is the caller graph for this function:

◆ GetPvpTalentMap() [1/2]

PlayerPvpTalentMap & Player::GetPvpTalentMap ( uint8  spec)
inline

Definition at line 2043 of file Player.h.

◆ GetPvpTalentMap() [2/2]

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

Definition at line 2042 of file Player.h.

+ Here is the caller graph for this function:

◆ GetQuestDialogStatus()

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

Definition at line 16129 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 14352 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 14360 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 14331 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 14336 of file Player.cpp.

+ Here is the call graph for this function:

◆ GetQuestMoneyReward()

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

Definition at line 14976 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 17075 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 16440 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 17004 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 15945 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 16399 of file Player.cpp.

+ Here is the caller graph for this function:

◆ GetQuestSlotEndTime()

int64 Player::GetQuestSlotEndTime ( uint16  slot) const

Definition at line 16406 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 16418 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 16411 of file Player.cpp.

+ Here is the caller graph for this function:

◆ GetQuestSlotQuestId()

uint32 Player::GetQuestSlotQuestId ( uint16  slot) const

Definition at line 16389 of file Player.cpp.

+ Here is the caller graph for this function:

◆ GetQuestSlotState()

uint32 Player::GetQuestSlotState ( uint16  slot) const

Definition at line 16394 of file Player.cpp.

◆ GetQuestStatus()

QuestStatus Player::GetQuestStatus ( uint32  quest_id) const

Definition at line 15962 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 1912 of file Player.h.

+ Here is the caller graph for this function:

◆ GetQuestXPReward()

uint32 Player::GetQuestXPReward ( Quest const *  quest)

Definition at line 14981 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 2184 of file Player.h.

+ Here is the caller graph for this function:

◆ GetRandomWinner()

bool Player::GetRandomWinner ( ) const
inline

Definition at line 2624 of file Player.h.

+ Here is the caller graph for this function:

◆ GetRatingBonusValue()

float Player::GetRatingBonusValue ( CombatRating  cr) const

Definition at line 5240 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 5227 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 2179 of file Player.h.

+ Here is the caller graph for this function:

◆ GetRecentInstanceId()

uint32 Player::GetRecentInstanceId ( uint32  mapId) const
inline

Definition at line 2763 of file Player.h.

+ Here is the caller graph for this function:

◆ GetReputation()

int32 Player::GetReputation ( uint32  factionentry) const

Definition at line 29544 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 2439 of file Player.h.

+ Here is the caller graph for this function:

◆ GetReputationMgr() [2/2]

ReputationMgr const & Player::GetReputationMgr ( ) const
inline

Definition at line 2440 of file Player.h.

◆ GetReputationPriceDiscount() [1/2]

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

Definition at line 25877 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 25882 of file Player.cpp.

+ Here is the call graph for this function:

◆ GetReputationRank()

ReputationRank Player::GetReputationRank ( uint32  faction_id) const

Definition at line 6505 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 16334 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 2890 of file Player.h.

+ Here is the caller graph for this function:

◆ GetRewardedQuestCount()

size_t Player::GetRewardedQuestCount ( ) const
inline

Definition at line 1914 of file Player.h.

+ Here is the caller graph for this function:

◆ getRewardedQuests()

RewardedQuestSet const & Player::getRewardedQuests ( ) const
inline

Definition at line 1911 of file Player.h.

+ Here is the caller graph for this function:

◆ GetRuneBaseCooldown()

uint32 Player::GetRuneBaseCooldown ( ) const

Definition at line 27097 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 2833 of file Player.h.

+ Here is the caller graph for this function:

◆ GetRunesState()

uint8 Player::GetRunesState ( ) const

Definition at line 27092 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 2678 of file Player.h.

+ Here is the caller graph for this function:

◆ GetSceneMgr() [1/2]

SceneMgr & Player::GetSceneMgr ( )
inline

Definition at line 2888 of file Player.h.

+ Here is the caller graph for this function:

◆ GetSceneMgr() [2/2]

SceneMgr const & Player::GetSceneMgr ( ) const
inline

Definition at line 2889 of file Player.h.

◆ GetSelectedPlayer()

Player * Player::GetSelectedPlayer ( ) const

Definition at line 24902 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 24894 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 2272 of file Player.h.

◆ GetSharedQuestID()

uint32 Player::GetSharedQuestID ( ) const
inline

Definition at line 1834 of file Player.h.

+ Here is the caller graph for this function:

◆ GetShield()

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

Definition at line 9701 of file Player.cpp.

+ Here is the call graph for this function:

◆ GetSkillLineIdByPos()

uint16 Player::GetSkillLineIdByPos ( uint32  pos) const
inline

Definition at line 2382 of file Player.h.

+ Here is the caller graph for this function:

◆ GetSkillMaxRankByPos()

uint16 Player::GetSkillMaxRankByPos ( uint32  pos) const
inline

Definition at line 2390 of file Player.h.

+ Here is the caller graph for this function:

◆ GetSkillPermBonusByPos()

uint16 Player::GetSkillPermBonusByPos ( uint32  pos) const
inline

Definition at line 2394 of file Player.h.

+ Here is the caller graph for this function:

◆ GetSkillPermBonusValue()

int16 Player::GetSkillPermBonusValue ( uint32  skill) const

Definition at line 6078 of file Player.cpp.

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

◆ GetSkillRankByPos()

uint16 Player::GetSkillRankByPos ( uint32  pos) const
inline

Definition at line 2386 of file Player.h.

+ Here is the caller graph for this function:

◆ GetSkillStartingRankByPos()

uint16 Player::GetSkillStartingRankByPos ( uint32  pos) const
inline

Definition at line 2388 of file Player.h.

◆ GetSkillStep()

uint16 Player::GetSkillStep ( uint32  skill) const

Definition at line 5998 of file Player.cpp.

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

◆ GetSkillStepByPos()

uint16 Player::GetSkillStepByPos ( uint32  pos) const
inline

Definition at line 2384 of file Player.h.

+ Here is the caller graph for this function:

◆ GetSkillTempBonusByPos()

int16 Player::GetSkillTempBonusByPos ( uint32  pos) const
inline

Definition at line 2392 of file Player.h.

+ Here is the caller graph for this function:

◆ GetSkillTempBonusValue()

int16 Player::GetSkillTempBonusValue ( uint32  skill) const

Definition at line 6090 of file Player.cpp.

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

◆ GetSkillValue()

uint16 Player::GetSkillValue ( uint32  skill) const

Definition at line 6010 of file Player.cpp.

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

◆ GetSocial()

PlayerSocial * Player::GetSocial ( ) const
inline

Definition at line 1290 of file Player.h.

+ Here is the caller graph for this function:

◆ GetSpawnTrackingStateByObjective()

SpawnTrackingState Player::GetSpawnTrackingStateByObjective ( uint32  spawnTrackingId,
uint32  questObjectiveId 
) const

Definition at line 17581 of file Player.cpp.

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

◆ GetSpawnTrackingStateByObjectives()

SpawnTrackingState Player::GetSpawnTrackingStateByObjectives ( uint32  spawnTrackingId,
std::vector< uint32 > const &  questObjectives 
) const

Definition at line 17559 of file Player.cpp.

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

◆ GetSpellMap() [1/2]

PlayerSpellMap & Player::GetSpellMap ( )
inline

Definition at line 2071 of file Player.h.

◆ GetSpellMap() [2/2]

PlayerSpellMap const & Player::GetSpellMap ( ) const
inline

Definition at line 2070 of file Player.h.

+ Here is the caller graph for this function:

◆ GetSpellModValues()

void Player::GetSpellModValues ( SpellInfo const *  spellInfo,
SpellModOp  op,
Spell spell,
double  base,
int32 flat,
float *  pct 
) const

Definition at line 22676 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 2237 of file Player.h.

◆ GetSpiritHealerGUID()

ObjectGuid const & Player::GetSpiritHealerGUID ( ) const
inline

Definition at line 3065 of file Player.h.

◆ GetsRecruitAFriendBonus()

bool Player::GetsRecruitAFriendBonus ( bool  forXP)

Definition at line 26371 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 29847 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 24439 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 2754 of file Player.cpp.

+ Here is the call graph for this function:

◆ GetSubGroup()

uint8 Player::GetSubGroup ( ) const
inline

Definition at line 2802 of file Player.h.

+ Here is the caller graph for this function:

◆ GetSummonedBattlePet()

Creature * Player::GetSummonedBattlePet ( ) const

Definition at line 22242 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 2995 of file Player.h.

+ Here is the caller graph for this function:

◆ GetTalentMap() [1/2]

PlayerTalentMap * Player::GetTalentMap ( uint8  spec)
inline

Definition at line 2041 of file Player.h.

◆ GetTalentMap() [2/2]

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

Definition at line 2040 of file Player.h.

+ Here is the caller graph for this function:

◆ GetTalentResetCost()

uint32 Player::GetTalentResetCost ( ) const
inline

Definition at line 2004 of file Player.h.

+ Here is the caller graph for this function:

◆ GetTalentResetTime()

time_t Player::GetTalentResetTime ( ) const
inline

Definition at line 2006 of file Player.h.

+ Here is the caller graph for this function:

◆ GetTeam()

Team Player::GetTeam ( ) const
inline

Definition at line 2423 of file Player.h.

+ Here is the caller graph for this function:

◆ GetTeamId()

TeamId Player::GetTeamId ( ) const
inline

Definition at line 2424 of file Player.h.

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

◆ GetTeleportDest()

TeleportLocation & Player::GetTeleportDest ( )
inline

Definition at line 2397 of file Player.h.

+ Here is the caller graph for this function:

◆ GetTeleportOptions()

EnumFlag< TeleportToOptions > Player::GetTeleportOptions ( ) const
inline

Definition at line 2400 of file Player.h.

+ Here is the caller graph for this function:

◆ GetTeleportState()

TeleportState Player::GetTeleportState ( ) const
inline

Definition at line 2398 of file Player.h.

+ Here is the caller graph for this function:

◆ GetTemporaryPetReactState()

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

Definition at line 2735 of file Player.h.

+ Here is the caller graph for this function:

◆ GetTemporaryUnsummonedPetNumber()

uint32 Player::GetTemporaryUnsummonedPetNumber ( ) const
inline

Definition at line 2733 of file Player.h.

+ Here is the caller graph for this function:

◆ GetTotalBaseModValue()

float Player::GetTotalBaseModValue ( BaseModGroup  modGroup) const

Definition at line 5087 of file Player.cpp.

+ Here is the call graph for this function:

◆ GetTotalPlayedTime()

uint32 Player::GetTotalPlayedTime ( ) const
inline

Definition at line 1347 of file Player.h.

+ Here is the caller graph for this function:

◆ GetTradeData()

TradeData * Player::GetTradeData ( ) const
inline

Definition at line 1655 of file Player.h.

+ Here is the caller graph for this function:

◆ GetTrader()

Player * Player::GetTrader ( ) const

Definition at line 25894 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 29192 of file Player.cpp.

+ Here is the caller graph for this function:

◆ GetTraitInfoForSpell()

Optional< PlayerSpellTrait > Player::GetTraitInfoForSpell ( uint32  spellId) const

Definition at line 29533 of file Player.cpp.

+ Here is the call graph for this function:

◆ GetUpdateFieldFlagsFor()

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

Reimplemented from BaseEntity.

Definition at line 3607 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 9647 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 26968 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 9669 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 1639 of file Player.h.

+ Here is the caller graph for this function:

◆ GetXP()

uint32 Player::GetXP ( ) const
inline

Definition at line 1329 of file Player.h.

+ Here is the caller graph for this function:

◆ GetXPForNextLevel()

uint32 Player::GetXPForNextLevel ( ) const
inline

Definition at line 1330 of file Player.h.

+ Here is the caller graph for this function:

◆ GetZoneIdFromDB()

uint32 Player::GetZoneIdFromDB ( ObjectGuid  guid)
static

Definition at line 7498 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 2257 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 15878 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 2199 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 16573 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 4962 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 729 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 27499 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 3151 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 860 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 27572 of file Player.cpp.

+ Here is the caller graph for this function:

◆ HasActiveSpell()

bool Player::HasActiveSpell ( uint32  spell) const

Definition at line 3748 of file Player.cpp.

+ Here is the caller graph for this function:

◆ HasAtLoginFlag()

bool Player::HasAtLoginFlag ( AtLoginFlags  f) const
inline

Definition at line 2722 of file Player.h.

+ Here is the caller graph for this function:

◆ HasBeenGrantedLevelsFromRaF()

bool Player::HasBeenGrantedLevelsFromRaF ( ) const
inline

Definition at line 1322 of file Player.h.

+ Here is the caller graph for this function:

◆ HasClaimedFreeTransmog()

bool Player::HasClaimedFreeTransmog ( ) const
inline

Definition at line 1326 of file Player.h.

◆ HasCorpse()

bool Player::HasCorpse ( ) const
inline

Definition at line 2337 of file Player.h.

+ Here is the caller graph for this function:

◆ HasCurrency()

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

Definition at line 7451 of file Player.cpp.

+ Here is the caller graph for this function:

◆ HasDataFlagAccount()

bool Player::HasDataFlagAccount ( uint32  dataFlagId) const

Definition at line 30416 of file Player.cpp.

+ Here is the caller graph for this function:

◆ HasDataFlagCharacter()

bool Player::HasDataFlagCharacter ( uint32  dataFlagId) const

Definition at line 30453 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 1908 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 1907 of file Player.h.

+ Here is the caller graph for this function:

◆ HasExploredZone()

bool Player::HasExploredZone ( uint32  areaId) const

Definition at line 6397 of file Player.cpp.

+ Here is the caller graph for this function:

◆ HasFreeBattlegroundQueueId()

bool Player::HasFreeBattlegroundQueueId ( ) const

Definition at line 25796 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 9966 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 9904 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 26211 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 9923 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 10063 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 9947 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 1324 of file Player.h.

+ Here is the caller graph for this function:

◆ HasPendingBind()

bool Player::HasPendingBind ( ) const
inline

Definition at line 2777 of file Player.h.

+ Here is the caller graph for this function:

◆ HasPlayerFlag()

bool Player::HasPlayerFlag ( PlayerFlags  flags) const
inline

Definition at line 2910 of file Player.h.

+ Here is the caller graph for this function:

◆ HasPlayerFlagEx()

bool Player::HasPlayerFlagEx ( PlayerFlagsEx  flags) const
inline

Definition at line 2915 of file Player.h.

+ Here is the caller graph for this function:

◆ HasPlayerLocalFlag()

bool Player::HasPlayerLocalFlag ( PlayerLocalFlags  flags) const
inline

Definition at line 3007 of file Player.h.

+ Here is the caller graph for this function:

◆ HasPvPForcingQuest()

bool Player::HasPvPForcingQuest ( ) const

Definition at line 17520 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 27900 of file Player.cpp.

+ Here is the caller graph for this function:

◆ HasPvpTalent()

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

Definition at line 27855 of file Player.cpp.

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

◆ HasQuestForCurrency()

bool Player::HasQuestForCurrency ( uint32  currencyId) const

Definition at line 17037 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 25928 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 16963 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 1320 of file Player.h.

+ Here is the caller graph for this function:

◆ HasSkill()

bool Player::HasSkill ( uint32  skill) const

Definition at line 5989 of file Player.cpp.

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

◆ HasSpell()

bool Player::HasSpell ( uint32  spell) const
overridevirtual

Reimplemented from Unit.

Definition at line 3735 of file Player.cpp.

+ Here is the caller graph for this function:

◆ HasSummonPending()

bool Player::HasSummonPending ( ) const

Definition at line 26069 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 3742 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 27062 of file Player.cpp.

◆ HasTitle() [2/2]

bool Player::HasTitle ( uint32  bitIndex) const

Definition at line 27052 of file Player.cpp.

+ Here is the caller graph for this function:

◆ HaveAtClient()

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

Definition at line 24475 of file Player.cpp.

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

◆ Heartbeat()

void Player::Heartbeat ( )
overridevirtual

Reimplemented from WorldObject.

Definition at line 1128 of file Player.cpp.

+ Here is the call graph for this function:

◆ InArena()

bool Player::InArena ( ) const

Definition at line 25849 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 2584 of file Player.h.

+ Here is the caller graph for this function:

◆ InBattlegroundQueue()

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

Definition at line 25735 of file Player.cpp.

+ Here is the caller graph for this function:

◆ InBattlegroundQueueForBattlegroundQueueType()

bool Player::InBattlegroundQueueForBattlegroundQueueType ( BattlegroundQueueTypeId  bgQueueTypeId) const

Definition at line 25768 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 14964 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 7296 of file Player.cpp.

+ Here is the call graph for this function:

◆ InitDataForForm()

void Player::InitDataForForm ( bool  reapplyMods = false)

Definition at line 23434 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 23458 of file Player.cpp.

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

◆ InitializeNewTransmogOutfit()

void Player::InitializeNewTransmogOutfit ( UF::MutableFieldReference< UF::TransmogOutfitData, false >  outfit,
uint32  id,
WorldPackets::Transmogrification::TransmogOutfitDataInfo const &  outfitData 
)

Definition at line 31138 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 26327 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 5726 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 24845 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 24059 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 27160 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 2395 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 2361 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 1294 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 26737 of file Player.cpp.

+ Here is the call graph for this function:

◆ InterruptPowerRegen()

void Player::InterruptPowerRegen ( Powers  power)

Definition at line 1801 of file Player.cpp.

+ Here is the call graph for this function:

◆ isAcceptWhispers()

bool Player::isAcceptWhispers ( ) const
inline

Definition at line 1307 of file Player.h.

+ Here is the caller graph for this function:

◆ IsAccountBankPos() [1/2]

static bool Player::IsAccountBankPos ( uint16  pos)
inlinestatic

Definition at line 1495 of file Player.h.

+ Here is the caller graph for this function:

◆ IsAccountBankPos() [2/2]

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

Definition at line 9801 of file Player.cpp.

◆ IsActionButtonDataValid()

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

Definition at line 6115 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 14477 of file Player.cpp.

+ Here is the caller graph for this function:

◆ IsAdvancedCombatLoggingEnabled()

bool Player::IsAdvancedCombatLoggingEnabled ( ) const
inline

Definition at line 2885 of file Player.h.

+ Here is the caller graph for this function:

◆ IsAffectedBySpellmod()

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

Definition at line 22629 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 1283 of file Player.h.

+ Here is the caller graph for this function:

◆ isAllowedToLoot()

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

Definition at line 18944 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 24512 of file Player.cpp.

+ Here is the call graph for this function:

◆ IsAreaThatActivatesPvpTalents()

bool Player::IsAreaThatActivatesPvpTalents ( uint32  areaID) const

Definition at line 27910 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 26434 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 26449 of file Player.cpp.

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

◆ IsBackpackAutoSortDisabled()

bool Player::IsBackpackAutoSortDisabled ( ) const
inline

Definition at line 1524 of file Player.h.

◆ IsBackpackSellJunkDisabled()

bool Player::IsBackpackSellJunkDisabled ( ) const
inline

Definition at line 1526 of file Player.h.

+ Here is the caller graph for this function:

◆ IsBagPos()

bool Player::IsBagPos ( uint16  pos)
static

Definition at line 9783 of file Player.cpp.

+ Here is the caller graph for this function:

◆ IsBankAutoSortDisabled()

bool Player::IsBankAutoSortDisabled ( ) const
inline

Definition at line 1528 of file Player.h.

◆ IsBankPos() [1/2]

static bool Player::IsBankPos ( uint16  pos)
inlinestatic

Definition at line 1491 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 9774 of file Player.cpp.

◆ IsBeingTeleported()

bool Player::IsBeingTeleported ( ) const
inline

Definition at line 2402 of file Player.h.

+ Here is the caller graph for this function:

◆ IsBeingTeleportedFar()

bool Player::IsBeingTeleportedFar ( ) const
inline

Definition at line 2405 of file Player.h.

+ Here is the caller graph for this function:

◆ IsBeingTeleportedNear()

bool Player::IsBeingTeleportedNear ( ) const
inline

Definition at line 2403 of file Player.h.

◆ IsCanDelayTeleport()

bool Player::IsCanDelayTeleport ( ) const
inlineprivate

Definition at line 3358 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 1493 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 9796 of file Player.cpp.

◆ IsDailyQuestDone()

bool Player::IsDailyQuestDone ( uint32  quest_id) const

Definition at line 25574 of file Player.cpp.

◆ IsDeserter()

bool Player::IsDeserter ( ) const
inline

Definition at line 2592 of file Player.h.

+ Here is the caller graph for this function:

◆ IsDeveloper()

bool Player::IsDeveloper ( ) const
inline

Definition at line 1305 of file Player.h.

+ Here is the caller graph for this function:

◆ isDND()

bool Player::isDND ( ) const
inline

Definition at line 1284 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 1488 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 9761 of file Player.cpp.

◆ IsFriendlyArea()

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

Definition at line 30497 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 1309 of file Player.h.

+ Here is the caller graph for this function:

◆ IsGameMasterAcceptingWhispers()

bool Player::IsGameMasterAcceptingWhispers ( ) const
inline

Definition at line 1310 of file Player.h.

+ Here is the caller graph for this function:

◆ isGMChat()

bool Player::isGMChat ( ) const
inline

Definition at line 1313 of file Player.h.

+ Here is the caller graph for this function:

◆ isGMVisible()

bool Player::isGMVisible ( ) const
inline

Definition at line 1317 of file Player.h.

+ Here is the caller graph for this function:

◆ IsGroupVisibleFor()

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

Definition at line 2131 of file Player.cpp.

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

◆ isHonorOrXPTarget()

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

Definition at line 26354 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 1597 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 621 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 27905 of file Player.cpp.

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

◆ IsInAreaTrigger()

bool Player::IsInAreaTrigger ( AreaTriggerEntry const *  areaTrigger) const

Definition at line 1998 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 30490 of file Player.cpp.

+ Here is the call graph for this function:

◆ IsInGroup()

bool Player::IsInGroup ( ObjectGuid  groupGuid) const

Definition at line 24910 of file Player.cpp.

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

◆ IsInSameGroupWith()

bool Player::IsInSameGroupWith ( 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:

◆ IsInSameRaidWith()

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

Definition at line 2149 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 20169 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 1486 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 9746 of file Player.cpp.

◆ IsInvitedForBattlegroundInstance()

bool Player::IsInvitedForBattlegroundInstance ( uint32  instanceId) const

Definition at line 25826 of file Player.cpp.

+ Here is the caller graph for this function:

◆ IsInvitedForBattlegroundQueueType()

bool Player::IsInvitedForBattlegroundQueueType ( BattlegroundQueueTypeId  bgQueueTypeId) const

Definition at line 25760 of file Player.cpp.

+ Here is the caller graph for this function:

◆ IsInWhisperWhiteList()

bool Player::IsInWhisperWhiteList ( ObjectGuid  guid)

Definition at line 30140 of file Player.cpp.

+ Here is the caller graph for this function:

◆ IsLoading()

bool Player::IsLoading ( ) const
overridevirtual

Reimplemented from Unit.

Definition at line 17958 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 21946 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 21959 of file Player.cpp.

+ Here is the call graph for this function:

◆ IsMaxHonorLevel()

bool Player::IsMaxHonorLevel ( ) const
inline

Definition at line 2470 of file Player.h.

+ Here is the caller graph for this function:

◆ IsMaxLevel()

bool Player::IsMaxLevel ( ) const

Definition at line 2356 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 25841 of file Player.cpp.

+ Here is the caller graph for this function:

◆ IsMirrorTimerActive()

bool Player::IsMirrorTimerActive ( MirrorTimerType  type) const

Definition at line 724 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 24480 of file Player.cpp.

+ Here is the call graph for this function:

◆ IsOutdoorPvPActive()

bool Player::IsOutdoorPvPActive ( ) const

Definition at line 7788 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 28048 of file Player.cpp.

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

◆ IsQuestCompletedBitSet()

bool Player::IsQuestCompletedBitSet ( uint32  questId) const

Definition at line 16517 of file Player.cpp.

+ Here is the caller graph for this function:

◆ IsQuestObjectiveCompletable() [1/2]

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

Definition at line 17133 of file Player.cpp.

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

◆ IsQuestObjectiveCompletable() [2/2]

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

Definition at line 17191 of file Player.cpp.

+ Here is the call graph for this function:

◆ IsQuestObjectiveComplete() [1/2]

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

Definition at line 17208 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 17267 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 17284 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 24889 of file Player.cpp.

+ Here is the caller graph for this function:

◆ IsReagentBankUnlocked()

bool Player::IsReagentBankUnlocked ( ) const
inline

Definition at line 2878 of file Player.h.

+ Here is the caller graph for this function:

◆ IsResurrectRequested()

bool Player::IsResurrectRequested ( ) const
inline

Definition at line 2104 of file Player.h.

+ Here is the caller graph for this function:

◆ IsResurrectRequestedBy()

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

Definition at line 2096 of file Player.h.

◆ IsSpellFitByClassAndRace()

bool Player::IsSpellFitByClassAndRace ( uint32  spell_id) const

Definition at line 25899 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 1315 of file Player.h.

+ Here is the caller graph for this function:

◆ isTotalImmune()

bool Player::isTotalImmune ( ) const

Definition at line 27038 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 13226 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 13196 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 26732 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 2752 of file Player.h.

+ Here is the caller graph for this function:

◆ IsUsingTwoHandedWeaponInOneHand()

bool Player::IsUsingTwoHandedWeaponInOneHand ( ) const

Definition at line 13238 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 1875 of file Player.h.

◆ IsValidGender()

static bool Player::IsValidGender ( uint8  Gender)
inlinestatic

Definition at line 1874 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 1497 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 9808 of file Player.cpp.

+ Here is the call graph for this function:

◆ IsValidRace()

static bool Player::IsValidRace ( uint8  Race)
inlinestatic

Definition at line 1876 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 24528 of file Player.cpp.

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

◆ IsWarModeActive()

bool Player::IsWarModeActive ( ) const
inline

Definition at line 3042 of file Player.h.

◆ IsWarModeDesired()

bool Player::IsWarModeDesired ( ) const
inline

Definition at line 3041 of file Player.h.

+ Here is the caller graph for this function:

◆ IsWarModeLocalActive()

bool Player::IsWarModeLocalActive ( ) const
inline

Definition at line 3043 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 16599 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 16640 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 4854 of file Player.cpp.

+ Here is the caller graph for this function:

◆ KillCreditCriteriaTreeObjective()

void Player::KillCreditCriteriaTreeObjective ( QuestObjective const &  questObjective)

Definition at line 16713 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 16703 of file Player.cpp.

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

◆ KilledMonster()

void Player::KilledMonster ( Creature const *  creature)

Definition at line 16663 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 16679 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 16697 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 4460 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 25298 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 25336 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 25318 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 27729 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 25437 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 25377 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 25450 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 30716 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< PlayerSpellTrait trait = {} 
)

Definition at line 3178 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 27615 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 23122 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 24363 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 4950 of file Player.cpp.

◆ LeftChannel()

void Player::LeftChannel ( Channel c)

Definition at line 4859 of file Player.cpp.

+ Here is the caller graph for this function:

◆ LoadActions()

void Player::LoadActions ( PreparedQueryResult  result)

Definition at line 29117 of file Player.cpp.

+ Here is the call graph for this function:

◆ LoadCorpse()

void Player::LoadCorpse ( PreparedQueryResult  result)

Definition at line 19155 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 17963 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 17905 of file Player.cpp.

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

◆ MeetPlayerCondition()

bool Player::MeetPlayerCondition ( uint32  conditionId) const

Definition at line 30309 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 27610 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 7146 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 24850 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 5679 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 16718 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 12075 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 12093 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 26800 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 4494 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 14054 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 31455 of file Player.cpp.

+ Here is the call graph for this function:

◆ outDebugValues()

void Player::outDebugValues ( ) const
protected

Definition at line 21752 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 22471 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 22510 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 13927 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 14376 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 1489 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 31721 of file Player.cpp.

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

◆ ProcessPositionDataChanged()

void Player::ProcessPositionDataChanged ( PositionFullTerrainStatus const &  data)
overridevirtual

Reimplemented from WorldObject.

Definition at line 26805 of file Player.cpp.

+ Here is the call graph for this function:

◆ PushQuests()

void Player::PushQuests ( )
protected

Definition at line 18897 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 11804 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 2229 of file Player.h.

+ Here is the caller graph for this function:

◆ Recall()

void Player::Recall ( )
inline

Definition at line 2686 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 29893 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 1650 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 1609 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 1812 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 6208 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 16005 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 13378 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 3455 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 28431 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 3018 of file Player.h.

◆ RemoveBagSlotFlag()

void Player::RemoveBagSlotFlag ( uint32  bagIndex,
EnumFlag< BagSlotFlags flags 
)
inline

Definition at line 1532 of file Player.h.

+ Here is the caller graph for this function:

◆ RemoveBattlegroundQueueId()

void Player::RemoveBattlegroundQueueId ( BattlegroundQueueTypeId  val)

Definition at line 25804 of file Player.cpp.

+ Here is the caller graph for this function:

◆ RemoveConditionalTransmog()

void Player::RemoveConditionalTransmog ( uint32  itemModifiedAppearanceId)
inline

Definition at line 2973 of file Player.h.

+ Here is the caller graph for this function:

◆ RemoveCurrency()

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

Definition at line 7291 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 9110 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 13352 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 13367 of file Player.cpp.

+ Here is the caller graph for this function:

◆ RemoveExploredZones()

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

Definition at line 6388 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 26758 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 2178 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 2155 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 2870 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 Object.

Definition at line 1548 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 2805 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 11989 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 26295 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 26149 of file Player.cpp.

+ Here is the caller graph for this function:

◆ RemoveItemFromBuyBackSlot()

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

Definition at line 13097 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 9103 of file Player.cpp.

+ Here is the caller graph for this function:

◆ RemoveMail()

void Player::RemoveMail ( uint64  id)

Definition at line 2600 of file Player.cpp.

+ Here is the caller graph for this function:

◆ RemoveMItem()

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

Definition at line 22461 of file Player.cpp.

+ Here is the caller graph for this function:

◆ RemoveOverrideSpell()

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

Definition at line 30705 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 22084 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 22235 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 23106 of file Player.cpp.

+ Here is the caller graph for this function:

◆ RemovePlayerFlag()

void Player::RemovePlayerFlag ( PlayerFlags  flags)
inline

Definition at line 2912 of file Player.h.

+ Here is the caller graph for this function:

◆ RemovePlayerFlagEx()

void Player::RemovePlayerFlagEx ( PlayerFlagsEx  flags)
inline

Definition at line 2917 of file Player.h.

+ Here is the caller graph for this function:

◆ RemovePlayerLocalFlag()

void Player::RemovePlayerLocalFlag ( PlayerLocalFlags  flags)
inline

Definition at line 3009 of file Player.h.

+ Here is the caller graph for this function:

◆ RemovePvpTalent()

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

Definition at line 27814 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 16510 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 16489 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 16038 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 2987 of file Player.h.

+ Here is the caller graph for this function:

◆ RemoveSocial()

void Player::RemoveSocial ( )

Definition at line 30808 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 30734 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 3223 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 30783 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 2748 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 2719 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 3139 of file Player.cpp.

+ Here is the caller graph for this function:

◆ RemoveTimedQuest()

void Player::RemoveTimedQuest ( uint32  questId)

Definition at line 17515 of file Player.cpp.

+ Here is the caller graph for this function:

◆ RemoveTrackCreatureFlag()

void Player::RemoveTrackCreatureFlag ( uint32  flags)
inline

Definition at line 2999 of file Player.h.

+ Here is the caller graph for this function:

◆ RemoveTradeableItem()

void Player::RemoveTradeableItem ( Item item)

Definition at line 13292 of file Player.cpp.

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

◆ RemoveVisibleForcedReaction()

void Player::RemoveVisibleForcedReaction ( uint32  factionId)

Definition at line 6616 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 29405 of file Player.cpp.

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

◆ ReplaceAllBagSlotFlags()

void Player::ReplaceAllBagSlotFlags ( uint32  bagIndex,
EnumFlag< BagSlotFlags flags 
)
inline

Definition at line 1533 of file Player.h.

+ Here is the caller graph for this function:

◆ ReplaceAllPlayerFlags()

void Player::ReplaceAllPlayerFlags ( PlayerFlags  flags)
inline

Definition at line 2913 of file Player.h.

+ Here is the caller graph for this function:

◆ ReplaceAllPlayerFlagsEx()

void Player::ReplaceAllPlayerFlagsEx ( PlayerFlagsEx  flags)
inline

Definition at line 2918 of file Player.h.

+ Here is the caller graph for this function:

◆ ReplaceAllPlayerLocalFlags()

void Player::ReplaceAllPlayerLocalFlags ( PlayerLocalFlags  flags)
inline

Definition at line 3010 of file Player.h.

◆ ReplaceAllRequiredMountCapabilityFlags()

void Player::ReplaceAllRequiredMountCapabilityFlags ( uint8  flags)
inline

Definition at line 3023 of file Player.h.

+ Here is the caller graph for this function:

◆ RepopAtGraveyard()

void Player::RepopAtGraveyard ( )

Definition at line 4788 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 24408 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 16723 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 31573 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 27552 of file Player.cpp.

+ Here is the caller graph for this function:

◆ ResetAllPowers()

void Player::ResetAllPowers ( )

Definition at line 1859 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 22022 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 7361 of file Player.cpp.

+ Here is the call graph for this function:

◆ ResetGroupUpdateSequenceIfNeeded()

void Player::ResetGroupUpdateSequenceIfNeeded ( Group const *  group)

Definition at line 26789 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 6920 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 21888 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 28446 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 25706 of file Player.cpp.

+ Here is the call graph for this function:

◆ ResetPvpTalents()

void Player::ResetPvpTalents ( )

Definition at line 3576 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 25677 of file Player.cpp.

+ Here is the call graph for this function:

◆ ResetSpells()

void Player::ResetSpells ( bool  myClassOnly = false)

Definition at line 25247 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 3508 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 27705 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 25644 of file Player.cpp.

+ Here is the call graph for this function:

◆ RestoreHealthAfterDuel()

void Player::RestoreHealthAfterDuel ( )
inline

Definition at line 2464 of file Player.h.

+ Here is the caller graph for this function:

◆ RestoreManaAfterDuel()

void Player::RestoreManaAfterDuel ( )
inline

Definition at line 2465 of file Player.h.

+ Here is the caller graph for this function:

◆ ResummonBattlePetTemporaryUnSummonedIfAny()

void Player::ResummonBattlePetTemporaryUnSummonedIfAny ( )

Definition at line 28034 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 28000 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 4379 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 26461 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 26475 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 27145 of file Player.cpp.

+ Here is the call graph for this function:

◆ RewardHonor()

bool Player::RewardHonor ( Unit victim,
uint32  groupsize,
int32  honor = -1,
HonorGainSource  source = HonorGainSource::Kill 
)

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 6763 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 26409 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 6940 of file Player.cpp.

+ Here is the call graph for this function:

◆ RewardPlayerWithRewardPack() [2/2]

void Player::RewardPlayerWithRewardPack ( uint32  rewardPackID)

Definition at line 6935 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 15061 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 15018 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 6681 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 6630 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 20074 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 15593 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 15638 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 15741 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 15817 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 15617 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 15535 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 15502 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 15772 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 15855 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 15452 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 15487 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 15472 of file Player.cpp.

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

◆ SatisfyQuestMaxReputation()

bool Player::SatisfyQuestMaxReputation ( Quest const *  qInfo,
bool  msg 
) const

Definition at line 15693 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 15457 of file Player.cpp.

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

◆ SatisfyQuestMinReputation()

bool Player::SatisfyQuestMinReputation ( Quest const *  qInfo,
bool  msg 
) const

Definition at line 15676 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 15869 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 15508 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 15660 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 15710 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 15842 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 15428 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 15715 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 15757 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 15833 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 1845 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 1846 of file Player.h.

◆ SaveCustomizations()

void Player::SaveCustomizations ( CharacterDatabaseTransaction  trans,
ObjectGuid::LowType  guid,
Trinity::IteratorPair< UF::ChrCustomizationChoice const * >  customizations 
)
static

Definition at line 20871 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 2462 of file Player.h.

+ Here is the caller graph for this function:

◆ SaveInventoryAndGoldToDB()

void Player::SaveInventoryAndGoldToDB ( CharacterDatabaseTransaction  trans)

Definition at line 20843 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 2463 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 21826 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 2681 of file Player.h.

+ Here is the caller graph for this function:

◆ SaveToDB() [1/2]

void Player::SaveToDB ( bool  create = false)

Definition at line 20439 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 20450 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 22312 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 22333 of file Player.cpp.

◆ ScheduleDelayedOperation()

void Player::ScheduleDelayedOperation ( uint32  operation)
inlineprivate

Definition at line 3360 of file Player.h.

+ Here is the caller graph for this function:

◆ SellItemToVendor()

Optional< SellResult > Player::SellItemToVendor ( Item item,
uint32  amount 
)

Definition at line 23973 of file Player.cpp.

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

◆ SendActionButtons()

void Player::SendActionButtons ( uint32  state) const

Definition at line 6102 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 31494 of file Player.cpp.

+ Here is the call graph for this function:

◆ SendAreaSpiritHealerTime() [2/2]

void Player::SendAreaSpiritHealerTime ( Unit spiritHealer) const

Definition at line 31485 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 21841 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 25533 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 21854 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 17943 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 13178 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 17378 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 22320 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 6288 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 26648 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 7075 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 6283 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 31502 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 21866 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 13856 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 13130 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 28186 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 21861 of file Player.cpp.

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

◆ SendForceSpawnTrackingUpdate()

void Player::SendForceSpawnTrackingUpdate ( uint32  questId) const

Definition at line 17539 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 2119 of file Player.h.

+ Here is the caller graph for this function:

◆ SendInitialPacketsAfterAddToMap()

void Player::SendInitialPacketsAfterAddToMap ( )

Definition at line 25074 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 24955 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 24746 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 
) const

Definition at line 9231 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 13862 of file Player.cpp.

+ Here is the caller graph for this function:

◆ SendItemPassives()

void Player::SendItemPassives ( )

Definition at line 13868 of file Player.cpp.

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

◆ SendItemRefundResult()

void Player::SendItemRefundResult ( Item item,
ItemExtendedCostEntry const *  iece,
uint8  error 
) const
private

Definition at line 29865 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 29996 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 2572 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 9167 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 9196 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 9154 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 9162 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 2618 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 2325 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 6271 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 6251 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 6261 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 603 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 30165 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 6297 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 13878 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 2636 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 9213 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 9206 of file Player.cpp.

+ Here is the call graph for this function:

◆ SendOnCancelExpectedVehicleRideAura()

void Player::SendOnCancelExpectedVehicleRideAura ( ) const

Definition at line 22466 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 17952 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 30184 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 14028 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 14436 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 23098 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 17410 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 7124 of file Player.cpp.

+ Here is the caller graph for this function:

◆ SendQuestComplete()

void Player::SendQuestComplete ( uint32  questId) const

Definition at line 17299 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 17389 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 17357 of file Player.cpp.

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

◆ SendQuestGiverStatusMultiple()

void Player::SendQuestGiverStatusMultiple ( )

Definition at line 17480 of file Player.cpp.

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

◆ SendQuestReward()

void Player::SendQuestReward ( Quest const *  quest,
Creature const *  questGiver,
uint32  xp,
bool  hideChatMessage 
) const

Definition at line 17309 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 17368 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 16077 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 17430 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 17442 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 17451 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 17472 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 21873 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 30824 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 20047 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 29566 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 22623 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 21881 of file Player.cpp.

+ Here is the call graph for this function:

◆ SendResetInstanceFailed()

void Player::SendResetInstanceFailed ( ResetFailedReason  reason,
uint32  mapID 
) const

Definition at line 21932 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 21925 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 9256 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 27557 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 13187 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 23032 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 26074 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 30618 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 28107 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 22221 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 25195 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 2594 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 25183 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 9222 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 1308 of file Player.h.

+ Here is the caller graph for this function:

◆ SetAccountBankTabCount()

void Player::SetAccountBankTabCount ( uint8  count)
inline

Definition at line 1506 of file Player.h.

+ Here is the caller graph for this function:

◆ SetAccountBankTabSettings()

void Player::SetAccountBankTabSettings ( uint32  tabId,
std::string const &  name,
std::string const &  icon,
std::string const &  description,
BagSlotFlags  depositFlags 
)
inline

Definition at line 1512 of file Player.h.

+ Here is the caller graph for this function:

◆ SetActiveCombatTraitConfigID()

void Player::SetActiveCombatTraitConfigID ( int32  traitConfigId)
inline

Definition at line 2060 of file Player.h.

+ Here is the caller graph for this function:

◆ SetActiveTalentGroup()

void Player::SetActiveTalentGroup ( uint8  group)
inline

Definition at line 2011 of file Player.h.

+ Here is the caller graph for this function:

◆ SetAdvancedCombatLogging()

void Player::SetAdvancedCombatLogging ( bool  enabled)
inline

Definition at line 2886 of file Player.h.

+ Here is the caller graph for this function:

◆ SetAreaSpiritHealer()

void Player::SetAreaSpiritHealer ( Creature creature)

Definition at line 31469 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 2950 of file Player.h.

+ Here is the caller graph for this function:

◆ SetArenaTeamIdInvited()

void Player::SetArenaTeamIdInvited ( uint32  ArenaTeamId)
inline

Definition at line 2177 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 7488 of file Player.cpp.

+ Here is the caller graph for this function:

◆ SetAtLoginFlag()

void Player::SetAtLoginFlag ( AtLoginFlags  f)
inline

Definition at line 2723 of file Player.h.

◆ SetAttackSwingError()

void Player::SetAttackSwingError ( Optional< AttackSwingErr err)

Definition at line 21846 of file Player.cpp.

+ Here is the call graph for this function:

◆ SetAverageItemLevel()

void Player::SetAverageItemLevel ( float  newItemLevel,
AvgItemLevelCategory  category 
)
inline

Definition at line 2920 of file Player.h.

+ Here is the caller graph for this function:

◆ SetBackpackAutoSortDisabled()

void Player::SetBackpackAutoSortDisabled ( bool  disabled)
inline

Definition at line 1525 of file Player.h.

+ Here is the caller graph for this function:

◆ SetBackpackSellJunkDisabled()

void Player::SetBackpackSellJunkDisabled ( bool  disabled)
inline

Definition at line 1527 of file Player.h.

+ Here is the caller graph for this function:

◆ SetBagSlotFlag()

void Player::SetBagSlotFlag ( uint32  bagIndex,
EnumFlag< BagSlotFlags flags 
)
inline

Definition at line 1531 of file Player.h.

+ Here is the caller graph for this function:

◆ SetBankAutoSortDisabled()

void Player::SetBankAutoSortDisabled ( bool  disabled)
inline

Definition at line 1529 of file Player.h.

+ Here is the caller graph for this function:

◆ SetBankBagSlotCount()

void Player::SetBankBagSlotCount ( uint8  count)
inline

Definition at line 1502 of file Player.h.

+ Here is the caller graph for this function:

◆ SetBankTabSettings()

void Player::SetBankTabSettings ( UF::MutableFieldReferenceWithChangesMask< UF::BankTabSettings, false >  setter,
std::string const &  name,
std::string const &  icon,
std::string const &  description,
BagSlotFlags  depositFlags 
)
inline

Definition at line 1517 of file Player.h.

+ Here is the call graph for this function:

◆ SetBaseModFlatValue()

void Player::SetBaseModFlatValue ( BaseModGroup  modGroup,
float  val 
)

Definition at line 4988 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 4997 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 24309 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 25773 of file Player.cpp.

+ Here is the caller graph for this function:

◆ SetBattlegroundOrBattlefieldRaid()

void Player::SetBattlegroundOrBattlefieldRaid ( Group group,
int8  subgroup = -1 
)

Definition at line 26748 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 22251 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 1323 of file Player.h.

◆ SetBGTeam()

void Player::SetBGTeam ( Team  team)

Definition at line 24352 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 9247 of file Player.cpp.

+ Here is the call graph for this function:

◆ SetBuybackPrice()

void Player::SetBuybackPrice ( uint32  slot,
uint32  price 
)
inline

Definition at line 1630 of file Player.h.

+ Here is the caller graph for this function:

◆ SetBuybackTimestamp()

void Player::SetBuybackTimestamp ( uint32  slot,
time_t  timestamp 
)
inline

Definition at line 1631 of file Player.h.

+ Here is the caller graph for this function:

◆ SetCanBlock()

void Player::SetCanBlock ( bool  value)

Definition at line 26896 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 3359 of file Player.h.

+ Here is the caller graph for this function:

◆ SetCanParry()

void Player::SetCanParry ( bool  value)

Definition at line 26887 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 13202 of file Player.cpp.

+ Here is the caller graph for this function:

◆ SetChampioningFaction()

void Player::SetChampioningFaction ( uint32  faction)
inline

Definition at line 2861 of file Player.h.

+ Here is the caller graph for this function:

◆ SetCharacterBankTabCount()

void Player::SetCharacterBankTabCount ( uint8  count)
inline

Definition at line 1504 of file Player.h.

+ Here is the caller graph for this function:

◆ SetCharacterBankTabSettings()

void Player::SetCharacterBankTabSettings ( uint32  tabId,
std::string const &  name,
std::string const &  icon,
std::string const &  description,
BagSlotFlags  depositFlags 
)
inline

Definition at line 1507 of file Player.h.

+ Here is the caller graph for this function:

◆ SetChosenTitle()

void Player::SetChosenTitle ( int32  title)
inline

Definition at line 2853 of file Player.h.

+ Here is the caller graph for this function:

◆ setCinematic()

void Player::setCinematic ( uint8  cine)
inline

Definition at line 2111 of file Player.h.

+ Here is the caller graph for this function:

◆ SetClientControl()

void Player::SetClientControl ( Unit target,
bool  allowMove 
)

Definition at line 26500 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 1341 of file Player.h.

+ Here is the caller graph for this function:

◆ SetCommandStatusOn()

void Player::SetCommandStatusOn ( uint32  command)
inline

Definition at line 1340 of file Player.h.

+ Here is the caller graph for this function:

◆ SetContestedPvP()

void Player::SetContestedPvP ( Player attackedPlayer = nullptr)

Definition at line 21986 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 2139 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 7130 of file Player.cpp.

◆ SetCurrencyFlagsFromClient()

void Player::SetCurrencyFlagsFromClient ( uint32  id,
CurrencyDbFlags  flags 
)

Definition at line 7457 of file Player.cpp.

+ Here is the caller graph for this function:

◆ SetCurrentBattlePetBreedQuality()

void Player::SetCurrentBattlePetBreedQuality ( uint8  battlePetBreedQuality)
inline

Definition at line 2953 of file Player.h.

+ Here is the caller graph for this function:

◆ SetCurrentCombatTraitConfigSubTreeID()

void Player::SetCurrentCombatTraitConfigSubTreeID ( int32  traitSubTreeId)
inline

Definition at line 2061 of file Player.h.

+ 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 2936 of file Player.h.

+ Here is the caller graph for this function:

◆ SetDailyQuestStatus()

void Player::SetDailyQuestStatus ( uint32  quest_id)

Definition at line 25555 of file Player.cpp.

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

◆ SetDataElementAccount()

void Player::SetDataElementAccount ( uint32  dataElementId,
std::variant< int64, float >  value 
)

Definition at line 30337 of file Player.cpp.

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

◆ SetDataElementCharacter()

void Player::SetDataElementCharacter ( uint32  dataElementId,
std::variant< int64, float >  value 
)

Definition at line 30391 of file Player.cpp.

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

◆ SetDataFlagAccount()

void Player::SetDataFlagAccount ( uint32  dataFlagId,
bool  on 
)

Definition at line 30431 of file Player.cpp.

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

◆ SetDataFlagCharacter()

void Player::SetDataFlagCharacter ( uint32  dataFlagId,
bool  on 
)

Definition at line 30468 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 1145 of file Player.cpp.

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

◆ SetDeveloper()

void Player::SetDeveloper ( bool  on)
inline

Definition at line 1306 of file Player.h.

+ Here is the caller graph for this function:

◆ SetDrunkValue()

void Player::SetDrunkValue ( uint8  newDrunkValue,
uint32  itemId = 0 
)

Definition at line 880 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 2147 of file Player.h.

+ Here is the caller graph for this function:

◆ SetDuelTeam()

void Player::SetDuelTeam ( uint32  duelTeam)
inline

Definition at line 2148 of file Player.h.

+ Here is the caller graph for this function:

◆ SetDungeonDifficultyID()

void Player::SetDungeonDifficultyID ( Difficulty  dungeon_difficulty)
inline

Definition at line 2186 of file Player.h.

+ Here is the caller graph for this function:

◆ SetEmpowerMinHoldStagePercent()

void Player::SetEmpowerMinHoldStagePercent ( float  empowerMinHoldStagePercent)
inline

Definition at line 2088 of file Player.h.

+ Here is the caller graph for this function:

◆ SetEquipmentSet()

void Player::SetEquipmentSet ( EquipmentSetInfo::EquipmentSetData const &  newEqSet)

Definition at line 28201 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 6497 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 27493 of file Player.cpp.

+ Here is the caller graph for this function:

◆ SetFreePrimaryProfessions()

void Player::SetFreePrimaryProfessions ( uint16  profs)
inline

Definition at line 2067 of file Player.h.

+ Here is the caller graph for this function:

◆ SetGameMaster()

void Player::SetGameMaster ( bool  on)

Definition at line 2060 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 1314 of file Player.h.

+ Here is the caller graph for this function:

◆ SetGMVisible()

void Player::SetGMVisible ( bool  on)

Definition at line 2110 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 24940 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 2795 of file Player.h.

+ Here is the caller graph for this function:

◆ SetGroupUpdateFlag()

void Player::SetGroupUpdateFlag ( uint32  flag)
inline

Definition at line 2804 of file Player.h.

+ Here is the caller graph for this function:

◆ SetGuildIdInvited()

void Player::SetGuildIdInvited ( ObjectGuid::LowType  GuildId)
inline

Definition at line 2163 of file Player.h.

+ Here is the caller graph for this function:

◆ SetGuildLevel()

void Player::SetGuildLevel ( uint32  level)
inline

Definition at line 2161 of file Player.h.

+ Here is the caller graph for this function:

◆ SetGuildRank()

void Player::SetGuildRank ( uint8  rankId)
inline

Definition at line 2159 of file Player.h.

+ Here is the caller graph for this function:

◆ SetHasClaimedFreeTransmog()

void Player::SetHasClaimedFreeTransmog ( )
inline

Definition at line 1327 of file Player.h.

+ Here is the caller graph for this function:

◆ SetHasLevelBoosted()

void Player::SetHasLevelBoosted ( )
inline

Definition at line 1325 of file Player.h.

◆ SetHasRaceChanged()

void Player::SetHasRaceChanged ( )
inline

Definition at line 1321 of file Player.h.

◆ SetHeirloom()

void Player::SetHeirloom ( uint32  slot,
int32  itemId 
)
inline

Definition at line 2960 of file Player.h.

+ Here is the caller graph for this function:

◆ SetHeirloomFlags()

void Player::SetHeirloomFlags ( uint32  slot,
uint32  flags 
)
inline

Definition at line 2961 of file Player.h.

+ Here is the caller graph for this function:

◆ SetHomebind()

void Player::SetHomebind ( WorldLocation const &  loc,
uint32  areaId 
)

Definition at line 17926 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 6983 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 7492 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 1840 of file Player.h.

+ Here is the caller graph for this function:

◆ SetInGuild()

void Player::SetInGuild ( ObjectGuid::LowType  guildId)

Definition at line 7472 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 9862 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 25819 of file Player.cpp.

+ Here is the caller graph for this function:

◆ SetInvSlot()

void Player::SetInvSlot ( uint32  slot,
ObjectGuid  guid 
)
inline

Definition at line 1609 of file Player.h.

+ Here is the caller graph for this function:

◆ SetKnownTitles()

void Player::SetKnownTitles ( uint32  index,
uint64  mask 
)
inline

Definition at line 2854 of file Player.h.

+ Here is the caller graph for this function:

◆ SetLastPetNumber()

void Player::SetLastPetNumber ( uint32  petnumber)
inline

Definition at line 2787 of file Player.h.

+ Here is the caller graph for this function:

◆ SetLastPotionId()

void Player::SetLastPotionId ( uint32  item_id)
inline

Definition at line 2084 of file Player.h.

◆ SetLegacyRaidDifficultyID()

void Player::SetLegacyRaidDifficultyID ( Difficulty  raid_difficulty)
inline

Definition at line 2188 of file Player.h.

+ Here is the caller graph for this function:

◆ SetLootGUID()

void Player::SetLootGUID ( ObjectGuid const &  guid)
inline

Definition at line 2263 of file Player.h.

+ Here is the caller graph for this function:

◆ SetLootSpecId()

void Player::SetLootSpecId ( uint32  id)
inline

Definition at line 1997 of file Player.h.

+ Here is the caller graph for this function:

◆ SetMap()

void Player::SetMap ( Map map)
overridevirtual

Reimplemented from WorldObject.

Definition at line 28458 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 25834 of file Player.cpp.

+ Here is the caller graph for this function:

◆ SetModDamageDonePercent()

void Player::SetModDamageDonePercent ( uint8  school,
float  pct 
)
inline

Definition at line 2218 of file Player.h.

◆ SetMoney()

void Player::SetMoney ( uint64  value)

Definition at line 24876 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 25595 of file Player.cpp.

+ Here is the caller graph for this function:

◆ SetMovie()

void Player::SetMovie ( uint32  movie)
inline

Definition at line 2114 of file Player.h.

+ Here is the caller graph for this function:

◆ SetMultiActionBars()

void Player::SetMultiActionBars ( uint8  mask)
inline

Definition at line 2122 of file Player.h.

+ Here is the caller graph for this function:

◆ SetNativeGender()

void Player::SetNativeGender ( Gender  gender)
inlineoverridevirtual

Reimplemented from Unit.

Definition at line 1351 of file Player.h.

+ Here is the caller graph for this function:

◆ SetNoRegentCostMask()

void Player::SetNoRegentCostMask ( flag128  mask)
inline

Definition at line 1537 of file Player.h.

+ Here is the caller graph for this function:

◆ SetNumRespecs()

void Player::SetNumRespecs ( uint8  numRespecs)
inline

Definition at line 3013 of file Player.h.

+ Here is the caller graph for this function:

◆ SetObjectScale()

void Player::SetObjectScale ( float  scale)
overridevirtual

Reimplemented from Object.

Definition at line 1588 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 26770 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 1979 of file Player.h.

+ Here is the caller graph for this function:

◆ SetOverrideZonePVPType()

void Player::SetOverrideZonePVPType ( ZonePVPTypeOverride  type)
inline

Definition at line 2001 of file Player.h.

+ Here is the caller graph for this function:

◆ SetPartyType()

void Player::SetPartyType ( GroupCategory  category,
uint8  type 
)

Definition at line 26783 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 2820 of file Player.h.

+ Here is the caller graph for this function:

◆ SetPendingBind()

void Player::SetPendingBind ( uint32  instanceId,
uint32  bindTimer 
)

Definition at line 20041 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 23112 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 29658 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 2260 of file Player.h.

◆ SetPlayerFlag()

void Player::SetPlayerFlag ( PlayerFlags  flags)
inline

Definition at line 2911 of file Player.h.

+ Here is the caller graph for this function:

◆ SetPlayerFlagEx()

void Player::SetPlayerFlagEx ( PlayerFlagsEx  flags)
inline

Definition at line 2916 of file Player.h.

+ Here is the caller graph for this function:

◆ SetPlayerLocalFlag()

void Player::SetPlayerLocalFlag ( PlayerLocalFlags  flags)
inline

Definition at line 3008 of file Player.h.

+ Here is the caller graph for this function:

◆ SetPrimarySpecialization()

void Player::SetPrimarySpecialization ( uint32  spec)
inline

Definition at line 2009 of file Player.h.

+ Here is the caller graph for this function:

◆ SetPvP()

void Player::SetPvP ( bool  state)
overridevirtual

Reimplemented from Unit.

Definition at line 24102 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 1319 of file Player.h.

+ Here is the caller graph for this function:

◆ SetPvpTitle()

void Player::SetPvpTitle ( uint8  pvpTitle)
inline

Definition at line 2949 of file Player.h.

◆ SetQuestCompletedBit()

void Player::SetQuestCompletedBit ( uint32  questId,
bool  completed 
)

Definition at line 16531 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 17084 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 1836 of file Player.h.

+ Here is the caller graph for this function:

◆ SetQuestSlot()

void Player::SetQuestSlot ( uint16  slot,
uint32  quest_id 
)

Definition at line 16453 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 16472 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 16496 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 16503 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 16482 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 15987 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 2187 of file Player.h.

+ Here is the caller graph for this function:

◆ SetRandomWinner()

void Player::SetRandomWinner ( bool  isWinner)

Definition at line 30012 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 2769 of file Player.h.

+ Here is the caller graph for this function:

◆ setRegenTimerCount()

void Player::setRegenTimerCount ( uint32  time)
inline

Definition at line 1902 of file Player.h.

+ Here is the caller graph for this function:

◆ SetRegularAttackTime()

void Player::SetRegularAttackTime ( )

Definition at line 5472 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 29540 of file Player.cpp.

+ Here is the call graph for this function:

◆ SetRequiredMountCapabilityFlag()

void Player::SetRequiredMountCapabilityFlag ( uint8  flag)
inline

Definition at line 3022 of file Player.h.

+ Here is the caller graph for this function:

◆ SetRestState()

void Player::SetRestState ( RestTypes  type,
PlayerRestState  state 
)
inline

Definition at line 2891 of file Player.h.

+ Here is the caller graph for this function:

◆ SetRestThreshold()

void Player::SetRestThreshold ( RestTypes  type,
uint32  threshold 
)
inline

Definition at line 2898 of file Player.h.

+ Here is the caller graph for this function:

◆ SetResurrectRequestData()

void Player::SetResurrectRequestData ( WorldObject const *  caster,
uint32  health,
uint32  mana,
uint32  appliedAura 
)

Definition at line 24151 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 15339 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 27119 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 2679 of file Player.h.

◆ SetSeasonalQuestStatus()

void Player::SetSeasonalQuestStatus ( uint32  quest_id)

Definition at line 25585 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 2672 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 1921 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 5744 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 2383 of file Player.h.

+ Here is the caller graph for this function:

◆ SetSkillMaxRank()

void Player::SetSkillMaxRank ( uint32  pos,
uint16  max 
)
inline

Definition at line 2391 of file Player.h.

+ Here is the caller graph for this function:

◆ SetSkillPermBonus()

void Player::SetSkillPermBonus ( uint32  pos,
uint16  bonus 
)
inline

Definition at line 2395 of file Player.h.

+ Here is the caller graph for this function:

◆ SetSkillRank()

void Player::SetSkillRank ( uint32  pos,
uint16  rank 
)
inline

Definition at line 2387 of file Player.h.

+ Here is the caller graph for this function:

◆ SetSkillStartingRank()

void Player::SetSkillStartingRank ( uint32  pos,
uint16  starting 
)
inline

Definition at line 2389 of file Player.h.

+ Here is the caller graph for this function:

◆ SetSkillStep()

void Player::SetSkillStep ( uint32  pos,
uint16  step 
)
inline

Definition at line 2385 of file Player.h.

+ Here is the caller graph for this function:

◆ SetSkillTempBonus()

void Player::SetSkillTempBonus ( uint32  pos,
uint16  bonus 
)
inline

Definition at line 2393 of file Player.h.

+ Here is the caller graph for this function:

◆ SetSpellFavorite()

void Player::SetSpellFavorite ( uint32  spellId,
bool  favorite 
)

Definition at line 3444 of file Player.cpp.

+ Here is the caller graph for this function:

◆ SetSpellModTakingSpell()

void Player::SetSpellModTakingSpell ( Spell spell,
bool  apply 
)

Definition at line 23021 of file Player.cpp.

+ Here is the caller graph for this function:

◆ SetStableMaster()

void Player::SetStableMaster ( ObjectGuid  stableMaster)

Definition at line 29855 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 2996 of file Player.h.

+ Here is the caller graph for this function:

◆ SetTalentResetCost()

void Player::SetTalentResetCost ( uint32  cost)
inline

Definition at line 2005 of file Player.h.

+ Here is the caller graph for this function:

◆ SetTalentResetTime()

void Player::SetTalentResetTime ( time_t  time_)
inline

Definition at line 2007 of file Player.h.

+ Here is the caller graph for this function:

◆ SetTarget()

void Player::SetTarget ( ObjectGuid const &  )
inlineoverridevirtual

Implements Unit.

Definition at line 1920 of file Player.h.

◆ SetTaxiCheater()

void Player::SetTaxiCheater ( bool  on)
inline

Definition at line 1316 of file Player.h.

+ Here is the caller graph for this function:

◆ SetTeleportState()

void Player::SetTeleportState ( TeleportState  state)
inline

Definition at line 2399 of file Player.h.

+ Here is the caller graph for this function:

◆ SetTemporaryUnsummonedPetNumber()

void Player::SetTemporaryUnsummonedPetNumber ( uint32  petnumber)
inline

Definition at line 2734 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 27067 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 2998 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 29490 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 29466 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 3020 of file Player.h.

+ Here is the caller graph for this function:

◆ SetVersatilityBonus()

void Player::SetVersatilityBonus ( float  value)
inline

Definition at line 3001 of file Player.h.

◆ SetViewpoint()

void Player::SetViewpoint ( WorldObject target,
bool  apply 
)

Definition at line 26923 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 2952 of file Player.h.

+ Here is the caller graph for this function:

◆ SetVisibleForcedReaction()

void Player::SetVisibleForcedReaction ( uint32  factionId,
ReputationRank  rank 
)

Definition at line 6600 of file Player.cpp.

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

◆ SetVisibleItemSlot()

void Player::SetVisibleItemSlot ( uint8  slot,
Item const *  item 
)

Definition at line 11830 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 31032 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 31060 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 3015 of file Player.h.

+ Here is the caller graph for this function:

◆ setWeaponChangeTimer()

void Player::setWeaponChangeTimer ( uint32  time)
inline

Definition at line 1903 of file Player.h.

◆ SetWeeklyQuestStatus()

void Player::SetWeeklyQuestStatus ( uint32  quest_id)

Definition at line 25579 of file Player.cpp.

+ Here is the caller graph for this function:

◆ SetXP()

void Player::SetXP ( uint32  xp)

Definition at line 2186 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::span< uint32 const >  questIds)

Definition at line 16269 of file Player.cpp.

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

◆ SpawnCorpseBones()

void Player::SpawnCorpseBones ( bool  triggerSave = true)

Definition at line 4554 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 12533 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 27577 of file Player.cpp.

+ Here is the caller graph for this function:

◆ StartLoadingActionButtons()

void Player::StartLoadingActionButtons ( std::function< void()> &&  callback = nullptr)

Definition at line 29073 of file Player.cpp.

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

◆ StartTaxiMovement()

void Player::StartTaxiMovement ( uint32  mountDisplayId,
uint32  path,
uint32  pathNode,
Optional< float >  speed,
Scripting::v2::ActionResultSetter< MovementStopReason > &&  scriptResult 
)

Definition at line 23422 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 26913 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 22269 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 615 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 717 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 11447 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 27187 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 11370 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 566 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 26109 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 30523 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 12649 of file Player.cpp.

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

◆ TakeQuestSourceItem()

bool Player::TakeQuestSourceItem ( uint32  questId,
bool  msg 
)

Definition at line 15911 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 16708 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 6461 of file Player.cpp.

+ Here is the caller graph for this function:

◆ TeamIdForRace()

TeamId Player::TeamIdForRace ( uint8  race)
static

Definition at line 6479 of file Player.cpp.

+ Here is the caller graph for this function:

◆ TeleportTo() [1/3]

bool Player::TeleportTo ( TeleportLocation const &  teleportLocation,
TeleportToOptions  options = TELE_TO_NONE,
uint32  teleportSpellId = 0 
)

Definition at line 1236 of file Player.cpp.

+ Here is the call graph for this function:

◆ TeleportTo() [2/3]

bool Player::TeleportTo ( uint32  mapid,
float  x,
float  y,
float  z,
float  orientation,
TeleportToOptions  options = TELE_TO_NONE,
Optional< uint32 instanceId = {},
uint32  teleportSpellId = 0 
)

Definition at line 1226 of file Player.cpp.

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

◆ TeleportTo() [3/3]

bool Player::TeleportTo ( WorldLocation const &  loc,
TeleportToOptions  options = TELE_TO_NONE,
Optional< uint32 instanceId = {},
uint32  teleportSpellId = 0 
)

Definition at line 1231 of file Player.cpp.

+ Here is the call graph for this function:

◆ TeleportToBGEntryPoint()

bool Player::TeleportToBGEntryPoint ( )

Definition at line 1478 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 22351 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 22374 of file Player.cpp.

◆ ToggleAFK()

void Player::ToggleAFK ( )

Definition at line 1188 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 1200 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 24276 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 27832 of file Player.cpp.

+ Here is the call graph for this function:

◆ TradeCancel()

void Player::TradeCancel ( bool  sendback)

Definition at line 13254 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 2155 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 2879 of file Player.h.

◆ UnsummonBattlePetTemporaryIfAny()

void Player::UnsummonBattlePetTemporaryIfAny ( bool  onFlyingMount = false)

Definition at line 28019 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 27985 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 915 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 21977 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 5466 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 828 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 8338 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 7544 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 26546 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 743 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 30997 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 30940 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 5061 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 22011 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 26583 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 719 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 5499 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 27588 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 5006 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 687 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 22046 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 13315 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 8468 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 765 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,
uint32  opcode 
)

Definition at line 27936 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 5592 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 5534 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 571 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 24027 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 6732 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 6995 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 7701 of file Player.cpp.

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

◆ UpdateIndoorsOutdoorsAuras()

void Player::UpdateIndoorsOutdoorsAuras ( )

Definition at line 6430 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 13297 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 30853 of file Player.cpp.

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

◆ UpdateLiquidMirrorTimerFlagsOnPositionChange()

void Player::UpdateLiquidMirrorTimerFlagsOnPositionChange ( Optional< LiquidData > const &  newLiquidData)

Definition at line 26817 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 4880 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 805 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 749 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 710 of file Player.cpp.

+ Here is the caller graph for this function:

◆ UpdateNextMailTimeAndUnreads()

void Player::UpdateNextMailTimeAndUnreads ( )

Definition at line 2645 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 24822 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 645 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 6232 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 2319 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 24123 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 24109 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 22029 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 24066 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 16737 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 754 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 5322 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 13811 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 5619 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 5696 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 13274 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 21777 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 705 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 759 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:

◆ UpdateTavernRestingState()

void Player::UpdateTavernRestingState ( )

Definition at line 6436 of file Player.cpp.

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

◆ UpdateTraitConfig()

void Player::UpdateTraitConfig ( WorldPackets::Traits::TraitConfig &&  newConfig,
int32  savedConfigId,
bool  withCastTime 
)

Definition at line 29197 of file Player.cpp.

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

◆ UpdateTransmogOutfit()

bool Player::UpdateTransmogOutfit ( uint32  id,
WorldPackets::Transmogrification::TransmogOutfitDataInfo const &  outfitData 
)

Definition at line 31183 of file Player.cpp.

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

◆ UpdateTransmogOutfitSituations()

void Player::UpdateTransmogOutfitSituations ( uint32  id,
bool  situationsEnabled,
std::span< WorldPackets::Transmogrification::TransmogOutfitSituationInfo const >  situations 
)

Definition at line 31200 of file Player.cpp.

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

◆ UpdateTransmogOutfitSlots()

void Player::UpdateTransmogOutfitSlots ( uint32  id,
std::span< WorldPackets::Transmogrification::TransmogOutfitSlotData const >  slots 
)

Definition at line 31221 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 24703 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 560 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 24837 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 24778 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 24597 of file Player.cpp.

+ Here is the call graph for this function:

◆ UpdateVisibilityOf() [3/3]

void Player::UpdateVisibilityOf ( WorldObject target)

Definition at line 24652 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 25949 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 31089 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 8344 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 8307 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 7602 of file Player.cpp.

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

◆ UpdateZoneAndAreaId()

void Player::UpdateZoneAndAreaId ( )

Definition at line 6414 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 26536 of file Player.cpp.

+ Here is the caller graph for this function:

◆ VehicleSpellInitialize()

void Player::VehicleSpellInitialize ( )

Definition at line 22536 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 11955 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 22379 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 22415 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 22361 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 22338 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 22346 of file Player.cpp.

Friends And Related Symbol Documentation

◆ AddItemToUpdateQueueOf

void AddItemToUpdateQueueOf ( Item item,
Player player 
)
friend

Definition at line 1289 of file Item.cpp.

◆ CinematicMgr

friend class CinematicMgr
friend

Definition at line 1235 of file Player.h.

◆ RemoveItemFromUpdateQueueOf

void RemoveItemFromUpdateQueueOf ( Item item,
Player player 
)
friend

Definition at line 1310 of file Item.cpp.

◆ RestMgr

friend class RestMgr
friend

Definition at line 1236 of file Player.h.

◆ WorldSession

friend class WorldSession
friend

Definition at line 1234 of file Player.h.

Member Data Documentation

◆ _activeCheats

uint32 Player::_activeCheats
private

Definition at line 3401 of file Player.h.

◆ _advancedCombatLoggingEnabled

bool Player::_advancedCombatLoggingEnabled
private

Definition at line 3405 of file Player.h.

◆ _areaSpiritHealerGUID

ObjectGuid Player::_areaSpiritHealerGUID
private

Definition at line 3422 of file Player.h.

◆ _cinematicMgr

std::unique_ptr<CinematicMgr> Player::_cinematicMgr
private

Definition at line 3349 of file Player.h.

◆ _corpseLocation

WorldLocation Player::_corpseLocation
private

Definition at line 3411 of file Player.h.

◆ _CUFProfiles

std::array<std::unique_ptr<CUFProfile>, MAX_CUF_PROFILES> Player::_CUFProfiles
protected

Definition at line 3339 of file Player.h.

◆ _currencyStorage

PlayerCurrenciesMap Player::_currencyStorage
protected

Definition at line 3222 of file Player.h.

◆ _equipmentSets

EquipmentSetContainer Player::_equipmentSets
protected

Definition at line 3329 of file Player.h.

◆ _garrison

std::unique_ptr<Garrison> Player::_garrison
private

Definition at line 3403 of file Player.h.

◆ _instanceResetTimes

InstanceTimeMap Player::_instanceResetTimes
private

Definition at line 3397 of file Player.h.

◆ _pendingBindId

uint32 Player::_pendingBindId
private

Definition at line 3398 of file Player.h.

◆ _pendingBindTimer

uint32 Player::_pendingBindTimer
private

Definition at line 3399 of file Player.h.

◆ _pendingSpellCastRequest

std::unique_ptr<SpellCastRequest> Player::_pendingSpellCastRequest
private

Definition at line 3432 of file Player.h.

◆ _playerDataElementsNeedSave

Trinity::Containers::FlatSet<uint32> Player::_playerDataElementsNeedSave
private

Definition at line 3437 of file Player.h.

◆ _playerDataFlagsNeedSave

Trinity::Containers::FlatSet<uint32> Player::_playerDataFlagsNeedSave
private

Definition at line 3438 of file Player.h.

◆ _restMgr

std::unique_ptr<RestMgr> Player::_restMgr
private

Definition at line 3419 of file Player.h.

◆ _resurrectionData

std::unique_ptr<ResurrectionData> Player::_resurrectionData
protected

Definition at line 3269 of file Player.h.

◆ _specializationInfo

SpecializationInfo Player::_specializationInfo
protected

Definition at line 3248 of file Player.h.

◆ _usePvpItemLevels

bool Player::_usePvpItemLevels
private

Definition at line 3421 of file Player.h.

◆ autoReplyMsg

std::string Player::autoReplyMsg

Definition at line 1286 of file Player.h.

◆ duel

std::unique_ptr<DuelInfo> Player::duel
Todo:
: maybe move UpdateDuelFlag+DuelComplete to independent DuelHandler

Definition at line 2143 of file Player.h.

◆ healthBeforeDuel

uint64 Player::healthBeforeDuel
private

Definition at line 3408 of file Player.h.

◆ isDebugAreaTriggers

bool Player::isDebugAreaTriggers

Definition at line 2865 of file Player.h.

◆ ItemSetEff

std::vector<ItemSetEffect*> Player::ItemSetEff

Definition at line 2571 of file Player.h.

◆ m_achievementMgr

std::unique_ptr<PlayerAchievementMgr> Player::m_achievementMgr
private

Definition at line 3391 of file Player.h.

◆ m_actionButtons

ActionButtonList Player::m_actionButtons
protected

Definition at line 3252 of file Player.h.

◆ m_activePlayerData

◆ m_AELootView

std::unordered_map<ObjectGuid , Loot*> Player::m_AELootView
private

Definition at line 3415 of file Player.h.

◆ m_areaUpdateId

uint32 Player::m_areaUpdateId
protected

Definition at line 3294 of file Player.h.

◆ m_ArenaTeamIdInvited

uint32 Player::m_ArenaTeamIdInvited
protected

Definition at line 3239 of file Player.h.

◆ m_ArmorProficiency

uint32 Player::m_ArmorProficiency
protected

Definition at line 3300 of file Player.h.

◆ m_atLoginFlags

uint32 Player::m_atLoginFlags
protected

Definition at line 3217 of file Player.h.

◆ m_auraBaseFlatMod

std::array<float, BASEMOD_END> Player::m_auraBaseFlatMod
protected

Definition at line 3254 of file Player.h.

◆ m_auraBasePctMod

std::array<float, BASEMOD_END> Player::m_auraBasePctMod
protected

Definition at line 3255 of file Player.h.

◆ m_baseHealthRegen

uint32 Player::m_baseHealthRegen
protected

Definition at line 3259 of file Player.h.

◆ m_baseManaRegen

uint32 Player::m_baseManaRegen
protected

Definition at line 3258 of file Player.h.

◆ m_baseRatingValue

std::array<int16, MAX_COMBAT_RATING> Player::m_baseRatingValue
protected

Definition at line 3256 of file Player.h.

◆ m_baseSpellPower

uint32 Player::m_baseSpellPower
protected

Definition at line 3257 of file Player.h.

◆ m_bCanDelayTeleport

bool Player::m_bCanDelayTeleport
private

Definition at line 3381 of file Player.h.

◆ m_bgBattlegroundQueueID

BgBattlegroundQueueID_Rec Player::m_bgBattlegroundQueueID[PLAYER_MAX_BATTLEGROUND_QUEUES]
protected

Definition at line 3093 of file Player.h.

◆ m_bgData

BGData Player::m_bgData
protected

Definition at line 3094 of file Player.h.

◆ m_bPassOnGroupLoot

bool Player::m_bPassOnGroupLoot
protected

Definition at line 3315 of file Player.h.

◆ m_canBlock

bool Player::m_canBlock
protected

Definition at line 3302 of file Player.h.

◆ m_canParry

bool Player::m_canParry
protected

Definition at line 3301 of file Player.h.

◆ m_canTitanGrip

bool Player::m_canTitanGrip
protected

Definition at line 3303 of file Player.h.

◆ m_ChampioningFaction

uint32 Player::m_ChampioningFaction
private

Definition at line 3395 of file Player.h.

◆ m_changedTransmogOutfits

std::set<uint32> Player::m_changedTransmogOutfits
protected

Definition at line 3330 of file Player.h.

◆ m_channels

JoinedChannelsList Player::m_channels
protected

Definition at line 3273 of file Player.h.

◆ m_chatFloodData

std::array<ChatFloodThrottle, ChatFloodThrottle::MAX> Player::m_chatFloodData
protected

Definition at line 3212 of file Player.h.

◆ m_cinematic

uint8 Player::m_cinematic
protected

Definition at line 3277 of file Player.h.

◆ m_clientGUIDs

GuidUnorderedSet Player::m_clientGUIDs

Definition at line 2699 of file Player.h.

◆ m_contestedPvPTimer

uint32 Player::m_contestedPvPTimer
protected

Definition at line 3076 of file Player.h.

◆ m_createMode

PlayerCreateMode Player::m_createMode
protected

Definition at line 3276 of file Player.h.

◆ m_createTime

time_t Player::m_createTime
protected

Definition at line 3275 of file Player.h.

◆ m_currentBuybackSlot

uint32 Player::m_currentBuybackSlot
protected

Definition at line 3220 of file Player.h.

◆ m_customizationsChanged

bool Player::m_customizationsChanged
protected

Definition at line 3211 of file Player.h.

◆ m_DailyQuestChanged

bool Player::m_DailyQuestChanged
protected

Definition at line 3283 of file Player.h.

◆ m_deathExpireTime

time_t Player::m_deathExpireTime
protected

Definition at line 3297 of file Player.h.

◆ m_deathTimer

uint32 Player::m_deathTimer
protected

Definition at line 3296 of file Player.h.

◆ m_DelayedOperations

uint32 Player::m_DelayedOperations
private

Definition at line 3380 of file Player.h.

◆ m_DFQuests

DFQuestsDoneList Player::m_DFQuests

Definition at line 2730 of file Player.h.

◆ m_drunkTimer

uint32 Player::m_drunkTimer
protected

Definition at line 3290 of file Player.h.

◆ m_dungeonDifficulty

Difficulty Player::m_dungeonDifficulty
protected

Definition at line 3213 of file Player.h.

◆ m_empowerMinHoldStagePercent

float Player::m_empowerMinHoldStagePercent
protected

Definition at line 3246 of file Player.h.

◆ m_enchantDuration

EnchantDurationList Player::m_enchantDuration
protected

Definition at line 3264 of file Player.h.

◆ m_ExtraFlags

uint32 Player::m_ExtraFlags
protected

Definition at line 3227 of file Player.h.

◆ m_fishingSteps

uint8 Player::m_fishingSteps
protected

Definition at line 3337 of file Player.h.

◆ m_forced_speed_changes

std::array<uint8, MAX_MOVE_TYPE> Player::m_forced_speed_changes

Definition at line 2719 of file Player.h.

◆ m_group

GroupReference Player::m_group
protected

Definition at line 3311 of file Player.h.

◆ m_groupInvite

Group* Player::m_groupInvite
protected

Definition at line 3313 of file Player.h.

◆ m_groupUpdateMask

uint32 Player::m_groupUpdateMask
protected

Definition at line 3314 of file Player.h.

◆ m_groupUpdateSequences

std::array<GroupUpdateCounter, 2> Player::m_groupUpdateSequences
protected

Definition at line 3316 of file Player.h.

◆ m_GuildIdInvited

ObjectGuid::LowType Player::m_GuildIdInvited
protected

Definition at line 3238 of file Player.h.

◆ m_homebind

WorldLocation Player::m_homebind

Definition at line 2693 of file Player.h.

◆ m_homebindAreaId

uint16 Player::m_homebindAreaId

Definition at line 2694 of file Player.h.

◆ m_HomebindTimer

uint32 Player::m_HomebindTimer

Definition at line 2760 of file Player.h.

◆ m_hostileReferenceCheckTimer

uint32 Player::m_hostileReferenceCheckTimer
protected

Definition at line 3289 of file Player.h.

◆ m_ingametime

uint32 Player::m_ingametime
protected

Definition at line 3115 of file Player.h.

◆ m_InstanceValid

bool Player::m_InstanceValid

Definition at line 2761 of file Player.h.

◆ m_IsBGRandomWinner

bool Player::m_IsBGRandomWinner
protected

Definition at line 3096 of file Player.h.

◆ m_itemDuration

ItemDurationList Player::m_itemDuration
protected

Definition at line 3265 of file Player.h.

◆ m_itemPassives

std::forward_list<int32> Player::m_itemPassives
protected

Definition at line 3266 of file Player.h.

◆ m_items

Item* Player::m_items[PLAYER_SLOTS_COUNT]
protected

Definition at line 3219 of file Player.h.

◆ m_itemSoulboundTradeable

GuidUnorderedSet Player::m_itemSoulboundTradeable
protected

Definition at line 3267 of file Player.h.

◆ m_itemUpdateQueue

std::vector<Item*> Player::m_itemUpdateQueue
protected

Definition at line 3224 of file Player.h.

◆ m_itemUpdateQueueBlocked

bool Player::m_itemUpdateQueueBlocked
protected

Definition at line 3225 of file Player.h.

◆ m_Last_tick

time_t Player::m_Last_tick

Definition at line 1345 of file Player.h.

◆ m_lastDailyQuestTime

time_t Player::m_lastDailyQuestTime
protected

Definition at line 3287 of file Player.h.

◆ m_lastFallTime

uint32 Player::m_lastFallTime
private

Definition at line 3366 of file Player.h.

◆ m_lastFallZ

float Player::m_lastFallZ
private

Definition at line 3367 of file Player.h.

◆ m_lastHonorUpdateTime

time_t Player::m_lastHonorUpdateTime
protected

Definition at line 3205 of file Player.h.

◆ m_lastpetnumber

uint32 Player::m_lastpetnumber
protected

Definition at line 3319 of file Player.h.

◆ m_lastPotionId

uint32 Player::m_lastPotionId
protected

Definition at line 3244 of file Player.h.

◆ m_legacyRaidDifficulty

Difficulty Player::m_legacyRaidDifficulty
protected

Definition at line 3215 of file Player.h.

◆ m_logintime

time_t Player::m_logintime

Definition at line 1344 of file Player.h.

◆ m_lootRolls

std::vector<LootRoll*> Player::m_lootRolls
private

Definition at line 3416 of file Player.h.

◆ m_mail

PlayerMails Player::m_mail
protected

Definition at line 3241 of file Player.h.

◆ m_mailsUpdated

bool Player::m_mailsUpdated

Definition at line 1894 of file Player.h.

◆ m_mapRef

MapReference Player::m_mapRef
private

Definition at line 3364 of file Player.h.

◆ m_MirrorTimer

std::array<int32, MAX_TIMERS> Player::m_MirrorTimer
private

Definition at line 3369 of file Player.h.

◆ m_MirrorTimerFlags

uint8 Player::m_MirrorTimerFlags
private

Definition at line 3370 of file Player.h.

◆ m_MirrorTimerFlagsLast

uint8 Player::m_MirrorTimerFlagsLast
private

Definition at line 3371 of file Player.h.

◆ m_MonthlyQuestChanged

bool Player::m_MonthlyQuestChanged
protected

Definition at line 3285 of file Player.h.

◆ m_monthlyquests

QuestSet Player::m_monthlyquests
protected

Definition at line 3110 of file Player.h.

◆ m_movementForceModMagnitudeChanges

uint8 Player::m_movementForceModMagnitudeChanges

Definition at line 2720 of file Player.h.

◆ m_movie

uint32 Player::m_movie
protected

Definition at line 3279 of file Player.h.

◆ m_newWorldCounter

int32 Player::m_newWorldCounter
private

Definition at line 3378 of file Player.h.

◆ m_nextMailDelivereTime

time_t Player::m_nextMailDelivereTime

Definition at line 1943 of file Player.h.

◆ m_nextSave

uint32 Player::m_nextSave
protected

Definition at line 3210 of file Player.h.

◆ m_oldpetspell

uint32 Player::m_oldpetspell
private

Definition at line 3388 of file Player.h.

◆ m_originalGroup

GroupReference Player::m_originalGroup
protected

Definition at line 3312 of file Player.h.

◆ m_overrideSpells

std::unordered_map<uint32 , std::unordered_set<uint32> > Player::m_overrideSpells
protected

Definition at line 3243 of file Player.h.

◆ m_petAuras

std::unordered_set<PetAura const*> Player::m_petAuras

Definition at line 1370 of file Player.h.

◆ m_petStable

std::unique_ptr<PetStable> Player::m_petStable
private

Definition at line 3383 of file Player.h.

◆ m_Played_time

std::array<uint32, MAX_PLAYED_TIME_INDEX> Player::m_Played_time

Definition at line 1346 of file Player.h.

◆ m_playerData

Definition at line 3061 of file Player.h.

◆ m_playerSharingQuest

ObjectGuid Player::m_playerSharingQuest
protected

Definition at line 3113 of file Player.h.

◆ m_powerFraction

std::array<float, MAX_POWERS_PER_CLASS> Player::m_powerFraction
protected

Definition at line 3075 of file Player.h.

◆ m_questObjectiveCriteriaMgr

std::unique_ptr<QuestObjectiveCriteriaMgr> Player::m_questObjectiveCriteriaMgr
private

Definition at line 3393 of file Player.h.

◆ m_questObjectiveStatus

QuestObjectiveStatusMap Player::m_questObjectiveStatus
protected

Definition at line 3230 of file Player.h.

◆ m_QuestStatus

QuestStatusMap Player::m_QuestStatus
protected

Definition at line 3229 of file Player.h.

◆ m_QuestStatusSave

QuestStatusSaveMap Player::m_QuestStatusSave
protected

Definition at line 3231 of file Player.h.

◆ m_raidDifficulty

Difficulty Player::m_raidDifficulty
protected

Definition at line 3214 of file Player.h.

◆ m_recall_location

TeleportLocation Player::m_recall_location
protected

Definition at line 3326 of file Player.h.

◆ m_recentInstances

std::unordered_map<uint32 , uint32 > Player::m_recentInstances

Definition at line 2774 of file Player.h.

◆ m_refundableItems

GuidSet Player::m_refundableItems
private

Definition at line 3351 of file Player.h.

◆ m_regenInterruptTimestamp

TimePoint Player::m_regenInterruptTimestamp
protected

Definition at line 3073 of file Player.h.

◆ m_regenTimerCount

uint32 Player::m_regenTimerCount
protected

Definition at line 3074 of file Player.h.

◆ m_reputationMgr

std::unique_ptr<ReputationMgr> Player::m_reputationMgr
private

Definition at line 3392 of file Player.h.

◆ m_RewardedQuests

RewardedQuestSet Player::m_RewardedQuests
protected

Definition at line 3233 of file Player.h.

◆ m_RewardedQuestsSave

QuestStatusSaveMap Player::m_RewardedQuestsSave
protected

Definition at line 3234 of file Player.h.

◆ m_runes

std::unique_ptr<Runes> Player::m_runes
protected

Definition at line 3328 of file Player.h.

◆ m_sceneMgr

SceneMgr Player::m_sceneMgr
private

Definition at line 3413 of file Player.h.

◆ m_SeasonalQuestChanged

bool Player::m_SeasonalQuestChanged
protected

Definition at line 3286 of file Player.h.

◆ m_seasonalquests

SeasonalQuestMapByEvent Player::m_seasonalquests
protected

Definition at line 3111 of file Player.h.

◆ m_seer

WorldObject* Player::m_seer

Definition at line 2666 of file Player.h.

◆ m_session

WorldSession* Player::m_session
protected

Definition at line 3271 of file Player.h.

◆ m_sharedQuestId

uint32 Player::m_sharedQuestId
protected

Definition at line 3114 of file Player.h.

◆ m_social

PlayerSocial* Player::m_social
protected

Definition at line 3308 of file Player.h.

◆ m_spellMods

SpellModContainer Player::m_spellMods
protected

Definition at line 3262 of file Player.h.

◆ m_spellModTakingSpell

Spell* Player::m_spellModTakingSpell

Definition at line 2862 of file Player.h.

◆ m_spellPenetrationItemMod

int32 Player::m_spellPenetrationItemMod
protected

Definition at line 3260 of file Player.h.

◆ m_spells

PlayerSpellMap Player::m_spells
protected

Definition at line 3242 of file Player.h.

◆ m_storedAuraTeleportLocations

std::unordered_map<uint32, StoredAuraTeleportLocation> Player::m_storedAuraTeleportLocations
protected

Definition at line 3245 of file Player.h.

◆ m_summon_expire

time_t Player::m_summon_expire
protected

Definition at line 3322 of file Player.h.

◆ m_summon_location

TeleportLocation Player::m_summon_location
protected

Definition at line 3323 of file Player.h.

◆ m_swingErrorMsg

Optional<AttackSwingErr> Player::m_swingErrorMsg
protected

Definition at line 3305 of file Player.h.

◆ m_taxi

PlayerTaxi Player::m_taxi

Definition at line 1293 of file Player.h.

◆ m_team

Team Player::m_team
protected

Definition at line 3209 of file Player.h.

◆ m_teleport_dest

TeleportLocation Player::m_teleport_dest
private

Definition at line 3374 of file Player.h.

◆ m_teleport_options

TeleportToOptions Player::m_teleport_options
private

Definition at line 3376 of file Player.h.

◆ m_teleport_state

TeleportState Player::m_teleport_state
private

Definition at line 3375 of file Player.h.

◆ m_teleportSpellId

uint32 Player::m_teleportSpellId
private

Definition at line 3377 of file Player.h.

◆ m_temporaryPetReactState

Optional<ReactStates> Player::m_temporaryPetReactState
private

Definition at line 3387 of file Player.h.

◆ m_temporaryUnsummonedBattlePet

ObjectGuid Player::m_temporaryUnsummonedBattlePet
private

Definition at line 3389 of file Player.h.

◆ m_temporaryUnsummonedPetNumber

uint32 Player::m_temporaryUnsummonedPetNumber
private

Definition at line 3386 of file Player.h.

◆ m_timedquests

QuestSet Player::m_timedquests
protected

Definition at line 3108 of file Player.h.

◆ m_titanGripPenaltySpellId

uint32 Player::m_titanGripPenaltySpellId
protected

Definition at line 3304 of file Player.h.

◆ m_trade

TradeData* Player::m_trade
protected

Definition at line 3281 of file Player.h.

◆ m_traitConfigStates

std::unordered_map<int32, PlayerSpellState> Player::m_traitConfigStates
protected

Definition at line 3250 of file Player.h.

◆ m_visibleTransports

GuidUnorderedSet Player::m_visibleTransports

Definition at line 2700 of file Player.h.

◆ m_weaponChangeTimer

uint32 Player::m_weaponChangeTimer
protected

Definition at line 3291 of file Player.h.

◆ m_WeaponProficiency

uint32 Player::m_WeaponProficiency
protected

Definition at line 3299 of file Player.h.

◆ m_WeeklyQuestChanged

bool Player::m_WeeklyQuestChanged
protected

Definition at line 3284 of file Player.h.

◆ m_weeklyquests

QuestSet Player::m_weeklyquests
protected

Definition at line 3109 of file Player.h.

◆ m_zoneUpdateId

uint32 Player::m_zoneUpdateId
protected

Definition at line 3293 of file Player.h.

◆ manaBeforeDuel

uint32 Player::manaBeforeDuel
private

Definition at line 3409 of file Player.h.

◆ mMitems

ItemMap Player::mMitems

Definition at line 1947 of file Player.h.

◆ mSkillStatus

SkillStatusMap Player::mSkillStatus
protected

Definition at line 3236 of file Player.h.

◆ PlayerTalkClass

std::unique_ptr<PlayerMenu> Player::PlayerTalkClass

Definition at line 2570 of file Player.h.

◆ pvpInfo

PvPInfo Player::pvpInfo

Definition at line 2124 of file Player.h.

◆ unReadMails

uint8 Player::unReadMails

Definition at line 1942 of file Player.h.

◆ WhisperList

GuidList Player::WhisperList
protected

Definition at line 3072 of file Player.h.


The documentation for this class was generated from the following files: