TrinityCore
Loading...
Searching...
No Matches
Player Class Reference

#include <Player.h>

+ Inheritance diagram for Player:

Classes

struct  BgBattlegroundQueueID_Rec
 
struct  ChatFloodThrottle
 

Public Types

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

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, uint32 options=0)
 
bool TeleportTo (WorldLocation const &loc, uint32 options=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 IsInAreaTriggerRadius (AreaTriggerEntry const *trigger) const
 
void SendInitialPacketsBeforeAddToMap ()
 
void SendInitialPacketsAfterAddToMap ()
 
void SendSupercededSpell (uint32 oldSpell, uint32 newSpell) const
 
void SendTransferAborted (uint32 mapid, TransferAbortReason reason, uint8 arg=0) const
 
void SendInstanceResetWarning (uint32 mapid, Difficulty difficulty, uint32 time, bool welcome) const
 
bool CanInteractWithQuestGiver (Object *questGiver) const
 
CreatureGetNPCIfCanInteractWith (ObjectGuid const &guid, NPCFlags npcFlags) const
 
GameObjectGetGameObjectIfCanInteractWith (ObjectGuid const &guid) const
 
GameObjectGetGameObjectIfCanInteractWith (ObjectGuid const &guid, GameobjectTypes type) const
 
void ToggleAFK ()
 
void ToggleDND ()
 
bool isAFK () const
 
bool isDND () const
 
uint8 GetChatTag () const
 
uint32 GetBarberShopCost (uint8 newhairstyle, uint8 newhaircolor, uint8 newfacialhair, BarberShopStyleEntry const *newSkin=nullptr) const
 
PlayerSocialGetSocial ()
 
void RemoveSocial ()
 
void InitTaxiNodesForLevel ()
 
bool ActivateTaxiPathTo (std::vector< uint32 > const &nodes, Creature *npc=nullptr, uint32 spellid=0)
 
bool ActivateTaxiPathTo (uint32 taxi_path_id, uint32 spellid=0)
 
void FinishTaxiFlight ()
 
void CleanupAfterTaxiFlight ()
 
void ContinueTaxiFlight () const
 
void SendTaxiNodeStatusMultiple ()
 
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)
 
bool Has310Flyer (bool checkAllSpells, uint32 excludeSpellId=0)
 
void SetHas310Flyer (bool on)
 
void SetPvPDeath (bool on)
 
bool HasRaceChanged () const
 
void SetHasRaceChanged ()
 
bool HasBeenGrantedLevelsFromRaF () const
 
void SetBeenGrantedLevelsFromRaF ()
 
bool HasLevelBoosted () const
 
void SetHasLevelBoosted ()
 
uint32 GetXP () const
 
uint32 GetXPForNextLevel () const
 
void SetXP (uint32 xp)
 
void GiveXP (uint32 xp, Unit *victim, float group_rate=1.0f)
 
void GiveLevel (uint8 level)
 
bool IsMaxLevel () const
 
void InitStatsForLevel (bool reapplyMods=false)
 
bool GetCommandStatus (uint32 command) const
 
void SetCommandStatusOn (uint32 command)
 
void SetCommandStatusOff (uint32 command)
 
uint32 GetTotalPlayedTime () const
 
uint32 GetLevelPlayedTime () const
 
Gender GetNativeGender () const override
 
void SetNativeGender (Gender gender) override
 
uint8 GetSkinId () const
 
void SetSkinId (uint8 skin)
 
uint8 GetFaceId () const
 
void SetFaceId (uint8 face)
 
uint8 GetHairStyleId () const
 
void SetHairStyleId (uint8 hairStyle)
 
uint8 GetHairColorId () const
 
void SetHairColorId (uint8 hairColor)
 
uint8 GetFacialStyle () const
 
void SetFacialStyle (uint8 facialStyle)
 
void setDeathState (DeathState s) override
 
float GetRestBonus () const
 
void SetRestBonus (float rest_bonus_new)
 
uint8 GetRestState () const
 
void SetRestState (uint8 restState)
 
bool HasRestFlag (RestFlag restFlag) const
 
void SetRestFlag (RestFlag restFlag, uint32 triggerId=0)
 
void RemoveRestFlag (RestFlag restFlag)
 
uint32 GetXPRestBonus (uint32 xp)
 
uint32 GetInnTriggerId () const
 
PetStableGetPetStable ()
 
PetStableGetOrInitPetStable ()
 
PetStable const * GetPetStable () const
 
PetGetPet () const
 
PetSummonPet (uint32 entry, float x, float y, float z, float ang, PetType petType, uint32 despwtime)
 
void RemovePet (Pet *pet, PetSaveMode mode, bool returnreagent=false)
 
uint32 GetPhaseMaskForSpawn () const
 
void AddPetAura (PetAura const *petSpell)
 
void RemovePetAura (PetAura const *petSpell)
 
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, Player *receiver)
 
void SetVirtualItemSlot (uint8 i, Item *item)
 
void SetSheath (SheathState sheathed) override
 
uint8 FindEquipSlot (Item const *item, uint32 slot, bool swap) 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) const
 
ItemGetItemByPos (uint16 pos) const
 
ItemGetItemByPos (uint8 bag, uint8 slot) const
 
ItemGetUseableItemByPos (uint8 bag, uint8 slot) const
 
BagGetBagByPos (uint8 slot) const
 
uint32 GetFreeInventorySpace () const
 
ItemGetWeaponForAttack (WeaponAttackType attackType, bool useable=false) const
 
ItemGetShield (bool useable=false) const
 
std::vector< Item * > & GetItemUpdateQueue ()
 
bool IsValidPos (uint16 pos, bool explicit_pos) const
 
bool IsValidPos (uint8 bag, uint8 slot, bool explicit_pos) const
 
uint8 GetBankBagSlotCount () const
 
void SetBankBagSlotCount (uint8 count)
 
bool HasItemCount (uint32 item, uint32 count=1, bool inBankAlso=false) const
 
bool HasItemFitToSpellRequirements (SpellInfo const *spellInfo, Item const *ignoreItem=nullptr) const
 
bool CanNoReagentCast (SpellInfo const *spellInfo) const
 
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 *itemLimitCategory=nullptr) const
 
InventoryResult CanTakeMoreSimilarItems (uint32 entry, uint32 count, uint32 *itemLimitCategory=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 *itemLimitCategory) 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 CanEquipUniqueItem (Item *pItem, uint8 except_slot=NULL_SLOT, uint32 limit_count=1) const
 
InventoryResult CanEquipUniqueItem (ItemTemplate const *itemProto, uint8 except_slot=NULL_SLOT, uint32 limit_count=1) const
 
InventoryResult CanUnequipItems (uint32 item, uint32 count) const
 
InventoryResult CanUnequipItem (uint16 src, bool swap) const
 
InventoryResult CanBankItem (uint8 bag, uint8 slot, ItemPosCountVec &dest, Item *pItem, bool swap, bool not_loading=true) const
 
InventoryResult CanUseItem (Item *pItem, bool not_loading=true) const
 
bool HasItemTotemCategory (uint32 TotemCategory) const
 
InventoryResult CanUseItem (ItemTemplate const *pItem) const
 
InventoryResult CanUseAmmo (uint32 item) const
 
InventoryResult CanRollForItemInLFG (ItemTemplate const *item, WorldObject const *lootedObject) const
 
ItemStoreNewItem (ItemPosCountVec const &pos, uint32 item, bool update, int32 randomPropertyId=0, GuidSet const &allowedLooters=GuidSet())
 
ItemStoreItem (ItemPosCountVec const &pos, Item *pItem, bool update)
 
ItemEquipNewItem (uint16 pos, uint32 item, bool update)
 
ItemEquipItem (uint16 pos, Item *pItem, bool update)
 
void AutoUnequipOffhandIfNeed (bool force=false)
 
bool StoreNewItemInBestSlots (uint32 item_id, uint32 item_count)
 
void AutoStoreLoot (uint8 bag, uint8 slot, uint32 loot_id, LootStore const &store, bool broadcast=false, bool createdByPlayer=false)
 
void AutoStoreLoot (uint32 loot_id, LootStore const &store, bool broadcast=false, bool createdByPlayer=false)
 
void StoreLootItem (uint8 lootSlot, Loot *loot)
 
InventoryResult CanTakeMoreSimilarItems (uint32 entry, uint32 count, Item *pItem, uint32 *no_space_count=nullptr, uint32 *itemLimitCategory=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 ApplyEquipCooldown (Item *pItem)
 
void SetAmmo (uint32 item)
 
void RemoveAmmo ()
 
float GetAmmoDPS () const
 
bool CheckAmmoCompatibility (ItemTemplate const *ammo_proto) const
 
void QuickEquipItem (uint16 pos, Item *pItem)
 
void VisualizeItem (uint8 slot, Item *pItem)
 
void SetVisibleItemSlot (uint8 slot, Item *pItem)
 
ItemBankItem (ItemPosCountVec const &dest, Item *pItem, bool update)
 
void RemoveItem (uint8 bag, uint8 slot, bool update)
 
void MoveItemFromInventory (uint8 bag, uint8 slot, bool update)
 
void MoveItemToInventory (ItemPosCountVec const &dest, Item *pItem, bool update, bool in_characterInventoryDB=false)
 
void RemoveItemDependentAurasAndCasts (Item *pItem)
 
void DestroyItem (uint8 bag, uint8 slot, bool update)
 
uint32 DestroyItemCount (uint32 item, uint32 count, bool update, bool unequip_check=false)
 
void DestroyItemCount (Item *item, uint32 &count, bool update)
 
void DestroyConjuredItems (bool update)
 
void DestroyZoneLimitedItem (bool update, uint32 new_zone)
 
void SplitItem (uint16 src, uint16 dst, uint32 count)
 
void SwapItem (uint16 src, uint16 dst)
 
void AddItemToBuyBackSlot (Item *pItem)
 
ItemGetItemFromBuyBackSlot (uint32 slot)
 
void RemoveItemFromBuyBackSlot (uint32 slot, bool del)
 
uint32 GetMaxKeyringSize () const
 
void SendEquipError (InventoryResult msg, Item *pItem, Item *pItem2=nullptr, uint32 itemid=0) const
 
void SendBuyError (BuyResult msg, Creature *creature, uint32 item, uint32 param) const
 
void SendSellError (SellResult msg, Creature *creature, ObjectGuid guid, uint32 param) 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 count, bool received, bool created, bool broadcast=false, bool sendChatMessage=true)
 
bool BuyItemFromVendorSlot (ObjectGuid vendorguid, uint32 vendorslot, uint32 item, uint32 count, uint8 bag, uint8 slot)
 
bool _StoreOrEquipNewItem (uint32 vendorslot, uint32 item, uint8 count, uint8 bag, uint8 slot, int32 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, TradeStatus status=TRADE_STATUS_TRADE_CANCELED)
 
CinematicMgrGetCinematicMgr () const
 
void UpdateEnchantTime (uint32 time)
 
void UpdateSoulboundTradeItems ()
 
void AddTradeableItem (Item *item)
 
void RemoveTradeableItem (Item *item)
 
void UpdateItemDuration (uint32 time, bool realtimeonly=false)
 
void AddEnchantmentDurations (Item *item)
 
void RemoveEnchantmentDurations (Item *item)
 
void RemoveEnchantmentDurationsReferences (Item *item)
 
void RemoveArenaEnchantments (EnchantmentSlot slot)
 
void AddEnchantmentDuration (Item *item, EnchantmentSlot slot, uint32 duration)
 
void ApplyEnchantment (Item *item, EnchantmentSlot slot, bool apply, bool apply_dur=true, bool ignore_condition=false)
 
void ApplyEnchantment (Item *item, bool apply)
 
void UpdateSkillEnchantments (uint16 skill_id, uint16 curr_value, uint16 new_value)
 
void SendEnchantmentDurations ()
 
void AddItemDurations (Item *item)
 
void RemoveItemDurations (Item *item)
 
void SendItemDurations ()
 
void LoadCorpse (PreparedQueryResult result)
 
void LoadPet ()
 
bool AddItem (uint32 itemId, uint32 count)
 
void PrepareGossipMenu (WorldObject *source, uint32 menuId=0, bool showQuests=false)
 
void SendPreparedGossip (WorldObject *source)
 
void OnGossipSelect (WorldObject *source, uint32 gossipListId, uint32 menuId)
 
uint32 GetGossipTextId (uint32 menuId, WorldObject *source)
 
uint32 GetGossipTextId (WorldObject *source)
 
int32 GetQuestLevel (Quest const *quest) const
 
void PrepareQuestMenu (ObjectGuid guid)
 
void SendPreparedQuest (ObjectGuid guid)
 
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)
 
bool CanCompleteRepeatableQuest (Quest const *quest)
 
bool CanRewardQuest (Quest const *quest, bool msg)
 
bool CanRewardQuest (Quest const *quest, uint32 reward, bool msg)
 
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)
 
void RewardQuest (Quest const *quest, uint32 reward, Object *questGiver, bool announce=true)
 
void SetRewardedQuest (uint32 quest_id)
 
void FailQuest (uint32 quest_id)
 
bool SatisfyQuestSkill (Quest const *qInfo, bool msg) const
 
bool SatisfyQuestLevel (Quest const *qInfo, bool msg) const
 
bool SatisfyQuestLog (bool msg) const
 
bool SatisfyQuestDependentQuests (Quest const *qInfo, bool msg) const
 
bool SatisfyQuestPreviousQuest (Quest const *qInfo, bool msg) const
 
bool SatisfyQuestDependentPreviousQuests (Quest const *qInfo, bool msg) const
 
bool SatisfyQuestBreadcrumbQuest (Quest const *qInfo, bool msg) const
 
bool SatisfyQuestDependentBreadcrumbQuests (Quest const *qInfo, bool msg) const
 
bool SatisfyQuestClass (Quest const *qInfo, bool msg) const
 
bool SatisfyQuestRace (Quest const *qInfo, bool msg) const
 
bool SatisfyQuestReputation (Quest const *qInfo, bool msg) const
 
bool SatisfyQuestStatus (Quest const *qInfo, bool msg) const
 
bool SatisfyQuestConditions (Quest const *qInfo, bool msg) const
 
bool SatisfyQuestTimed (Quest const *qInfo, bool msg) const
 
bool SatisfyQuestExclusiveGroup (Quest const *qInfo, bool msg) const
 
bool SatisfyQuestDay (Quest const *qInfo, bool msg) const
 
bool SatisfyQuestWeek (Quest const *qInfo, bool msg) const
 
bool SatisfyQuestMonth (Quest const *qInfo, bool msg) const
 
bool SatisfyQuestSeasonal (Quest const *qInfo, bool msg) const
 
bool 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)
 
QuestGiverStatus GetQuestDialogStatus (Object *questGiver)
 
void SetDailyQuestStatus (uint32 quest_id)
 
bool IsDailyQuestDone (uint32 quest_id)
 
void SetWeeklyQuestStatus (uint32 quest_id)
 
void SetMonthlyQuestStatus (uint32 quest_id)
 
void SetSeasonalQuestStatus (uint32 quest_id)
 
void ResetDailyQuestStatus ()
 
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
 
uint32 GetQuestSlotTime (uint16 slot) const
 
void SetQuestSlot (uint16 slot, uint32 quest_id, uint32 timer=0)
 
void SetQuestSlotCounter (uint16 slot, uint8 counter, uint16 count)
 
void SetQuestSlotState (uint16 slot, uint32 state)
 
void RemoveQuestSlotState (uint16 slot, uint32 state)
 
void SetQuestSlotTimer (uint16 slot, uint32 timer)
 
void SwapQuestSlot (uint16 slot1, uint16 slot2)
 
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)
 
void ItemRemovedQuestCheck (uint32 entry, uint32 count)
 
void KilledMonster (CreatureTemplate const *cInfo, ObjectGuid guid)
 
void KilledMonsterCredit (uint32 entry, ObjectGuid guid=ObjectGuid::Empty)
 
void KilledPlayerCredit (uint16 count=1)
 
void KilledPlayerCreditForQuest (uint16 count, Quest const *quest)
 
void KillCreditGO (uint32 entry, ObjectGuid guid=ObjectGuid::Empty)
 
void TalkedToCreature (uint32 entry, ObjectGuid guid)
 
void MoneyChanged (uint32 value)
 
void ReputationChanged (FactionEntry const *factionEntry)
 
void ReputationChanged2 (FactionEntry const *factionEntry)
 
bool HasQuestForItem (uint32 itemId, uint32 excludeQuestId=0, bool turnIn=false) const
 
bool HasQuestForGO (int32 goId) const
 
void UpdateVisibleGameobjectsOrSpellClicks ()
 
bool CanShareQuest (uint32 questId) const
 
void SendQuestComplete (uint32 questId) const
 
void SendQuestReward (Quest const *quest, uint32 XP) const
 
void SendQuestFailed (uint32 questId, InventoryResult reason=EQUIP_ERR_OK) const
 
void SendQuestTimerFailed (uint32 questId) const
 
void SendCanTakeQuestResponse (QuestFailedReason msg) const
 
void SendQuestConfirmAccept (Quest const *quest, Player *pReceiver) const
 
void SendPushToPartyResponse (Player const *player, QuestShareMessages msg) const
 
void SendQuestUpdateAddItem (Quest const *quest, uint32 itemIdx, uint16 count) const
 
void SendQuestUpdateAddCreatureOrGo (Quest const *quest, ObjectGuid guid, uint32 creatureOrGOIdx, uint16 oldCount, uint16 addCount)
 
void SendQuestUpdateAddPlayer (Quest const *quest, uint16 oldCount, uint16 addCount)
 
void SendQuestGiverStatusMultiple ()
 
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)
 
bool HasPvPForcingQuest () const
 
bool LoadFromDB (ObjectGuid guid, CharacterDatabaseQueryHolder const &holder)
 
bool IsLoading () const override
 
void SaveToDB (bool create=false)
 
void SaveToDB (CharacterDatabaseTransaction trans, bool create=false)
 
void SaveInventoryAndGoldToDB (CharacterDatabaseTransaction trans)
 
void SaveGoldToDB (CharacterDatabaseTransaction trans) const
 
void SetBindPoint (ObjectGuid guid) const
 
void SendTalentWipeConfirm (ObjectGuid trainerGuid) const
 
void ResetPetTalents ()
 
void RegenerateAll ()
 
void Regenerate (Powers power)
 
void RegenerateHealth ()
 
void setRegenTimerCount (uint32 time)
 
void setWeaponChangeTimer (uint32 time)
 
uint32 GetMoney () const
 
bool ModifyMoney (int32 amount, bool sendError=true)
 
bool HasEnoughMoney (uint32 amount) const
 
bool HasEnoughMoney (int32 amount) const
 
void SetMoney (uint32 value)
 
RewardedQuestSet const & getRewardedQuests () const
 
QuestStatusMapgetQuestStatusMap ()
 
size_t GetRewardedQuestCount () const
 
bool IsQuestRewarded (uint32 quest_id) const
 
UnitGetSelectedUnit () const
 
PlayerGetSelectedPlayer () const
 
void SetTarget (ObjectGuid) override
 
void SetSelection (ObjectGuid guid)
 Used for serverside target changes, does not apply to players.
 
void SendMailResult (uint32 mailId, MailResponseType mailAction, MailResponseResult mailError, uint32 equipError=0, ObjectGuid::LowType item_guid=0, uint32 item_count=0) const
 
void SendNewMail () const
 
void UpdateNextMailTimeAndUnreads ()
 
void AddNewMailDeliverTime (time_t deliver_time)
 
void RemoveMail (uint32 id)
 
void AddMail (Mail *mail)
 
uint32 GetMailSize ()
 
MailGetMail (uint32 id)
 
PlayerMails const & GetMails () const
 
void SendItemRetrievalMail (uint32 itemEntry, uint32 count)
 
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
 
bool IsSpellFitByClassAndRace (uint32 spell_id) const
 
bool HandlePassiveSpellLearn (SpellInfo const *spellInfo)
 
void SendProficiency (ItemClass itemClass, uint32 itemSubclassMask) const
 
void SendInitialSpells ()
 
void SendUnlearnSpells ()
 
bool AddSpell (uint32 spellId, bool active, bool learning, bool dependent, bool disabled, bool loading=false, uint32 fromSkill=0)
 
void LearnSpell (uint32 spell_id, bool dependent, uint32 fromSkill=0)
 
void RemoveSpell (uint32 spell_id, bool disabled=false, bool learn_low_rank=true)
 
void ResetSpells (bool myClassOnly=false)
 
void LearnCustomSpells ()
 
void LearnDefaultSkills ()
 
void LearnDefaultSkill (uint32 skillId, uint16 rank)
 
void LearnQuestRewardedSpells ()
 
void LearnQuestRewardedSpells (Quest const *quest)
 
void AddTemporarySpell (uint32 spellId)
 
void RemoveTemporarySpell (uint32 spellId)
 
void SetReputation (uint32 factionentry, uint32 value)
 
uint32 GetReputation (uint32 factionentry) const
 
std::string GetGuildName () const
 
uint32 GetFreeTalentPoints () const
 
void SetFreeTalentPoints (uint32 points)
 
uint32 GetUsedTalentCount () const
 
void SetUsedTalentCount (uint32 talents)
 
uint32 GetQuestRewardedTalentCount () const
 
void AddQuestRewardedTalentCount (uint32 points)
 
uint32 GetTalentResetCost () const
 
void SetTalentResetCost (uint32 cost)
 
time_t GetTalentResetTime () const
 
void SetTalentResetTime (time_t time_)
 
uint8 GetActiveTalentGroup () const
 
void SetActiveTalentGroup (uint8 group)
 
uint8 GetTalentGroupsCount () const
 
void SetTalentGroupsCount (uint8 count)
 
bool ResetTalents (bool involuntarily=false)
 
uint32 ResetTalentsCost () const
 
void IncreaseResetTalentsCostAndCounters (uint32 lastResetTalentsCost)
 
void InitTalentForLevel ()
 
void BuildPlayerTalentsInfoData (WorldPackets::Talent::TalentInfoUpdate &talentInfo)
 
void BuildPetTalentsInfoData (WorldPackets::Talent::PetTalentInfoUpdate &petTalentInfo) const
 
void SendTalentsInfoData (bool pet)
 
bool LearnTalent (uint32 talentId, uint32 talentRank)
 
void LearnPetTalent (ObjectGuid petGuid, uint32 talentId, uint32 talentRank)
 
void SendTameFailure (uint8 result)
 
bool AddTalent (uint32 spellId, uint8 spec, bool learning)
 
bool HasTalent (uint32 spell_id, uint8 spec) const
 
uint32 CalculateTalentsPoints () const
 
void UpdateTalentGroupCount (uint8 count)
 
void ActivateTalentGroup (uint8 group)
 
void LoadActions (PreparedQueryResult result)
 
void InitGlyphsForLevel ()
 
void SetGlyphSlot (uint8 slot, uint32 slottype)
 
uint32 GetGlyphSlot (uint8 slot) const
 
void SetGlyph (uint8 slot, uint32 glyph)
 
uint32 GetGlyph (uint8 group, uint8 slot) const
 
PlayerTalentMap const * GetTalentMap (uint8 group) const
 
PlayerTalentMapGetTalentMap (uint8 group)
 
ActionButtonList const & GetActionButtons () const
 
uint32 GetFreePrimaryProfessionPoints () const
 
void SetFreePrimaryProfessions (uint16 profs)
 
void InitPrimaryProfessions ()
 
PlayerSpellMap const & GetSpellMap () const
 
PlayerSpellMapGetSpellMap ()
 
void AddSpellMod (SpellModifier *mod, bool apply)
 
template<class T >
void ApplySpellMod (uint32 spellId, SpellModOp op, T &basevalue, Spell *spell=nullptr) const
 
void SetSpellModTakingSpell (Spell *spell, bool apply)
 
void RemoveArenaSpellCooldowns (bool removeActivePetCooldowns=false)
 
uint32 GetLastPotionId () const
 
void SetLastPotionId (uint32 item_id)
 
void UpdatePotionCooldown (Spell *spell=nullptr)
 
void SetResurrectRequestData (WorldObject const *caster, uint32 health, uint32 mana, uint32 appliedAura)
 
void ClearResurrectRequestData ()
 
bool IsResurrectRequestedBy (ObjectGuid const &guid) const
 
bool IsResurrectRequested () const
 
void ResurrectUsingRequestData ()
 
void ResurrectUsingRequestDataImpl ()
 
uint8 getCinematic () const
 
void setCinematic (uint8 cine)
 
uint32 GetMovie () const
 
void SetMovie (uint32 movie)
 
ActionButtonaddActionButton (uint8 button, uint32 action, uint8 type)
 
void removeActionButton (uint8 button)
 
ActionButton const * GetActionButton (uint8 button)
 
void SendInitialActionButtons () const
 
void SendActionButtons (uint32 state) const
 
bool IsActionButtonDataValid (uint8 button, uint32 action, uint8 type) const
 
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 SetNeedsZoneUpdate (bool needsUpdate)
 
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 SendDuelCountdown (uint32 counter)
 
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 SetGuildIdInvited (ObjectGuid::LowType GuildId)
 
ObjectGuid::LowType GetGuildId () const
 
GuildGetGuild ()
 
ObjectGuid::LowType GetGuildIdInvited () const
 
void SetInArenaTeam (uint32 ArenaTeamId, uint8 slot, uint8 type)
 
void SetArenaTeamInfoField (uint8 slot, ArenaTeamInfoType type, uint32 value)
 
uint32 GetArenaTeamId (uint8 slot) const
 
uint32 GetArenaPersonalRating (uint8 slot) const
 
void SetArenaTeamIdInvited (uint32 ArenaTeamId)
 
uint32 GetArenaTeamIdInvited () const
 
Difficulty GetDifficulty (bool isRaid) const
 
Difficulty GetDungeonDifficulty () const
 
Difficulty GetRaidDifficulty () const
 
Difficulty GetStoredRaidDifficulty () const
 
void SetDungeonDifficulty (Difficulty dungeon_difficulty)
 
void SetRaidDifficulty (Difficulty raid_difficulty)
 
void StoreRaidMapDifficulty ()
 
bool UpdateSkill (uint32 skill_id, uint32 step)
 
bool UpdateSkillPro (uint16 skillId, int32 chance, uint32 step)
 
bool UpdateCraftSkill (uint32 spellid)
 
bool UpdateGatherSkill (uint32 SkillId, uint32 SkillValue, uint32 RedLevel, uint32 Multiplicator=1)
 
bool UpdateFishingSkill ()
 
uint32 GetBaseDefenseSkillValue () const
 
uint32 GetBaseWeaponSkillValue (WeaponAttackType attType) const
 
float GetHealthBonusFromStamina ()
 
float GetManaBonusFromIntellect ()
 
bool UpdateStats (Stats stat) override
 
bool UpdateAllStats () override
 
void ApplySpellPenetrationBonus (int32 amount, bool apply)
 
void UpdateResistances (uint32 school) override
 
void UpdateArmor () override
 
void UpdateMaxHealth () override
 
void UpdateMaxPower (Powers power) override
 
void ApplyFeralAPBonus (int32 amount, bool apply)
 
void UpdateAttackPowerAndDamage (bool ranged=false) override
 
void UpdateShieldBlockValue ()
 
void ApplySpellPowerBonus (int32 amount, bool apply)
 
void UpdateSpellDamageAndHealingBonus ()
 
void ApplyRatingMod (CombatRating cr, int32 value, bool apply)
 
void UpdateRating (CombatRating cr)
 
void UpdateAllRatings ()
 
void CalculateMinMaxDamage (WeaponAttackType attType, bool normalized, bool addTotalPct, float &minDamage, float &maxDamage, uint8 damageIndex) const override
 
void UpdateDefenseBonusesMod ()
 
void RecalculateRating (CombatRating cr)
 
float GetMeleeCritFromAgility () const
 
void GetDodgeFromAgility (float &diminishing, float &nondiminishing) const
 
float GetMissPercentageFromDefense () const
 
float GetSpellCritFromIntellect () const
 
float OCTRegenHPPerSpirit () const
 
float OCTRegenMPPerSpirit () const
 
float GetRatingMultiplier (CombatRating cr) const
 
float GetRatingBonusValue (CombatRating cr) const
 
uint32 GetBaseSpellPowerBonus () const
 Returns base spellpower bonus from spellpower stat on items.
 
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 UpdateAllSpellCritChances ()
 
void UpdateSpellCritChance (uint32 school)
 
void UpdateArmorPenetration (int32 amount)
 
void UpdateExpertise (WeaponAttackType attType)
 
void ApplyManaRegenBonus (int32 amount, bool apply)
 
void ApplyHealthRegenBonus (int32 amount, bool apply)
 
void UpdatePowerRegen (Powers power)
 
void UpdateRuneRegen (RuneType rune)
 
float GetPowerRegen (Powers power) const
 
uint32 GetRuneTimer (uint8 index) const
 
void SetRuneTimer (uint8 index, uint32 timer)
 
uint32 GetLastRuneGraceTimer (uint8 index) const
 
void SetLastRuneGraceTimer (uint8 index, uint32 timer)
 
ObjectGuid GetLootGUID () const
 
void SetLootGUID (ObjectGuid guid)
 
void RemovedInsignia (Player *looterPlr)
 
WorldSessionGetSession () const
 
GameClientGetGameClient () const
 
void BuildCreateUpdateBlockForPlayer (UpdateData *data, Player *target) const override
 
void DestroyForPlayer (Player *target, bool onDeath=false) const override
 
void SendLogXPGain (uint32 GivenXP, Unit *victim, uint32 BonusXP, bool recruitAFriend=false, float group_rate=1.0f) const
 
void SendAttackSwingCantAttack () const
 
void SendAttackSwingCancelAttack () const
 
void SendAttackSwingDeadTarget () const
 
void SendAttackSwingNotInRange () const
 
void SendAttackSwingBadFacingAttack () const
 
void SendAutoRepeatCancel (Unit *target)
 
void SendExplorationExperience (uint32 Area, uint32 Experience) const
 
void SendDungeonDifficulty (bool IsInGroup) const
 
void SendRaidDifficulty (bool IsInGroup, int32 forcedDifficulty=-1) const
 
void ResetInstances (uint8 method, bool isRaid)
 Reset all solo instances and optionally send a message on success for each.
 
void SendResetInstanceSuccess (uint32 MapId) const
 
void SendResetInstanceFailed (uint32 reason, uint32 MapId) const
 
void SendResetFailedNotify (uint32 mapid) const
 
bool UpdatePosition (float x, float y, float z, float orientation, bool teleport=false) override
 
bool UpdatePosition (Position const &pos, bool teleport=false) override
 
void ProcessTerrainStatusUpdate (ZLiquidStatus oldLiquidStatus, Optional< LiquidData > const &newLiquidData) override
 
void 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
 
CorpseGetCorpse () const
 
void SpawnCorpseBones (bool triggerSave=true)
 
CorpseCreateCorpse ()
 
void KillPlayer ()
 
bool HasCorpse () const
 
WorldLocation const & GetCorpseLocation () const
 
uint32 GetResurrectionSpellId ()
 
void ResurrectPlayer (float restore_percent, bool applySickness=false)
 
void BuildPlayerRepop ()
 
void RepopAtGraveyard ()
 
void RemoveGhoul ()
 
void SendDurabilityLoss ()
 
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 UpdateDefense ()
 
void UpdateWeaponSkill (Unit *victim, WeaponAttackType attType)
 
void UpdateCombatSkills (Unit *victim, WeaponAttackType attType, bool defense)
 
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
 
bool HasSkill (uint32 skill) const
 
void LearnSkillRewardedSpells (uint32 skillId, uint32 skillValue)
 
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 GetSkillMaxRankByPos (uint32 pos) const
 
void SetSkillMaxRank (uint32 pos, uint16 max)
 
int16 GetSkillTempBonusByPos (uint32 pos) const
 
void SetSkillTempBonus (uint32 pos, int16 bonus)
 
uint16 GetSkillPermBonusByPos (uint32 pos) const
 
void SetSkillPermBonus (uint32 pos, uint16 bonus)
 
WorldLocationGetTeleportDest ()
 
uint32 GetTeleportOptions () const
 
bool IsBeingTeleported () const
 
bool IsBeingTeleportedNear () const
 
bool IsBeingTeleportedFar () const
 
void SetSemaphoreTeleportNear (bool semphsetting)
 
void SetSemaphoreTeleportFar (bool semphsetting)
 
void ProcessDelayedOperations ()
 
void CheckAreaExplore ()
 
void CheckOutdoorsAuraRequirements ()
 
uint32 GetTeam () const
 
TeamId GetTeamId () const
 
void SetFactionForRace (uint8 race)
 
void InitDisplayIds ()
 
bool IsAtGroupRewardDistance (WorldObject const *pRewardSource) const
 
bool IsAtRecruitAFriendDistance (WorldObject const *pOther) const
 
void RewardPlayerAndGroupAtKill (Unit *victim, bool isBattleGround)
 
void RewardPlayerAndGroupAtEvent (uint32 creature_id, WorldObject *pRewardSource)
 
bool isHonorOrXPTarget (Unit const *victim) const
 
bool GetsRecruitAFriendBonus (bool forXP)
 
uint8 GetGrantableLevels () const
 
void SetGrantableLevels (uint8 val)
 
ReputationMgrGetReputationMgr ()
 
ReputationMgr const & GetReputationMgr () const
 
ReputationRank GetReputationRank (uint32 faction_id) const
 
void RewardReputation (Unit *victim, float rate)
 
void RewardReputation (Quest const *quest)
 
int32 CalculateReputationGain (ReputationSource source, uint32 creatureOrQuestLevel, int32 rep, int32 faction, bool noQuestBonus=false)
 
void UpdateSkillsForLevel ()
 
void UpdateWeaponsSkillsToMaxSkillsForLevel ()
 
void ModifySkillBonus (uint32 skillid, int32 val, bool talent)
 
void SetArenaFaction (uint8 arenaFaction)
 
void UpdateHonorFields ()
 
bool RewardHonor (Unit *victim, uint32 groupsize, int32 honor=-1, bool pvptoken=false)
 
uint32 GetHonorPoints () const
 
uint32 GetArenaPoints () const
 
void ModifyHonorPoints (int32 value, CharacterDatabaseTransaction trans=CharacterDatabaseTransaction(nullptr))
 
void ModifyArenaPoints (int32 value, CharacterDatabaseTransaction trans=CharacterDatabaseTransaction(nullptr))
 If trans is specified, honor save query will be added to trans.
 
uint32 GetMaxPersonalArenaRatingRequirement (uint32 minarenaslot) const
 If trans is specified, arena point save query will be added to trans.
 
void SetHonorPoints (uint32 value)
 
void SetArenaPoints (uint32 value)
 
void SaveHealthBeforeDuel ()
 
void SaveManaBeforeDuel ()
 
void RestoreHealthAfterDuel ()
 
void RestoreManaAfterDuel ()
 
void SetDrunkValue (uint8 newDrunkValue, uint32 itemId=0)
 
uint8 GetDrunkValue () const
 
int32 GetFakeDrunkValue () const
 
void UpdateInvisibilityDrunkDetect ()
 
uint32 GetDeathTimer () const
 
uint32 GetCorpseReclaimDelay (bool pvp) const
 
void UpdateCorpseReclaimDelay ()
 
int32 CalculateCorpseReclaimDelay (bool load=false) const
 
void SendCorpseReclaimDelay (uint32 delay) const
 
uint32 GetShieldBlockValue () const override
 
bool CanParry () const
 
void SetCanParry (bool value)
 
bool CanBlock () const
 
void SetCanBlock (bool value)
 
bool CanTitanGrip (Item const *item) const
 
void SetCanTitanGrip (bool value, uint32 penaltySpellId=0, int32 allowedItemClass=0, int32 allowedItemSubClassMask=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, uint8 damageIndex=0) 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)
 
ScalingStatDistributionEntry const * GetScalingStatDistributionFor (ItemTemplate const &itemTemplate) const
 
ScalingStatValuesEntry const * GetScalingStatValuesFor (ItemTemplate const &itemTemplate) const
 
void _ApplyItemBonuses (ItemTemplate const *proto, uint8 slot, bool apply, bool only_level_scale=false)
 
void _ApplyWeaponDamage (uint8 slot, ItemTemplate const *proto, bool apply)
 
void _ApplyAmmoBonuses ()
 
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 form_change=false)
 
void ApplyEquipSpell (SpellInfo const *spellInfo, Item *item, bool apply, bool form_change=false)
 
void UpdateEquipSpellsAtFormChange ()
 
void CastItemCombatSpell (DamageInfo const &damageInfo)
 
void CastItemCombatSpell (DamageInfo const &damageInfo, Item *item, ItemTemplate const *proto)
 
void CastItemUseSpell (Item *item, uint32 spellId, SpellCastTargets const &targets, uint8 cast_count, uint32 glyphIndex)
 
void SendEquipmentSetList ()
 
void SetEquipmentSet (EquipmentSetInfo::EquipmentSetData const &eqset)
 
void DeleteEquipmentSet (uint64 setGuid)
 
void SendInitWorldStates (uint32 zoneId, uint32 areaId)
 
void SendUpdateWorldState (uint32 variable, uint32 value) const
 
void SendDirectMessage (WorldPacket const *data) const
 
void SendBGWeekendWorldStates () const
 
void SendBattlefieldWorldStates () const
 
void SendAurasForTarget (Unit *target, bool force=false) const
 
void SendLoot (ObjectGuid guid, LootType loot_type)
 
void SendLootError (ObjectGuid guid, LootError error) const
 
void SendLootRelease (ObjectGuid guid) const
 
void SendNotifyLootItemRemoved (uint8 lootSlot) const
 
void SendNotifyLootMoneyRemoved () const
 
bool InBattleground () const
 
bool InArena () const
 
uint32 GetBattlegroundId () const
 
BattlegroundTypeId GetBattlegroundTypeId () const
 
BattlegroundGetBattleground () 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)
 
uint32 AddBattlegroundQueueId (BattlegroundQueueTypeId val)
 
bool HasFreeBattlegroundQueueId () const
 
void RemoveBattlegroundQueueId (BattlegroundQueueTypeId val)
 
void SetInviteForBattlegroundQueueType (BattlegroundQueueTypeId bgQueueTypeId, uint32 instanceId)
 
bool IsInvitedForBattlegroundInstance (uint32 instanceId) const
 
WorldLocation const & GetBattlegroundEntryPoint () const
 
void SetBattlegroundEntryPoint ()
 
void SetBGTeam (uint32 team)
 
uint32 GetBGTeam () const
 
void LeaveBattleground (bool teleportToEntryPoint=true, bool withoutDeserterDebuff=false)
 
bool CanJoinToBattleground (Battleground 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, uint16 opcode)
 
void SetFallInformation (uint32 time, float z)
 
void HandleFall (MovementInfo const &movementInfo)
 
bool CanFlyInZone (uint32 mapid, uint32 zone, SpellInfo const *bySpell) const
 
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 ()
 
uint8 GetStartLevel (uint8 playerClass) const
 
WorldLocation GetStartPosition () const
 
bool HaveAtClient (Object const *u) const
 
bool IsNeverVisible (bool allowServersideObjects) const override
 
bool IsVisibleGloballyFor (Player const *player) const
 
void SendInitialVisiblePackets (Unit *target) const
 
void UpdateObjectVisibility (bool forced=true) override
 
void UpdateVisibilityForPlayer ()
 
void UpdateVisibilityOf (WorldObject *target)
 
void UpdateTriggerVisibility ()
 
void SetPhaseMask (uint32 newPhaseMask, bool update) override
 
template<class T >
void UpdateVisibilityOf (T *target, UpdateData &data, std::set< Unit * > &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)
 
void UnsummonPetTemporaryIfAny ()
 
void ResummonPetTemporaryUnSummonedIfAny ()
 
bool IsPetNeedBeTemporaryUnsummoned () const
 
void SendCinematicStart (uint32 CinematicSequenceId) const
 
void SendMovieStart (uint32 movieId)
 
uint32 DoRandomRoll (uint32 minimum, uint32 maximum)
 
void UpdateHomebindTime (uint32 time)
 
InstancePlayerBindGetBoundInstance (uint32 mapid, Difficulty difficulty, bool withExpired=false)
 
BoundInstancesMapGetBoundInstances (Difficulty difficulty)
 
InstanceSaveGetInstanceSave (uint32 mapid, bool raid)
 
void UnbindInstance (uint32 mapid, Difficulty difficulty, bool unload=false)
 
void UnbindInstance (BoundInstancesMap::iterator &itr, Difficulty difficulty, bool unload=false)
 
InstancePlayerBindBindToInstance (InstanceSave *save, bool permanent, BindExtensionState extendState=EXTEND_STATE_NORMAL, bool load=false)
 
void BindToInstance ()
 
void SetPendingBind (uint32 instanceId, uint32 bindTimer)
 
bool HasPendingBind () const
 
void SendRaidInfo ()
 
void SendSavedInstances ()
 
bool Satisfy (AccessRequirement const *ar, uint32 target_map, bool report=false)
 
bool CheckInstanceValidity (bool)
 
uint32 GetLastPetNumber () const
 
void SetLastPetNumber (uint32 petnumber)
 
GroupGetGroupInvite () const
 
void SetGroupInvite (Group *group)
 
GroupGetGroup ()
 
Group const * GetGroup () const
 
GroupReferenceGetGroupRef ()
 
void SetGroup (Group *group, int8 subgroup=-1)
 
uint8 GetSubGroup () const
 
uint32 GetGroupUpdateFlag () const
 
void SetGroupUpdateFlag (uint32 flag)
 
uint64 GetAuraUpdateMaskForRaid () const
 
void SetAuraUpdateMaskForRaid (uint8 slot)
 
PlayerGetNextRandomRaidMember (float radius)
 
PartyResult CanUninviteFromGroup (ObjectGuid guidMember=ObjectGuid::Empty) 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
 
DeclinedName const * GetDeclinedNames () const
 
uint8 GetRunesState () const
 
RuneType GetBaseRune (uint8 index) const
 
RuneType GetCurrentRune (uint8 index) const
 
uint32 GetRuneCooldown (uint8 index) const
 
uint32 GetRuneBaseCooldown (uint8 index) const
 
uint32 GetRuneTypeBaseCooldown (RuneType runeType) const
 
bool IsBaseRuneSlotsOnCooldown (RuneType runeType) const
 
RuneType GetLastUsedRune () const
 
void SetLastUsedRune (RuneType type)
 
void SetBaseRune (uint8 index, RuneType baseRune)
 
void SetCurrentRune (uint8 index, RuneType currentRune)
 
void SetRuneCooldown (uint8 index, uint32 cooldown, bool casted=false)
 
void SetRuneConvertAura (uint8 index, AuraEffect const *aura)
 
void RemoveRuneConvertAura (uint8 index, AuraEffect const *aura)
 
void AddRuneByAuraEffect (uint8 index, RuneType newType, AuraEffect const *aura)
 
void RemoveRunesByAuraEffect (AuraEffect const *aura)
 
void RestoreBaseRune (uint8 index)
 
void ConvertRune (uint8 index, RuneType newType)
 
void ResyncRunes () const
 
void AddRunePower (uint8 index) const
 
void InitRunes ()
 
void SendRespondInspectAchievements (Player *player) const
 
bool HasAchieved (uint32 achievementId) const
 
void ResetAchievements ()
 
void ResetAchievementCriteria (AchievementCriteriaCondition condition, uint32 value, bool evenIfCriteriaComplete=false)
 
void UpdateAchievementCriteria (AchievementCriteriaTypes type, uint32 miscValue1=0, uint32 miscValue2=0, WorldObject *ref=nullptr)
 
void StartTimedAchievement (AchievementCriteriaTimedTypes type, uint32 entry, uint32 timeLost=0)
 
void RemoveTimedAchievement (AchievementCriteriaTimedTypes type, uint32 entry)
 
void CompletedAchievement (AchievementEntry const *entry)
 
bool HasTitle (uint32 bitIndex) const
 
bool HasTitle (CharTitlesEntry const *title) const
 
void SetTitle (CharTitlesEntry const *title, bool lost=false)
 
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)
 
bool CanFly () const override
 
bool CanEnterWater () const override
 
std::string GetMapAreaAndZoneString () const
 
std::string GetCoordsMapAreaAndZoneString () const
 
std::string GetDebugInfo () const override
 
- 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
 
uint32 GetDynamicFlags () const override
 
void ReplaceAllDynamicFlags (uint32 flag) override
 
virtual bool IsAffectedByDiminishingReturns () const
 
DiminishingLevels GetDiminishing (DiminishingGroup group) const
 
void IncrDiminishing (SpellInfo const *auraSpellInfo, bool triggered)
 
bool ApplyDiminishingToDuration (SpellInfo const *auraSpellInfo, bool triggered, int32 &duration, WorldObject *caster, DiminishingLevels previousLevel) const
 
void ApplyDiminishingAura (DiminishingGroup group, bool apply)
 
void ClearDiminishings ()
 
void Heartbeat () override
 
void setAttackTimer (WeaponAttackType type, uint32 time)
 
void resetAttackTimer (WeaponAttackType type=BASE_ATTACK)
 
uint32 getAttackTimer (WeaponAttackType type) const
 
bool isAttackReady (WeaponAttackType type=BASE_ATTACK) const
 
bool haveOffhandWeapon () const
 
bool CanDualWield () const
 
virtual void SetCanDualWield (bool value)
 
float GetCombatReach () const override
 
void SetCombatReach (float combatReach)
 
float GetBoundingRadius () const
 
void SetBoundingRadius (float boundingRadius)
 
bool IsWithinCombatRange (Unit const *obj, float dist2compare) const
 
bool IsWithinMeleeRange (Unit const *obj) const
 
bool IsWithinMeleeRangeAt (Position const &pos, Unit const *obj) const
 
float GetMeleeRange (Unit const *target) const
 
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)
 
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
 
uint8 GetLevel () const
 
uint8 GetLevelForTarget (WorldObject const *) const override
 
void SetLevel (uint8 lvl, bool sendUpdate=true)
 
uint8 GetRace () const
 
void SetRace (uint8 race)
 
uint32 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 GetResistance (SpellSchools school) const
 
int32 GetResistance (SpellSchoolMask mask) const
 
void SetResistance (SpellSchools school, int32 val)
 
uint32 GetHealth () const
 
uint32 GetMaxHealth () const
 
bool IsFullHealth () const
 
bool HealthBelowPct (int32 pct) const
 
bool HealthBelowPctDamaged (int32 pct, uint32 damage) const
 
bool HealthAbovePct (int32 pct) const
 
bool HealthAbovePctHealed (int32 pct, uint32 heal) const
 
float GetHealthPct () const
 
uint32 CountPctFromMaxHealth (int32 pct) const
 
uint32 CountPctFromCurHealth (int32 pct) const
 
void SetHealth (uint32 val)
 
void SetMaxHealth (uint32 val)
 
void SetFullHealth ()
 
int32 ModifyHealth (int32 val)
 
int32 GetHealthGain (int32 dVal)
 
Powers GetPowerType () const
 
void SetPowerType (Powers power, bool sendUpdate=true)
 
void UpdateDisplayPower ()
 
uint32 GetPower (Powers power) const
 
int32 GetMinPower (Powers) const
 
uint32 GetMaxPower (Powers power) const
 
float GetPowerPct (Powers power) const
 
int32 CountPctFromMaxPower (Powers power, int32 pct) const
 
void SetPower (Powers power, uint32 val, bool withPowerUpdate=true, bool force=false)
 
void SetMaxPower (Powers power, uint32 val)
 
void SetFullPower (Powers power)
 
int32 ModifyPower (Powers power, int32 val, bool withPowerUpdate=true)
 
uint32 GetAttackTime (WeaponAttackType att) const
 
void SetAttackTime (WeaponAttackType att, uint32 val)
 
void ApplyAttackTimePercentMod (WeaponAttackType att, float val, bool apply)
 
void ApplyCastTimePercentMod (float val, bool apply)
 
void SetModCastingSpeed (float castingSpeed)
 
UnitFlags GetUnitFlags () const
 
bool HasUnitFlag (UnitFlags flags) const
 
void SetUnitFlag (UnitFlags flags)
 
void RemoveUnitFlag (UnitFlags flags)
 
void ReplaceAllUnitFlags (UnitFlags flags)
 
UnitFlags2 GetUnitFlags2 () const
 
bool HasUnitFlag2 (UnitFlags2 flags) const
 
void SetUnitFlag2 (UnitFlags2 flags)
 
void RemoveUnitFlag2 (UnitFlags2 flags)
 
void ReplaceAllUnitFlags2 (UnitFlags2 flags)
 
void SetCreatedBySpell (int32 spellId)
 
Emote GetEmoteState () const
 
void SetEmoteState (Emote emote)
 
SheathState GetSheath () const
 
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
 
UnitStandStateType GetStandState () const
 
bool IsSitState () const
 
bool IsStandState () const
 
void SetStandState (UnitStandStateType state)
 
void SetVisFlag (UnitVisFlags flags)
 
void RemoveVisFlag (UnitVisFlags flags)
 
void ReplaceAllVisFlags (UnitVisFlags flags)
 
AnimTier GetAnimTier () const
 
void SetAnimTier (AnimTier animTier)
 
bool IsMounted () const
 
uint32 GetMountDisplayId () const
 
void SetMountDisplayId (uint32 mountDisplayId)
 
void Mount (uint32 mount, uint32 vehicleId=0, uint32 creatureEntry=0)
 
void Dismount ()
 
uint32 GetMaxSkillValueForLevel (Unit const *target=nullptr) const
 
void KillSelf (bool durabilityLoss=true)
 
void GetProcAurasTriggeredOnEvent (AuraApplicationProcContainer &aurasTriggeringProc, AuraApplicationList *procAuras, ProcEventInfo &eventInfo)
 
void TriggerAurasProcOnEvent (Unit *actionTarget, uint32 typeMaskActor, uint32 typeMaskActionTarget, uint32 spellTypeMask, uint32 spellPhaseMask, uint32 hitMask, Spell *spell, DamageInfo *damageInfo, HealInfo *healInfo)
 
void TriggerAurasProcOnEvent (ProcEventInfo &eventInfo, AuraApplicationProcContainer &procAuras)
 
void HandleEmoteCommand (Emote emoteId)
 
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)
 
float GetMeleeCritChanceReduction () const
 
float GetRangedCritChanceReduction () const
 
float GetSpellCritChanceReduction () const
 
uint32 GetMeleeCritDamageReduction (uint32 damage) const
 
uint32 GetRangedCritDamageReduction (uint32 damage) const
 
uint32 GetSpellCritDamageReduction (uint32 damage) const
 
uint32 GetMeleeDamageReduction (uint32 damage) const
 
uint32 GetRangedDamageReduction (uint32 damage) const
 
uint32 GetSpellDamageReduction (uint32 damage) const
 
int32 CalculateAOEAvoidance (int32 damage, uint32 schoolMask, ObjectGuid const &casterGuid) const
 
float MeleeSpellMissChance (Unit const *victim, WeaponAttackType attType, int32 skillDiff, uint32 spellId) const override
 
SpellMissInfo MeleeSpellHitResult (Unit *victim, SpellInfo const *spellInfo) const override
 
float GetUnitDodgeChance (WeaponAttackType attType, Unit const *victim) const
 
float GetUnitParryChance (WeaponAttackType attType, Unit const *victim) const
 
float GetUnitBlockChance (WeaponAttackType attType, Unit const *victim) const
 
float GetUnitMissChance () const
 
float GetUnitCriticalChanceDone (WeaponAttackType attackType) const
 
float GetUnitCriticalChanceTaken (Unit const *attacker, WeaponAttackType attackType, float critDone) const
 
float GetUnitCriticalChanceAgainst (WeaponAttackType attackType, Unit const *victim) const
 
int32 GetMechanicResistChance (SpellInfo const *spellInfo) const
 
bool CanUseAttackType (uint8 attacktype) const
 
uint32 GetShieldBlockValue (uint32 soft_cap, uint32 hard_cap) const
 
uint32 GetDefenseSkillValue (Unit const *target=nullptr) const
 
uint32 GetWeaponSkillValue (WeaponAttackType attType, Unit const *target=nullptr) 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)
 
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 IsSpiritGuide () const
 
bool IsTabardDesigner () const
 
bool IsAuctioner () const
 
bool IsArmorer () const
 
bool IsServiceProvider () const
 
bool IsSpiritService () 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 IsInCombat () const
 
bool IsInCombatWith (Unit const *who) const
 
void SetInCombatWith (Unit *enemy, bool addSecondUnitSuppressed=false)
 
void ClearInCombat ()
 
void UpdatePetCombatState ()
 
bool IsThreatened () const
 
bool IsThreatenedBy (Unit const *who) const
 
ThreatManagerGetThreatManager ()
 
ThreatManager const & GetThreatManager () const
 
void SendClearTarget ()
 
bool HasAuraTypeWithFamilyFlags (AuraType auraType, uint32 familyName, flag96 familyFlags) const
 
bool HasBreakableByDamageAuraType (AuraType type, uint32 excludeAura=0) const
 
bool HasBreakableByDamageCrowdControlAura (Unit *excludeCasterChannel=nullptr) const
 
bool HasStealthAura () const
 
bool HasInvisibilityAura () const
 
bool IsFeared () const
 
bool IsRooted () const
 
bool IsPolymorphed () const
 
bool IsFrozen () const
 
bool isTargetableForAttack (bool checkFakeDeath=true) const
 
bool IsInWater () const
 
bool IsUnderWater () 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, Powers powerType)
 
void EnergizeBySpell (Unit *victim, uint32 spellId, int32 damage, Powers powerType)
 
void EnergizeBySpell (Unit *victim, SpellInfo const *spellInfo, int32 damage, Powers powerType)
 
AuraAddAura (uint32 spellId, Unit *target)
 
AuraAddAura (SpellInfo const *spellInfo, uint8 effMask, Unit *target)
 
void SetAuraStack (uint32 spellId, Unit *target, uint32 stack)
 
void SendPlaySpellVisualKit (uint32 id, uint32 type) const
 
void DeMorph ()
 
void SendAttackStateUpdate (CalcDamageInfo *damageInfo)
 
void SendAttackStateUpdate (uint32 HitInfo, Unit *target, uint8 SwingType, SpellSchoolMask damageSchoolMask, uint32 Damage, uint32 AbsorbDamage, uint32 Resist, VictimState TargetState, uint32 BlockedAmount)
 
void SendSpellNonMeleeDamageLog (SpellNonMeleeDamage const *log)
 
void SendSpellNonMeleeDamageLog (Unit *target, uint32 spellID, uint32 damage, SpellSchoolMask damageSchoolMask, uint32 absorbedDamage, uint32 resist, bool isPeriodic, uint32 blocked, bool criticalHit=false, bool split=false)
 
void SendPeriodicAuraLog (SpellPeriodicAuraLogInfo *pInfo)
 
void SendSpellDamageResist (Unit *target, uint32 spellId)
 
void SendSpellDamageImmune (Unit *target, uint32 spellId)
 
void NearTeleportTo (Position const &pos, bool casting=false)
 
void NearTeleportTo (float x, float y, float z, float orientation, bool casting=false)
 
void SendTeleportPacket (Position const &pos, bool teleportingTransport=false)
 
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 (float x, float y, float speedXY, float speedZ)
 
void JumpTo (float speedXY, float speedZ, bool forward=true, Optional< Position > dest={})
 
void JumpTo (WorldObject *obj, float speedZ, bool withOrientation=false)
 
void MonsterMoveWithSpeed (float x, float y, float z, float speed, bool generatePath=false, bool forceDestination=false)
 
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 packetOnly=false)
 
bool SetWaterWalking (bool enable)
 
bool SetFeatherFall (bool enable)
 
bool SetHover (bool enable, bool updateAnimTier=true)
 
void SetInFront (WorldObject const *target)
 
void SetFacingTo (float ori, bool force=true, uint32 movementId=EVENT_FACE)
 
void SetFacingToObject (WorldObject const *object, bool force=true, uint32 movementId=EVENT_FACE)
 
bool IsAlive () const
 
bool isDying () const
 
bool isDead () const
 
bool IsGhouled () const
 
DeathState getDeathState () const
 
ObjectGuid GetOwnerGUID () const override
 
void SetOwnerGUID (ObjectGuid owner)
 
ObjectGuid GetCreatorGUID () const
 
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 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< Creature * > &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 IsCharming () 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)
 
bool IsCharmerOrSelfPlayer () const
 
UnitGetCharmerOrSelf () const
 
PlayerGetCharmerOrSelfPlayer () const
 
UnitGetCharmedOrSelf () const
 
bool IsMovedByClient () const
 
bool IsMovedByServer () const
 
GameClientGetGameClientMovingMe () const
 
void SetGameClientMovingMe (GameClient *gameClientMovingMe)
 
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)
 
Aura_TryStackingOrRefreshingExistingAura (AuraCreateInfo &createInfo)
 
void _AddAura (UnitAura *aura, Unit *caster)
 
AuraApplication_CreateAuraApplication (Aura *aura, uint8 effMask)
 
void _ApplyAuraEffect (Aura *aura, uint8 effIndex)
 
void _ApplyAura (AuraApplication *aurApp, uint8 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, uint8 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, uint8 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, uint8 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, uint8 reqEffMask=0, AuraRemoveMode removeMode=AURA_REMOVE_BY_DEFAULT)
 
void RemoveAuraFromStack (uint32 spellId, ObjectGuid casterGUID=ObjectGuid::Empty, AuraRemoveMode removeMode=AURA_REMOVE_BY_DEFAULT)
 
void RemoveAurasDueToSpellByDispel (uint32 spellId, uint32 dispellerSpellId, ObjectGuid casterGUID, WorldObject *dispeller, uint8 chargesRemoved=1)
 
void RemoveAurasDueToSpellBySteal (uint32 spellId, ObjectGuid casterGUID, WorldObject *stealer)
 
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 (uint32 newPhase=0x0)
 
void RemoveAurasWithInterruptFlags (uint32 flag, uint32 except=0)
 
void RemoveAurasWithAttribute (uint32 flags)
 
void RemoveAurasWithFamily (SpellFamilyNames family, flag96 const &familyFlag, ObjectGuid casterGUID)
 
void RemoveAurasWithMechanic (uint32 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 name, uint32 iconId, uint8 effIndex) const
 
AuraEffectGetAuraEffect (AuraType type, SpellFamilyNames family, uint32 familyFlag1, uint32 familyFlag2, uint32 familyFlag3, ObjectGuid casterGUID=ObjectGuid::Empty) const
 
AuraEffectGetDummyAuraEffect (SpellFamilyNames name, uint32 iconId, uint8 effIndex) const
 
AuraApplicationGetAuraApplication (uint32 spellId, ObjectGuid casterGUID=ObjectGuid::Empty, ObjectGuid itemCasterGUID=ObjectGuid::Empty, uint8 reqEffMask=0, AuraApplication *except=nullptr) const
 
AuraGetAura (uint32 spellId, ObjectGuid casterGUID=ObjectGuid::Empty, ObjectGuid itemCasterGUID=ObjectGuid::Empty, uint8 reqEffMask=0) const
 
AuraApplicationGetAuraApplicationOfRankedSpell (uint32 spellId, ObjectGuid casterGUID=ObjectGuid::Empty, ObjectGuid itemCasterGUID=ObjectGuid::Empty, uint8 reqEffMask=0, AuraApplication *except=nullptr) const
 
AuraGetAuraOfRankedSpell (uint32 spellId, ObjectGuid casterGUID=ObjectGuid::Empty, ObjectGuid itemCasterGUID=ObjectGuid::Empty, uint8 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, uint8 reqEffMask=0) 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
 
bool HasNegativeAuraWithInterruptFlag (uint32 flag, ObjectGuid guid=ObjectGuid::Empty) const
 
bool HasAuraWithMechanic (uint32 mechanicMask) const
 
bool HasStrongerAuraWithDR (SpellInfo const *auraSpellInfo, Unit *caster, bool triggered) const
 
AuraEffectIsScriptOverriden (SpellInfo const *spell, int32 script) const
 
uint32 GetDiseasesByCaster (ObjectGuid casterGUID, bool remove=false)
 
uint32 GetDoTsByCaster (ObjectGuid casterGUID) const
 
int32 GetTotalAuraModifier (AuraType auraType) const
 
float GetTotalAuraMultiplier (AuraType auraType) const
 
int32 GetMaxPositiveAuraModifier (AuraType auraType) const
 
int32 GetMaxNegativeAuraModifier (AuraType auraType) const
 
int32 GetTotalAuraModifier (AuraType auraType, std::function< bool(AuraEffect const *)> const &predicate) const
 
float GetTotalAuraMultiplier (AuraType auraType, std::function< bool(AuraEffect const *)> const &predicate) const
 
int32 GetMaxPositiveAuraModifier (AuraType auraType, std::function< bool(AuraEffect const *)> const &predicate) const
 
int32 GetMaxNegativeAuraModifier (AuraType auraType, std::function< bool(AuraEffect const *)> const &predicate) const
 
int32 GetTotalAuraModifierByMiscMask (AuraType auraType, uint32 misc_mask) const
 
float GetTotalAuraMultiplierByMiscMask (AuraType auraType, uint32 misc_mask) const
 
int32 GetMaxPositiveAuraModifierByMiscMask (AuraType auraType, uint32 misc_mask, AuraEffect const *except=nullptr) const
 
int32 GetMaxNegativeAuraModifierByMiscMask (AuraType auraType, uint32 misc_mask) const
 
int32 GetTotalAuraModifierByMiscValue (AuraType auraType, int32 misc_value) const
 
float GetTotalAuraMultiplierByMiscValue (AuraType auraType, int32 misc_value) const
 
int32 GetMaxPositiveAuraModifierByMiscValue (AuraType auraType, int32 misc_value) const
 
int32 GetMaxNegativeAuraModifierByMiscValue (AuraType auraType, int32 misc_value) const
 
int32 GetTotalAuraModifierByAffectMask (AuraType auraType, SpellInfo const *affectedSpell) const
 
float GetTotalAuraMultiplierByAffectMask (AuraType auraType, SpellInfo const *affectedSpell) const
 
int32 GetMaxPositiveAuraModifierByAffectMask (AuraType auraType, SpellInfo const *affectedSpell) const
 
int32 GetMaxNegativeAuraModifierByAffectMask (AuraType auraType, SpellInfo const *affectedSpell) const
 
void UpdateResistanceBuffModsMod (SpellSchools school)
 
void InitStatBuffMods ()
 
void UpdateStatBuffMod (Stats stat)
 
void SetCreateStat (Stats stat, float val)
 
void SetCreateHealth (uint32 val)
 
uint32 GetCreateHealth () const
 
void SetCreateMana (uint32 val)
 
uint32 GetCreateMana () const
 
uint32 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)
 
ObjectGuid GetChannelObjectGuid () const
 
void SetChannelObjectGuid (ObjectGuid guid)
 
void SetCurrentCastSpell (Spell *pSpell)
 
void InterruptSpell (CurrentSpellTypes spellType, bool withDelayed=true, bool withInstant=true, SpellCastResult result=SPELL_FAILED_INTERRUPTED, Optional< SpellCastResult > resultOther={})
 
void FinishSpell (CurrentSpellTypes spellType, bool ok=true)
 
bool IsNonMeleeSpellCast (bool withDelayed, bool skipChanneled=false, bool skipAutorepeat=false, bool isAutoshoot=false, bool skipInstant=true) const
 
void InterruptNonMeleeSpells (bool withDelayed, uint32 spellid=0, bool withInstant=true)
 
SpellGetCurrentSpell (CurrentSpellTypes spellType) const
 
SpellGetCurrentSpell (uint32 spellType) const
 
SpellFindCurrentSpellBySpellId (uint32 spell_id) const
 
int32 GetCurrentSpellCastTime (uint32 spell_id) const
 
virtual bool HasSpellFocus (Spell const *=nullptr) const
 
virtual bool IsMovementPreventedByCasting () const
 
SpellHistoryGetSpellHistory ()
 
SpellHistory const * GetSpellHistory () const
 
ShapeshiftForm GetShapeshiftForm () const
 
void SetShapeshiftForm (ShapeshiftForm form)
 
bool IsInFeralForm () const
 
bool IsInDisallowedMountForm () 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
 
Powers GetPowerTypeByAuraGroup (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)
 
virtual void UpdateDamagePhysical (WeaponAttackType attType)
 
float GetTotalAttackPowerValue (WeaponAttackType attType) const
 
float GetWeaponDamageRange (WeaponAttackType attType, WeaponDamageRange type, uint8 damageIndex=0) const
 
void SetBaseWeaponDamage (WeaponAttackType attType, WeaponDamageRange damageRange, float value, uint8 damageIndex=0)
 
uint32 CalculateDamage (WeaponAttackType attType, bool normalized, bool addTotalPct, uint8 itemDamagesMask=0) 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 SetPhaseMask (uint32 newPhaseMask, bool update) override
 
void UpdateObjectVisibility (bool forced=true) override
 
VisibleAuraMap const & GetVisibleAuras () const
 
AuraApplicationGetVisibleAura (uint8 slot) const
 
void SetVisibleAura (uint8 slot, AuraApplication *aurApp)
 
void RemoveVisibleAura (uint8 slot)
 
bool HasInterruptFlag (uint32 flags) const
 
void AddInterruptMask (uint32 flags)
 
void UpdateInterruptMask ()
 
virtual float GetNativeObjectScale () const
 
virtual void RecalculateObjectScale ()
 
uint32 GetDisplayId () const
 
virtual void SetDisplayId (uint32 modelId)
 
uint32 GetNativeDisplayId () const
 
void RestoreDisplayId ()
 
void SetNativeDisplayId (uint32 displayId)
 
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 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
 
uint32 SpellDamageBonusDone (Unit *victim, SpellInfo const *spellProto, uint32 pdamage, DamageEffectType damagetype, SpellEffectInfo const &spellEffectInfo, Optional< float > const &donePctTotal, uint32 stack=1) const
 
float SpellDamagePctDone (Unit *victim, SpellInfo const *spellProto, DamageEffectType damagetype) const
 
uint32 SpellDamageBonusTaken (Unit *caster, SpellInfo const *spellProto, uint32 pdamage, DamageEffectType damagetype) const
 
int32 SpellBaseHealingBonusDone (SpellSchoolMask schoolMask) const
 
uint32 SpellHealingBonusDone (Unit *victim, SpellInfo const *spellProto, uint32 healamount, DamageEffectType damagetype, SpellEffectInfo const &spellEffectInfo, Optional< float > const &donePctTotal, uint32 stack=1) const
 
float SpellHealingPctDone (Unit *victim, SpellInfo const *spellProto) const
 
uint32 SpellHealingBonusTaken (Unit *caster, SpellInfo const *spellProto, uint32 healamount, DamageEffectType damagetype) const
 
uint32 MeleeDamageBonusDone (Unit *pVictim, uint32 damage, WeaponAttackType attType, SpellInfo const *spellProto=nullptr, SpellSchoolMask damageSchoolMask=SPELL_SCHOOL_MASK_NORMAL)
 
uint32 MeleeDamageBonusTaken (Unit *attacker, uint32 pdamage, WeaponAttackType attType, SpellInfo const *spellProto=nullptr, SpellSchoolMask damageSchoolMask=SPELL_SCHOOL_MASK_NORMAL)
 
bool IsBlockCritical ()
 
float SpellCritChanceDone (SpellInfo const *spellInfo, SpellSchoolMask schoolMask, WeaponAttackType attackType=BASE_ATTACK, bool isPeriodic=false) const
 
float SpellCritChanceTaken (Unit const *caster, SpellInfo const *spellInfo, SpellSchoolMask schoolMask, float doneChance, WeaponAttackType attackType=BASE_ATTACK, bool isPeriodic=false) const
 
void SetLastManaUse (uint32 spellCastTime)
 
bool IsUnderLastManaUseEffect () const
 
uint32 GetCastingTimeForBonus (SpellInfo const *spellProto, DamageEffectType damagetype, uint32 CastingTime) const
 
float CalculateDefaultCoefficient (SpellInfo const *spellInfo, DamageEffectType damagetype) const
 
void ApplySpellImmune (uint32 spellId, uint32 op, uint32 type, bool apply)
 
virtual bool IsImmunedToSpell (SpellInfo const *spellInfo, WorldObject const *caster, bool requireImmunityPurgesEffectAttribute=false) const
 
uint32 GetSchoolImmunityMask () const
 
uint32 GetDamageImmunityMask () const
 
uint32 GetMechanicImmunityMask () const
 
bool IsImmunedToDamage (SpellSchoolMask meleeSchoolMask) const
 
bool IsImmunedToDamage (SpellInfo const *spellInfo) 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)
 
float CalculateSpellpowerCoefficientLevelPenalty (SpellInfo const *spellInfo) const
 
void FollowerAdded (AbstractFollower *f)
 
void FollowerRemoved (AbstractFollower *f)
 
void RemoveAllFollowers ()
 
MotionMasterGetMotionMaster ()
 
MotionMaster const * GetMotionMaster () const
 
virtual MovementGeneratorType GetDefaultMovementType () const
 
bool IsStopped () const
 
void StopMoving (bool force=false)
 
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)
 
bool IsSplineEnabled () const
 
void SetControlled (bool apply, UnitState state)
 
void ApplyControlStatesIfNeeded ()
 
uint8 GetComboPoints (Unit const *who=nullptr) const
 --------—Combo point system----------------—
 
uint8 GetComboPoints (ObjectGuid const &guid) const
 
UnitGetComboTarget () const
 
ObjectGuid GetComboTargetGUID () const
 
void AddComboPoints (Unit *target, int8 count)
 
void AddComboPoints (int8 count)
 
void ClearComboPoints ()
 
void SendComboPoints ()
 
void AddComboPointHolder (Unit *unit)
 
void RemoveComboPointHolder (Unit *unit)
 
void ClearComboPointHolders ()
 
void SendPetActionFeedback (PetActionFeedback msg, uint32 spellId) const
 -------—Pet responses methods--------------—
 
void SendPetActionSound (PetAction action) const
 
void SendPetDismissSound () const
 
void SendPetAIReaction (ObjectGuid guid) const
 
void PropagateSpeedChange ()
 -------—End of Pet responses methods-------—
 
void ClearAllReactives ()
 
void StartReactiveTimer (ReactiveType reactive)
 
void UpdateReactives (uint32 p_time)
 
void UpdateAuraForGroup (uint8 slot)
 
bool CanProc () const
 
void SetCantProc (bool apply)
 
uint32 GetModelForForm (ShapeshiftForm form, uint32 spellId) const
 
bool CreateVehicleKit (uint32 id, uint32 creatureEntry)
 
void RemoveVehicleKit ()
 
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)
 
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)
 
void BuildMovementPacket (ByteBuffer *data) const
 
bool isMoving () const
 
bool isTurning () const
 
bool IsFlying () const
 
bool IsFalling () const
 
virtual bool CanSwim () const
 
float GetHoverOffset () const
 
uint32 GetMovementCounterAndInc ()
 
PlayerMovementPendingChangePeakFirstPendingMovementChange ()
 
PlayerMovementPendingChange PopPendingMovementChange ()
 
void PushPendingMovementChange (PlayerMovementPendingChange newChange)
 
bool HasPendingMovementChange () const
 
bool HasPendingMovementChange (MovementChangeType changeType) const
 
void PurgeAndApplyPendingMovementChanges (bool informObservers=true)
 
void RewardRage (uint32 damage, uint32 weaponSpeedHitFactor, bool attacker)
 
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
 
int32 GetHighestExclusiveSameEffectSpellGroupValue (AuraEffect const *aurEff, AuraType auraType, bool checkMiscValue=false, int32 miscValue=0) const
 
bool IsHighestExclusiveAura (Aura const *aura, bool removeOtherAuraApplications=false)
 
bool IsHighestExclusiveAuraEffect (SpellInfo const *spellInfo, AuraType auraType, int32 effectAmount, uint8 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)
 
float GetCollisionHeight () const override
 
uint32 GetVirtualItemId (uint32 slot) const
 
void SetVirtualItem (uint32 slot, uint32 itemId)
 
bool IsCombatDisallowed () const
 
void SetIsCombatDisallowed (bool apply)
 
std::string GetDebugInfo () const override
 
- 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)
 
Position GetNearPosition (float dist, float angle)
 
void MovePositionToFirstCollision (Position &pos, float dist, float angle)
 
Position GetFirstCollisionPosition (float dist, float angle)
 
Position GetRandomNearPosition (float radius)
 
void GetContactPoint (WorldObject const *obj, float &x, float &y, float &z, float distance2d=CONTACT_DISTANCE) const
 
void UpdateGroundPositionZ (float x, float y, float &z) const
 
void UpdateAllowedPositionZ (float x, float y, float &z, float *groundZ=nullptr) const
 
void GetRandomPoint (Position const &srcPos, float distance, float &rand_x, float &rand_y, float &rand_z) const
 
Position GetRandomPoint (Position const &srcPos, float distance) const
 
uint32 GetInstanceId () const
 
uint32 GetPhaseMask () const
 
bool InSamePhase (uint32 phasemask) const
 
bool InSamePhase (WorldObject const *obj) const
 
uint32 GetZoneId () const
 
uint32 GetAreaId () const
 
void GetZoneAndAreaId (uint32 &zoneid, uint32 &areaid) const
 
bool IsInWorldPvpZone () const
 
bool IsOutdoors () const
 
ZLiquidStatus GetLiquidStatus () const
 
InstanceScriptGetInstanceScript () const
 
std::string const & GetName () const
 
void SetName (std::string newname)
 
virtual std::string const & GetNameForLocaleIdx (LocaleConstant) const
 
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) const
 
bool IsWithinDistInMap (WorldObject const *obj, float dist2compare, bool is3D=true, bool incOwnRadius=true, bool incTargetRadius=true) const
 
bool IsWithinLOS (float x, float y, float z, LineOfSightChecks checks=LINEOFSIGHT_ALL_CHECKS, VMAP::ModelIgnoreFlags ignoreFlags=VMAP::ModelIgnoreFlags::Nothing) const
 
bool IsWithinLOSInMap (WorldObject const *obj, LineOfSightChecks checks=LINEOFSIGHT_ALL_CHECKS, VMAP::ModelIgnoreFlags ignoreFlags=VMAP::ModelIgnoreFlags::Nothing) const
 
Position GetHitSpherePointFor (Position const &dest) const
 
void GetHitSpherePointFor (Position const &dest, float &x, float &y, float &z) const
 
bool GetDistanceOrder (WorldObject const *obj1, WorldObject const *obj2, bool is3D=true) const
 
bool IsInRange (WorldObject const *obj, float minRange, float maxRange, bool is3D=true) const
 
bool IsInRange2d (float x, float y, float minRange, float maxRange) const
 
bool IsInRange3d (float x, float y, float z, float minRange, float maxRange) const
 
bool isInFront (WorldObject const *target, float arc=float(M_PI)) const
 
bool isInBack (WorldObject const *target, float arc=float(M_PI)) const
 
bool IsInBetween (Position const &pos1, Position const &pos2, float size=0) const
 
bool IsInBetween (WorldObject const *obj1, WorldObject const *obj2, float size=0) const
 
void PlayDistanceSound (uint32 soundId, Player *target=nullptr)
 
void PlayDirectSound (uint32 soundId, Player *target=nullptr)
 
void PlayDirectMusic (uint32 musicId, Player *target=nullptr)
 
void SendObjectDeSpawnAnim (ObjectGuid guid)
 
void AddObjectToRemoveList ()
 
float GetGridActivationRange () const
 
float GetVisibilityRange () const
 
float GetSightRange (WorldObject const *target=nullptr) const
 
bool CanSeeOrDetect (WorldObject const *obj, bool implicitDetect=false, bool distanceCheck=false, bool checkAlert=false) const
 
MapGetMap () const
 
MapFindMap () const
 
void SetZoneScript ()
 
void ClearZoneScript ()
 
ZoneScriptGetZoneScript () 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)
 
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 distance) const
 
ObjectGuid GetCharmerOrOwnerOrOwnGUID () const
 
UnitGetOwner () const
 
UnitGetCharmerOrOwner () const
 
UnitGetCharmerOrOwnerOrSelf () const
 
PlayerGetCharmerOrOwnerPlayerOrPlayerItself () const
 
PlayerGetAffectingPlayer () const
 
PlayerGetSpellModOwner () const
 
int32 CalculateSpellDamage (SpellEffectInfo const &spellEffectInfo, int32 const *basePoints=nullptr) const
 
float GetSpellMaxRangeForTarget (Unit const *target, SpellInfo const *spellInfo) const
 
float GetSpellMinRangeForTarget (Unit const *target, SpellInfo const *spellInfo) const
 
float ApplyEffectModifiers (SpellInfo const *spellInfo, uint8 effIndex, float value) const
 
int32 CalcSpellDuration (SpellInfo const *spellInfo) 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=false) 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={ })
 
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 ()
 
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
 
TransportGetTransport () 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 (Transport *t)
 
virtual float GetStationaryX () const
 
virtual float GetStationaryY () const
 
virtual float GetStationaryZ () const
 
virtual float GetStationaryO () 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
 
- Public Member Functions inherited from Object
virtual ~Object ()
 
bool IsInWorld () const
 
ObjectGuid GetGUID () const
 
PackedGuid const & GetPackGUID () const
 
uint32 GetEntry () const
 
void SetEntry (uint32 entry)
 
float GetObjectScale () const
 
bool HasDynamicFlag (uint32 flag) const
 
virtual void SetDynamicFlag (uint32 flag)
 
virtual void RemoveDynamicFlag (uint32 flag)
 
TypeID GetTypeId () const
 
bool isType (uint16 mask) const
 
void SendUpdateToPlayer (Player *player)
 
void BuildValuesUpdateBlockForPlayer (UpdateData *data, Player const *target) const
 
void BuildOutOfRangeUpdateBlock (UpdateData *data) const
 
void BuildMovementUpdateBlock (UpdateData *data, uint32 flags=0) const
 
int32 GetInt32Value (uint16 index) const
 
uint32 GetUInt32Value (uint16 index) const
 
uint64 GetUInt64Value (uint16 index) const
 
float GetFloatValue (uint16 index) const
 
uint8 GetByteValue (uint16 index, uint8 offset) const
 
uint16 GetUInt16Value (uint16 index, uint8 offset) const
 
ObjectGuid GetGuidValue (uint16 index) const
 
void SetInt32Value (uint16 index, int32 value)
 
void SetUInt32Value (uint16 index, uint32 value)
 
void UpdateUInt32Value (uint16 index, uint32 value)
 
void SetUInt64Value (uint16 index, uint64 value)
 
void SetFloatValue (uint16 index, float value)
 
void SetByteValue (uint16 index, uint8 offset, uint8 value)
 
void SetUInt16Value (uint16 index, uint8 offset, uint16 value)
 
void SetInt16Value (uint16 index, uint8 offset, int16 value)
 
void SetGuidValue (uint16 index, ObjectGuid value)
 
void SetStatFloatValue (uint16 index, float value)
 
void SetStatInt32Value (uint16 index, int32 value)
 
bool AddGuidValue (uint16 index, ObjectGuid value)
 
bool RemoveGuidValue (uint16 index, ObjectGuid value)
 
void ApplyModUInt32Value (uint16 index, int32 val, bool apply)
 
void ApplyModInt32Value (uint16 index, int32 val, bool apply)
 
void ApplyModPositiveFloatValue (uint16 index, float val, bool apply)
 
void ApplyModSignedFloatValue (uint16 index, float val, bool apply)
 
void SetFlag (uint16 index, uint32 newFlag)
 
void RemoveFlag (uint16 index, uint32 oldFlag)
 
void ToggleFlag (uint16 index, uint32 flag)
 
bool HasFlag (uint16 index, uint32 flag) const
 
void ApplyModFlag (uint16 index, uint32 flag, bool apply)
 
void SetByteFlag (uint16 index, uint8 offset, uint8 newFlag)
 
void RemoveByteFlag (uint16 index, uint8 offset, uint8 newFlag)
 
void ToggleByteFlag (uint16 index, uint8 offset, uint8 flag)
 
bool HasByteFlag (uint16 index, uint8 offset, uint8 flag) const
 
void ApplyModByteFlag (uint16 index, uint8 offset, uint8 flag, bool apply)
 
void SetFlag64 (uint16 index, uint64 newFlag)
 
void RemoveFlag64 (uint16 index, uint64 oldFlag)
 
void ToggleFlag64 (uint16 index, uint64 flag)
 
bool HasFlag64 (uint16 index, uint64 flag) const
 
void ApplyModFlag64 (uint16 index, uint64 flag, bool apply)
 
void ClearUpdateMask (bool remove)
 
uint16 GetValuesCount () const
 
virtual bool hasQuest (uint32) const
 
virtual bool hasInvolvedQuest (uint32) const
 
void SetIsNewObject (bool enable)
 
void BuildFieldsUpdate (Player *, UpdateDataMapType &) const
 
void SetFieldNotifyFlag (uint16 flag)
 
void RemoveFieldNotifyFlag (uint16 flag)
 
void ForceValuesUpdateAtIndex (uint32)
 
bool IsWorldObject () const
 
WorldObjectToWorldObject ()
 
WorldObject const * ToWorldObject () const
 
bool IsItem () const
 
ItemToItem ()
 
Item const * ToItem () const
 
bool IsPlayer () const
 
PlayerToPlayer ()
 
Player const * ToPlayer () const
 
bool IsCreature () const
 
CreatureToCreature ()
 
Creature const * ToCreature () const
 
bool IsUnit () const
 
UnitToUnit ()
 
Unit const * ToUnit () const
 
bool IsGameObject () const
 
GameObjectToGameObject ()
 
GameObject const * ToGameObject () const
 
bool IsCorpse () const
 
CorpseToCorpse ()
 
Corpse const * ToCorpse () const
 
bool IsDynObject () const
 
DynamicObjectToDynObject ()
 
DynamicObject const * ToDynObject () const
 
Trinity::unique_weak_ptr< ObjectGetWeakPtr () const
 
- Public Member Functions inherited from WorldLocation
 WorldLocation ()
 
 WorldLocation (uint32 _mapId, float x, float y, float z=0.0f, float o=0.0f)
 
 WorldLocation (uint32 mapId, Position const &position)
 
void WorldRelocate (WorldLocation const &loc)
 
void WorldRelocate (WorldLocation const *loc)
 
void WorldRelocate (uint32 mapId, Position const &pos)
 
void WorldRelocate (uint32 mapId=MAPID_INVALID, float x=0.f, float y=0.f, float z=0.f, float o=0.f)
 
WorldLocation GetWorldLocation () const
 
uint32 GetMapId () const
 
std::string GetDebugInfo () const
 
- Public Member Functions inherited from Position
 Position ()
 
 Position (float x, float y, float z=0.0f, float o=0.0f)
 
bool operator== (Position const &a) const
 
void Relocate (float x, float y)
 
void Relocate (float x, float y, float z)
 
void Relocate (float x, float y, float z, float o)
 
void Relocate (Position const &pos)
 
void Relocate (Position const *pos)
 
void RelocateOffset (Position const &offset)
 
void SetOrientation (float orientation)
 
float GetPositionX () const
 
float GetPositionY () const
 
float GetPositionZ () const
 
float GetOrientation () const
 
void GetPosition (float &x, float &y) const
 
void GetPosition (float &x, float &y, float &z) const
 
void GetPosition (float &x, float &y, float &z, float &o) const
 
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
 
float GetExactDist2dSq (const float x, const float y) const
 
float GetExactDist2dSq (Position const &pos) const
 
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
 
float GetExactDistSq (float x, float y, float z) const
 
float GetExactDistSq (Position const &pos) const
 
float GetExactDistSq (Position const *pos) const
 
float GetExactDist (float x, float y, float z) const
 
float GetExactDist (Position const &pos) const
 
float GetExactDist (Position const *pos) const
 
void GetPositionOffsetTo (Position const &endPos, Position &retOffset) const
 
Position GetPositionWithOffset (Position const &offset) const
 
float GetAbsoluteAngle (float x, float y) const
 
float GetAbsoluteAngle (Position const &pos) const
 
float GetAbsoluteAngle (Position const *pos) const
 
float ToAbsoluteAngle (float relAngle) const
 
float ToRelativeAngle (float absAngle) const
 
float GetRelativeAngle (float x, float y) const
 
float GetRelativeAngle (Position const &pos) const
 
float GetRelativeAngle (Position const *pos) const
 
void GetSinCos (float x, float y, float &vsin, float &vcos) const
 
bool IsInDist2d (float x, float y, float dist) const
 
bool IsInDist2d (Position const *pos, float dist) const
 
bool IsInDist (float x, float y, float z, float dist) const
 
bool IsInDist (Position const &pos, float dist) const
 
bool IsInDist (Position const *pos, float dist) const
 
bool IsWithinBox (Position const &center, float xradius, float yradius, float zradius) const
 
bool IsWithinDoubleVerticalCylinder (Position const *center, float radius, float height) const
 
bool HasInArc (float arcangle, Position const *pos, float border=2.0f) const
 
bool HasInLine (Position const *pos, float objSize, float width) const
 
std::string ToString () const
 
- Public Member Functions inherited from GridObject< Player >
virtual ~GridObject ()
 
bool IsInGrid () const
 
void AddToGrid (GridRefManager< Player > &m)
 
void RemoveFromGrid ()
 

Static Public Member Functions

static bool BuildEnumData (PreparedQueryResult result, WorldPacket *data)
 
static WeaponAttackType GetAttackBySlot (uint8 slot)
 
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 uint32 GetDefaultGossipMenuForSource (WorldObject *source)
 
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 ValidateAppearance (uint8 race, uint8 class_, uint8 gender, uint8 hairID, uint8 hairColor, uint8 faceID, uint8 facialHair, uint8 skinColor, bool create=false)
 
static void SavePositionInDB (WorldLocation const &loc, uint16 zoneId, ObjectGuid guid, CharacterDatabaseTransaction trans)
 
static void DeleteFromDB (ObjectGuid playerguid, uint32 accountId, bool updateRealmChars=true, bool deleteFinally=false)
 
static void DeleteOldCharacters ()
 
static void DeleteOldCharacters (uint32 keepDays)
 
static bool IsAffectedBySpellmod (SpellInfo const *spellInfo, SpellModifier *mod, Spell *spell=nullptr)
 
static void ApplyModToSpell (SpellModifier *mod, Spell *spell)
 
static bool HasSpellModApplied (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, CharterTypes type)
 
static void LeaveAllArenaTeams (ObjectGuid guid)
 
static void OfflineResurrect (ObjectGuid const &guid, CharacterDatabaseTransaction trans)
 
static uint32 TeamForRace (uint8 race)
 
static TeamId TeamIdForRace (uint8 race)
 
static DrunkenState GetDrunkenstateByValue (uint8 value)
 
- Static Public Member Functions inherited from Unit
static float CalculateAverageResistReduction (WorldObject const *caster, SpellSchoolMask schoolMask, Unit const *victim, SpellInfo const *spellInfo=nullptr)
 
static void DealDamageMods (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)
 
static void DealHeal (HealInfo &healInfo)
 
static void ProcSkillsAndAuras (Unit *actor, Unit *actionTarget, uint32 typeMaskActor, uint32 typeMaskActionTarget, uint32 spellTypeMask, uint32 spellPhaseMask, uint32 hitMask, Spell *spell, DamageInfo *damageInfo, HealInfo *healInfo)
 
static void ApplyResilience (Unit const *victim, float *crit, int32 *damage, bool isCrit, CombatRating type)
 
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 void BuildMovementPacket (Position const &pos, Position const &transportPos, MovementInfo const &movementInfo, ByteBuffer *data)
 
- Static Public Member Functions inherited from WorldObject
static bool InSamePhase (WorldObject const *a, WorldObject const *b)
 
static ReputationRank GetFactionReactionTo (FactionTemplateEntry const *factionTemplateEntry, WorldObject const *target)
 
- Static Public Member Functions inherited from Object
static ObjectGuid GetGUID (Object const *o)
 
static WorldObjectToWorldObject (Object *o)
 
static WorldObject const * ToWorldObject (Object const *o)
 
static ItemToItem (Object *o)
 
static Item const * ToItem (Object const *o)
 
static PlayerToPlayer (Object *o)
 
static Player const * ToPlayer (Object const *o)
 
static CreatureToCreature (Object *o)
 
static Creature const * ToCreature (Object const *o)
 
static UnitToUnit (Object *o)
 
static Unit const * ToUnit (Object const *o)
 
static GameObjectToGameObject (Object *o)
 
static GameObject const * ToGameObject (Object const *o)
 
static CorpseToCorpse (Object *o)
 
static Corpse const * ToCorpse (Object const *o)
 
static DynamicObjectToDynObject (Object *o)
 
static DynamicObject const * ToDynObject (Object const *o)
 
- Static 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
 
uint32 m_Played_time [MAX_PLAYED_TIME_INDEX]
 
std::unordered_set< PetAura const * > m_petAuras
 
bool m_mailsUpdated
 
uint8 unReadMails
 
time_t m_nextMailDelivereTime
 
ItemMap mMitems
 
PvPInfo pvpInfo
 
std::unique_ptr< DuelInfoduel
 
PlayerMenuPlayerTalkClass
 
std::vector< ItemSetEffect * > ItemSetEff
 
WorldObjectm_seer
 
uint32 m_homebindMapId
 
uint16 m_homebindAreaId
 
float m_homebindX
 
float m_homebindY
 
float m_homebindZ
 
GuidUnorderedSet m_clientGUIDs
 
DFQuestsDoneList m_DFQuests
 
uint32 m_HomebindTimer
 
bool m_InstanceValid
 
BoundInstancesMap m_boundInstances [MAX_DIFFICULTY]
 
Spellm_spellModTakingSpell
 
bool isDebugAreaTriggers
 
- Public Attributes inherited from Unit
bool m_canDualWield
 
ControlList m_Controlled
 
ObjectGuid m_SummonSlot [MAX_SUMMON_SLOT]
 
ObjectGuid m_ObjectSlot [MAX_GAMEOBJECT_SLOT]
 
float m_modMeleeHitChance
 
float m_modRangedHitChance
 
float m_modSpellHitChance
 
float m_baseSpellCritChance
 
float m_modAttackSpeedPct [MAX_ATTACK]
 
uint32 m_attackTimer [MAX_ATTACK]
 
SpellImmuneContainer m_spellImmune [MAX_SPELL_IMMUNITY]
 
uint32 m_lastSanctuaryTime
 
ObjectGuid LastCharmerGUID
 
Movement::MoveSplinemovespline
 
- Public Attributes inherited from WorldObject
FlaggedValuesArray32< int32, uint32, StealthType, TOTAL_STEALTH_TYPESm_stealth
 
FlaggedValuesArray32< int32, uint32, StealthType, TOTAL_STEALTH_TYPESm_stealthDetect
 
FlaggedValuesArray32< int32, uint32, InvisibilityType, TOTAL_INVISIBILITY_TYPESm_invisibility
 
FlaggedValuesArray32< int32, uint32, 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 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::list< DynamicObject * > DynObjectList
 
typedef std::list< GameObject * > GameObjectList
 

Protected Member Functions

void _LoadActions (PreparedQueryResult result)
 
void _LoadAuras (PreparedQueryResult result, uint32 timediff)
 
void _LoadGlyphAuras ()
 
void _LoadBoundInstances (PreparedQueryResult result)
 
void _LoadInventory (PreparedQueryResult result, uint32 timeDiff)
 
void _LoadMail (PreparedQueryResult mailsResult, PreparedQueryResult mailItemsResult)
 
void _LoadQuestStatus (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)
 
bool _LoadHomeBind (PreparedQueryResult result)
 
void _LoadDeclinedNames (PreparedQueryResult result)
 
void _LoadArenaTeamInfo (PreparedQueryResult result)
 
void _LoadEquipmentSets (PreparedQueryResult result)
 
void _LoadBGData (PreparedQueryResult result)
 
void _LoadGlyphs (PreparedQueryResult result)
 
void _LoadTalents (PreparedQueryResult result)
 
void _LoadPetStable (uint8 petStableSlots, PreparedQueryResult result)
 
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 _SaveEquipmentSets (CharacterDatabaseTransaction trans)
 
void _SaveBGData (CharacterDatabaseTransaction trans)
 
void _SaveGlyphs (CharacterDatabaseTransaction trans) const
 
void _SaveTalents (CharacterDatabaseTransaction trans)
 
void _SaveStats (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 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)
 
void BuildValuesUpdate (uint8 updatetype, ByteBuffer *data, Player const *target) const override
 
void DestroyForPlayer (Player *target, bool onDeath) const override
 
void _UpdateSpells (uint32 time)
 
void _DeleteRemovedAuras ()
 
void _UpdateAutoRepeatSpell ()
 
bool IsAlwaysVisibleFor (WorldObject const *seer) const override
 
bool IsAlwaysDetectableFor (WorldObject const *seer) const override
 
void DisableSpline ()
 
void ProcessPositionDataChanged (PositionFullTerrainStatus const &data) override
 
virtual void AtEnterCombat ()
 
virtual void AtEngage (Unit *target)
 
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 () const
 
- Protected Member Functions inherited from Object
 Object ()
 
void _InitValues ()
 
void _Create (ObjectGuid const &guid)
 
std::string _ConcatFields (uint16 startIndex, uint16 size) const
 
bool _LoadIntoDataField (std::string const &data, uint32 startOffset, uint32 count)
 
uint32 GetUpdateFieldData (Player const *target, uint32 *&flags) const
 
void BuildMovementUpdate (ByteBuffer *data, uint16 flags) const
 
void AddToObjectUpdateIfNeeded ()
 

Static Protected Member Functions

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

Protected Attributes

GuidList WhisperList
 
uint32 m_regenTimerCount
 
uint32 m_foodEmoteTimerCount
 
float m_powerFraction [MAX_POWERS]
 
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
 
ObjectGuid m_lootGuid
 
uint32 m_team
 
uint32 m_nextSave
 
std::array< ChatFloodThrottle, ChatFloodThrottle::MAXm_chatFloodData
 
Difficulty m_dungeonDifficulty
 
Difficulty m_raidDifficulty
 
Difficulty m_raidMapDifficulty
 
uint32 m_atLoginFlags
 
Itemm_items [PLAYER_SLOTS_COUNT]
 
uint32 m_currentBuybackSlot
 
std::vector< Item * > m_itemUpdateQueue
 
bool m_itemUpdateQueueBlocked
 
uint32 m_ExtraFlags
 
QuestStatusMap m_QuestStatus
 
QuestStatusSaveMap m_QuestStatusSave
 
RewardedQuestSet m_RewardedQuests
 
QuestStatusSaveMap m_RewardedQuestsSave
 
SkillStatusMap mSkillStatus
 
ObjectGuid::LowType m_GuildIdInvited
 
uint32 m_ArenaTeamIdInvited
 
PlayerMails m_mail
 
PlayerSpellMap m_spells
 
uint32 m_lastPotionId
 
PlayerTalentInfo_talentMgr
 
ActionButtonList m_actionButtons
 
float m_auraBaseFlatMod [BASEMOD_END]
 
float m_auraBasePctMod [BASEMOD_END]
 
int16 m_baseRatingValue [MAX_COMBAT_RATING]
 
uint32 m_baseSpellPower
 
uint32 m_baseFeralAP
 
uint32 m_baseManaRegen
 
uint32 m_baseHealthRegen
 
int32 m_spellPenetrationItemMod
 
SpellModContainer m_spellMods [MAX_SPELLMOD]
 
EnchantDurationList m_enchantDuration
 
ItemDurationList m_itemDuration
 
GuidUnorderedSet m_itemSoulboundTradeable
 
std::unique_ptr< ResurrectionData_resurrectionData
 
WorldSessionm_session
 
JoinedChannelsList m_channels
 
uint8 m_cinematic
 
uint32 m_movie
 
TradeDatam_trade
 
bool m_DailyQuestChanged
 
bool m_WeeklyQuestChanged
 
bool m_MonthlyQuestChanged
 
bool m_SeasonalQuestChanged
 
time_t m_lastDailyQuestTime
 
uint32 m_hostileReferenceCheckTimer
 
uint32 m_drunkTimer
 
uint32 m_weaponChangeTimer
 
uint32 m_zoneUpdateId
 
uint32 m_zoneUpdateTimer
 
uint32 m_areaUpdateId
 
uint32 m_deathTimer
 
time_t m_deathExpireTime
 
uint32 m_WeaponProficiency
 
uint32 m_ArmorProficiency
 
bool m_canParry
 
bool m_canBlock
 
bool m_canTitanGrip
 
uint32 m_titanGripWeaponSubclasses
 
uint32 m_titanGripArmorSubclasses
 
uint32 m_titanGripPenaltySpellId
 
uint8 m_swingErrorMsg
 
float m_ammoDPS
 
time_t _restTime
 
uint32 inn_triggerId
 
float m_rest_bonus
 
uint32 _restFlagMask
 
PlayerSocialm_social
 
GroupReference m_group
 
GroupReference m_originalGroup
 
Groupm_groupInvite
 
uint32 m_groupUpdateMask
 
uint64 m_auraRaidUpdateMask
 
bool m_bPassOnGroupLoot
 
uint32 m_lastpetnumber
 
time_t m_summon_expire
 
WorldLocation m_summon_location
 
WorldLocation m_recall_location
 
DeclinedNamem_declinedname
 
Runesm_runes
 
EquipmentSetContainer _equipmentSets
 
uint8 m_grantableLevels
 
uint8 m_fishingSteps
 
bool m_needsZoneUpdate
 
- Protected Attributes inherited from Unit
bool m_ControlledByPlayer
 
bool m_AutoRepeatFirstCast
 
float m_createStats [MAX_STATS]
 
AttackerSet m_attackers
 
Unitm_attacking
 
DeathState m_deathState
 
int32 m_procDeep
 
DynObjectList m_dynObj
 
GameObjectList m_gameObj
 
uint32 m_transformSpell
 
Spellm_currentSpells [CURRENT_MAX_SPELL]
 
AuraMap m_ownedAuras
 
AuraApplicationMap m_appliedAuras
 
AuraList m_removedAuras
 
AuraMap::iterator m_auraUpdateIterator
 
uint32 m_removedAurasCount
 
AuraEffectList m_modAuras [TOTAL_AURAS]
 
AuraList m_scAuras
 
AuraApplicationList m_interruptableAuras
 
AuraStateAurasMap m_auraStateAuras
 
uint32 m_interruptMask
 
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][2]
 
bool m_canModifyStats
 
VisibleAuraMap m_visibleAuras
 
float m_speed_rate [MAX_MOVE_TYPE]
 
Unitm_charmer
 
Unitm_charmed
 
CharmInfom_charmInfo
 
SharedVisionList m_sharedVision
 
GameClient_gameClientMovingMe
 
MotionMasteri_motionMaster
 
uint32 m_reactiveTimer [MAX_REACTIVE]
 
uint32 m_regenTimer
 
Vehiclem_vehicle
 
Trinity::unique_trackable_ptr< Vehiclem_vehicleKit
 
uint32 m_unitTypeMask
 
LiquidTypeEntry const * _lastLiquid
 
- 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
 
Transportm_transport
 
uint32 m_zoneId
 
uint32 m_areaId
 
float m_staticFloorZ
 
bool m_outdoors
 
ZLiquidStatus m_liquidStatus
 
- Protected Attributes inherited from Object
uint16 m_objectType
 
TypeID m_objectTypeId
 
uint16 m_updateFlag
 
union { 
 
   int32 *   m_int32Values 
 
   uint32 *   m_uint32Values 
 
   float *   m_floatValues 
 
};  
 
UpdateMask _changesMask
 
uint16 m_valuesCount
 
uint16 _fieldNotifyFlags
 
bool m_objectUpdated
 

Private Member Functions

InventoryResult CanStoreItem_InSpecificSlot (uint8 bag, uint8 slot, ItemPosCountVec &dest, ItemTemplate const *pProto, uint32 &count, bool swap, Item *pSrcItem) const
 
InventoryResult CanStoreItem_InBag (uint8 bag, ItemPosCountVec &dest, ItemTemplate const *pProto, uint32 &count, bool merge, bool non_specialized, Item *pSrcItem, uint8 skip_bag, uint8 skip_slot) const
 
InventoryResult CanStoreItem_InInventorySlots (uint8 slot_begin, uint8 slot_end, ItemPosCountVec &dest, ItemTemplate const *pProto, uint32 &count, bool merge, Item *pSrcItem, uint8 skip_bag, uint8 skip_slot) const
 
Item_StoreItem (uint16 pos, Item *pItem, uint32 count, bool clone, bool update)
 
Item_LoadItem (CharacterDatabaseTransaction trans, uint32 zoneId, uint32 timeDiff, Field *fields)
 
void SendRefundInfo (Item *item)
 
void RefundItem (Item *item)
 
void SendItemRefundResult (Item *item, ItemExtendedCostEntry const *iece, uint8 error) const
 
void AddKnownCurrency (uint32 itemId)
 
void AdjustQuestReqItemCount (Quest const *quest, QuestStatusData &questStatusData)
 
bool IsCanDelayTeleport () const
 
void SetCanDelayTeleport (bool setting)
 
bool IsHasDelayedTeleport () const
 
void SetDelayedTeleportFlag (bool setting)
 
void ScheduleDelayedOperation (uint32 operation)
 
bool IsInstanceLoginGameMasterException () const
 

Private Attributes

CinematicMgr_cinematicMgr
 
GuidSet m_refundableItems
 
MapReference m_mapRef
 
uint32 m_lastFallTime
 
float m_lastFallZ
 
int32 m_MirrorTimer [MAX_TIMERS]
 
uint8 m_MirrorTimerFlags
 
uint8 m_MirrorTimerFlagsLast
 
uint32 m_runeGraceCooldown [MAX_RUNES]
 
uint32 m_lastRuneGraceTimers [MAX_RUNES]
 
WorldLocation m_teleport_dest
 
uint32 m_teleport_options
 
bool mSemaphoreTeleport_Near
 
bool mSemaphoreTeleport_Far
 
uint32 m_DelayedOperations
 
bool m_bCanDelayTeleport
 
bool m_bHasDelayedTeleport
 
std::unique_ptr< PetStablem_petStable
 
uint32 m_temporaryUnsummonedPetNumber
 
uint32 m_oldpetspell
 
AchievementMgrm_achievementMgr
 
ReputationMgrm_reputationMgr
 
uint32 m_ChampioningFaction
 
uint32 _pendingBindId
 
uint32 _pendingBindTimer
 
uint32 _activeCheats
 
uint32 healthBeforeDuel
 
uint32 manaBeforeDuel
 
WorldLocation _corpseLocation
 

Friends

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

Detailed Description

Definition at line 923 of file Player.h.

Member Typedef Documentation

◆ BoundInstancesMap

typedef std::unordered_map< uint32 , InstancePlayerBind > Player::BoundInstancesMap

Definition at line 2139 of file Player.h.

◆ DFQuestsDoneList

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

Definition at line 2120 of file Player.h.

◆ ItemMap

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

Definition at line 1448 of file Player.h.

◆ JoinedChannelsList

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

Definition at line 1787 of file Player.h.

◆ QuestSet

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

Definition at line 2294 of file Player.h.

◆ SeasonalQuestMapByEvent

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

Definition at line 2296 of file Player.h.

◆ SeasonalQuestMapByQuest

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

Definition at line 2295 of file Player.h.

Constructor & Destructor Documentation

◆ Player()

Player::Player ( WorldSession session)
explicit

Definition at line 121 of file Player.cpp.

+ Here is the call graph for this function:

◆ ~Player()

Player::~Player ( )

Definition at line 337 of file Player.cpp.

Member Function Documentation

◆ _ApplyAllItemMods()

void Player::_ApplyAllItemMods ( )

Definition at line 7913 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 7963 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 1040 of file StatSystem.cpp.

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

◆ _ApplyAmmoBonuses()

void Player::_ApplyAmmoBonuses ( )

Definition at line 7981 of file Player.cpp.

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

◆ _ApplyItemBonuses()

void Player::_ApplyItemBonuses ( ItemTemplate const *  proto,
uint8  slot,
bool  apply,
bool  only_level_scale = false 
)

Definition at line 7115 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 7055 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,
ItemTemplate const *  proto,
bool  apply 
)

Definition at line 7381 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 17656 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 16729 of file Player.cpp.

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

◆ _LoadAuras()

void Player::_LoadAuras ( PreparedQueryResult  result,
uint32  timediff 
)
protected

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

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

◆ _LoadBoundInstances()

void Player::_LoadBoundInstances ( PreparedQueryResult  result)
protected

Definition at line 18484 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 18325 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 16718 of file Player.cpp.

+ Here is the caller graph for this function:

◆ _LoadEquipmentSets()

void Player::_LoadEquipmentSets ( PreparedQueryResult  result)
protected

Definition at line 16772 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 17773 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 25569 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 18461 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 18920 of file Player.cpp.

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

◆ _LoadInventory()

void Player::_LoadInventory ( PreparedQueryResult  result,
uint32  timeDiff 
)
protected

Definition at line 17823 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 17954 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 
)
protected

Definition at line 18135 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,
uint32  mailId,
Mail mail,
Field fields 
)
staticprotected

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

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

◆ _LoadPetStable()

void Player::_LoadPetStable ( uint8  petStableSlots,
PreparedQueryResult  result 
)
protected

Definition at line 26166 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 18201 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 18289 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 26138 of file Player.cpp.

+ Here is the caller graph for this function:

◆ _LoadSeasonalQuestStatus()

void Player::_LoadSeasonalQuestStatus ( PreparedQueryResult  result)
protected

Definition at line 18399 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 24669 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)
protected

Definition at line 18449 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 25611 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 18374 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 7868 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 1052 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 19325 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 19373 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 25499 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 19714 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 25449 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 25589 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 19431 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 19570 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 19810 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 19640 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 19776 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 19833 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 19888 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 19928 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 25622 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 19753 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 11686 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,
int32  price,
ItemTemplate const *  pProto,
Creature pVendor,
VendorItem const *  crItem,
bool  bStore 
)
inline

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

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

◆ ActivateTalentGroup()

void Player::ActivateTalentGroup ( uint8  group)

Definition at line 25708 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 
)

Definition at line 21008 of file Player.cpp.

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

◆ ActivateTaxiPathTo() [2/2]

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

Definition at line 21187 of file Player.cpp.

+ Here is the call graph for this function:

◆ addActionButton()

ActionButton * Player::addActionButton ( uint8  button,
uint32  action,
uint8  type 
)

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

+ Here is the caller graph for this function:

◆ AddBattlegroundQueueId()

uint32 Player::AddBattlegroundQueueId ( BattlegroundQueueTypeId  val)

Definition at line 23098 of file Player.cpp.

+ Here is the caller graph for this function:

◆ AddEnchantmentDuration()

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

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

+ Here is the call graph for this function:
+ 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 25960 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 23369 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 12977 of file Player.cpp.

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

◆ AddKnownCurrency()

void Player::AddKnownCurrency ( uint32  itemId)
private

Definition at line 25185 of file Player.cpp.

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

◆ AddMail()

void Player::AddMail ( Mail mail)
inline

Definition at line 1433 of file Player.h.

+ Here is the caller graph for this function:

◆ AddMItem()

void Player::AddMItem ( Item it)

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

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

◆ AddPetAura()

void Player::AddPetAura ( PetAura const *  petSpell)

Definition at line 20400 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 14716 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 14624 of file Player.cpp.

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

◆ AddQuestRewardedTalentCount()

void Player::AddQuestRewardedTalentCount ( uint32  points)
inline

Definition at line 1491 of file Player.h.

+ Here is the caller graph for this function:

◆ AddRefundReference()

void Player::AddRefundReference ( ObjectGuid  it)

Definition at line 25908 of file Player.cpp.

+ Here is the caller graph for this function:

◆ AddRuneByAuraEffect()

void Player::AddRuneByAuraEffect ( uint8  index,
RuneType  newType,
AuraEffect const *  aura 
)

Definition at line 24386 of file Player.cpp.

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

◆ AddRunePower()

void Player::AddRunePower ( uint8  index) const

Definition at line 24478 of file Player.cpp.

+ Here is the call graph for this function:

◆ AddSpell()

bool Player::AddSpell ( uint32  spellId,
bool  active,
bool  learning,
bool  dependent,
bool  disabled,
bool  loading = false,
uint32  fromSkill = 0 
)
Todo:
: confirm if rogues start with lockpicking skill at level 1 but only receive the spell to use it at level 16

Definition at line 2951 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 
)

Definition at line 20876 of file Player.cpp.

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

◆ AddTalent()

bool Player::AddTalent ( uint32  spellId,
uint8  spec,
bool  learning 
)

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

+ Here is the caller graph for this function:

◆ AddTimedQuest()

void Player::AddTimedQuest ( uint32  questId)
inline

Definition at line 1364 of file Player.h.

+ Here is the caller graph for this function:

◆ AddToWorld()

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

Reimplemented from Object.

Definition at line 1815 of file Player.cpp.

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

◆ AddTradeableItem()

void Player::AddTradeableItem ( Item item)

Definition at line 13264 of file Player.cpp.

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

◆ AddWeaponProficiency()

void Player::AddWeaponProficiency ( uint32  newflag)
inline

Definition at line 1195 of file Player.h.

+ Here is the caller graph for this function:

◆ AddWhisperWhiteList()

void Player::AddWhisperWhiteList ( ObjectGuid  guid)
inline

Definition at line 2249 of file Player.h.

+ Here is the caller graph for this function:

◆ AdjustQuestReqItemCount()

void Player::AdjustQuestReqItemCount ( Quest const *  quest,
QuestStatusData questStatusData 
)
private

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

+ Here is the call graph for this function:

◆ ApplyBaseModPctValue()

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

Definition at line 4965 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 13425 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 13431 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 22625 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  form_change = false 
)

Definition at line 7593 of file Player.cpp.

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

◆ ApplyFeralAPBonus()

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

Definition at line 334 of file StatSystem.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 917 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 7534 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  form_change = false 
)

Definition at line 7569 of file Player.cpp.

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

◆ ApplyItemObtainSpells()

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

Definition at line 7469 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 911 of file StatSystem.cpp.

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

◆ ApplyModToSpell()

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

Definition at line 20913 of file Player.cpp.

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

◆ ApplyRatingMod()

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

Definition at line 5260 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 ( uint32  spellId,
SpellModOp  op,
T &  basevalue,
Spell spell = nullptr 
) const

Definition at line 20807 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 242 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 178 of file StatSystem.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 16008 of file Player.cpp.

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

◆ AtExitCombat()

void Player::AtExitCombat ( )
overridevirtual

Reimplemented from Unit.

Definition at line 24070 of file Player.cpp.

+ Here is the call graph for this function:

◆ AutoStoreLoot() [1/2]

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

Definition at line 1157 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,
bool  broadcast = false,
bool  createdByPlayer = false 
)

Definition at line 24529 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 23378 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 11978 of file Player.cpp.

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

◆ BindToInstance() [1/2]

void Player::BindToInstance ( )

Definition at line 18684 of file Player.cpp.

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

◆ BindToInstance() [2/2]

InstancePlayerBind * Player::BindToInstance ( InstanceSave save,
bool  permanent,
BindExtensionState  extendState = EXTEND_STATE_NORMAL,
bool  load = false 
)

Definition at line 18618 of file Player.cpp.

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

◆ BuildCreateUpdateBlockForPlayer()

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

Reimplemented from Object.

Definition at line 3791 of file Player.cpp.

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

◆ BuildEnumData()

bool Player::BuildEnumData ( PreparedQueryResult  result,
WorldPacket data 
)
static

Definition at line 1300 of file Player.cpp.

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

◆ BuildPetTalentsInfoData()

void Player::BuildPetTalentsInfoData ( WorldPackets::Talent::PetTalentInfoUpdate petTalentInfo) const

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

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

◆ BuildPlayerTalentsInfoData()

void Player::BuildPlayerTalentsInfoData ( WorldPackets::Talent::TalentInfoUpdate talentInfo)

Definition at line 25257 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 21405 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 23850 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,
uint8  damageIndex 
) const
overridevirtual

Implements Unit.

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

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

◆ CalculateTalentsPoints()

uint32 Player::CalculateTalentsPoints ( ) const

Definition at line 24642 of file Player.cpp.

+ 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 14467 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 22084 of file Player.cpp.

+ Here is the call graph for this function:

◆ CanApplyResilience()

bool Player::CanApplyResilience ( ) const
inlineoverridevirtual

Reimplemented from Unit.

Definition at line 1688 of file Player.h.

◆ CanBankItem()

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

Definition at line 11183 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 2253 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 1897 of file Player.h.

+ Here is the caller graph for this function:

◆ CanCaptureTowerPoint()

bool Player::CanCaptureTowerPoint ( ) const

Definition at line 24212 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)

Definition at line 14491 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 14561 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 2256 of file Player.h.

◆ CanEquipItem()

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

Definition at line 10982 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 10968 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 24788 of file Player.cpp.

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

◆ CanEquipUniqueItem() [2/2]

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

Definition at line 24821 of file Player.cpp.

+ Here is the call graph for this function:

◆ CanFly()

bool Player::CanFly ( ) const
inlineoverridevirtual

Implements Unit.

Definition at line 2255 of file Player.h.

◆ CanFlyInZone()

bool Player::CanFlyInZone ( uint32  mapid,
uint32  zone,
SpellInfo const *  bySpell 
) const

Definition at line 24658 of file Player.cpp.

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

◆ CanInteractWithQuestGiver()

bool Player::CanInteractWithQuestGiver ( Object questGiver) const

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

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

◆ CanJoinToBattleground()

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

Definition at line 21993 of file Player.cpp.

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

◆ CanNoReagentCast()

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

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

+ Here is the caller graph for this function:

◆ CanReportAfkDueToLimit()

bool Player::CanReportAfkDueToLimit ( )

Definition at line 22004 of file Player.cpp.

+ Here is the caller graph for this function:

◆ CanRewardQuest() [1/2]

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

Definition at line 14580 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,
uint32  reward,
bool  msg 
)

Definition at line 14677 of file Player.cpp.

+ Here is the call graph for this function:

◆ CanRollForItemInLFG()

InventoryResult Player::CanRollForItemInLFG ( ItemTemplate const *  item,
WorldObject const *  lootedObject 
) const

Definition at line 11481 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 25236 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 14441 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 15656 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 9994 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 10225 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 10106 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 10175 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 10032 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 itemLimitCategory 
) const

Definition at line 10658 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 9989 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 itemLimitCategory = nullptr 
) const

Definition at line 9984 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 itemLimitCategory = nullptr 
) const

Definition at line 9928 of file Player.cpp.

+ Here is the call graph for this function:

◆ CanTakeMoreSimilarItems() [3/3]

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

Definition at line 1133 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 14455 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 1902 of file Player.h.

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

◆ CanTitanGrip()

bool Player::CanTitanGrip ( Item const *  item) const

Definition at line 13146 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 11139 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 9384 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 = ObjectGuid::Empty) const
Todo:
Should also be sent when anyone has recently left combat, with an aprox ~5 seconds timer.

Definition at line 23924 of file Player.cpp.

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

◆ CanUseAmmo()

InventoryResult Player::CanUseAmmo ( uint32  item) const

Definition at line 11558 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 24193 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 11370 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) const

Definition at line 11430 of file Player.cpp.

+ Here is the call graph for this function:

◆ CastAllObtainSpells()

void Player::CastAllObtainSpells ( )

Definition at line 7451 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 7660 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 7710 of file Player.cpp.

+ Here is the call graph for this function:

◆ CastItemUseSpell()

void Player::CastItemUseSpell ( Item item,
uint32  spellId,
SpellCastTargets const &  targets,
uint8  cast_count,
uint32  glyphIndex 
)

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

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

◆ CheckAmmoCompatibility()

bool Player::CheckAmmoCompatibility ( ItemTemplate const *  ammo_proto) const

Definition at line 8005 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 6184 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 7556 of file Player.cpp.

+ Here is the call graph for this function:

◆ CheckDuelDistance()

void Player::CheckDuelDistance ( time_t  currTime)

Definition at line 6898 of file Player.cpp.

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

◆ CheckInstanceValidity()

bool Player::CheckInstanceValidity ( bool  )

Definition at line 18867 of file Player.cpp.

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

◆ CheckOutdoorsAuraRequirements()

void Player::CheckOutdoorsAuraRequirements ( )

Definition at line 6263 of file Player.cpp.

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

◆ CheckTitanGripPenalty()

void Player::CheckTitanGripPenalty ( )

Definition at line 13195 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 21211 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 4847 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 369 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 2012 of file Player.h.

+ Here is the caller graph for this function:

◆ ClearQuestSharingInfo()

void Player::ClearQuestSharingInfo ( )
inline

Definition at line 1359 of file Player.h.

+ Here is the caller graph for this function:

◆ ClearResurrectRequestData()

void Player::ClearResurrectRequestData ( )
inline

Definition at line 1552 of file Player.h.

+ Here is the caller graph for this function:

◆ ClearWhisperWhiteList()

void Player::ClearWhisperWhiteList ( )
inline

Definition at line 2248 of file Player.h.

+ Here is the caller graph for this function:

◆ CompletedAchievement()

void Player::CompletedAchievement ( AchievementEntry const *  entry)

Definition at line 24945 of file Player.cpp.

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

◆ CompleteQuest()

void Player::CompleteQuest ( uint32  quest_id)

Definition at line 14804 of file Player.cpp.

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

◆ ContinueTaxiFlight()

void Player::ContinueTaxiFlight ( ) const

Definition at line 21218 of file Player.cpp.

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

◆ ConvertRune()

void Player::ConvertRune ( uint8  index,
RuneType  newType 
)

Definition at line 24451 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 21826 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 382 of file Player.cpp.

+ Here is the call graph for this function:

◆ CreateCorpse()

Corpse * Player::CreateCorpse ( )

Definition at line 4474 of file Player.cpp.

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

◆ DeleteEquipmentSet()

void Player::DeleteEquipmentSet ( uint64  setGuid)

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

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

◆ 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 4252 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 4268 of file Player.cpp.

+ Here is the call graph for this function:

◆ DeleteRefundReference()

void Player::DeleteRefundReference ( ObjectGuid  it)

Definition at line 25913 of file Player.cpp.

+ Here is the caller graph for this function:

◆ DestroyConjuredItems()

void Player::DestroyConjuredItems ( bool  update)

Definition at line 12433 of file Player.cpp.

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

◆ DestroyForPlayer()

void Player::DestroyForPlayer ( Player target,
bool  onDeath = false 
) const
overridevirtual

Reimplemented from Object.

Definition at line 3822 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 12113 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 12489 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 12209 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 12402 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 26479 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 6937 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 4580 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 4554 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 4654 of file Player.cpp.

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

◆ DurabilityPointsLoss()

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

Definition at line 4624 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 4598 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 4743 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 4660 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 21741 of file Player.cpp.

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

◆ EnvironmentalDamage()

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

Definition at line 634 of file Player.cpp.

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

◆ EquipItem()

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

Definition at line 11804 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,
bool  update 
)

Definition at line 11791 of file Player.cpp.

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

◆ FailQuest()

void Player::FailQuest ( uint32  quest_id)

Definition at line 15040 of file Player.cpp.

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

◆ FindEquipSlot()

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

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

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

◆ FinishTaxiFlight()

void Player::FinishTaxiFlight ( )

Definition at line 21202 of file Player.cpp.

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

◆ GetActionButton()

ActionButton const * Player::GetActionButton ( uint8  button)

Definition at line 6094 of file Player.cpp.

+ Here is the caller graph for this function:

◆ GetActionButtons()

ActionButtonList const & Player::GetActionButtons ( ) const
inline

Definition at line 1528 of file Player.h.

◆ GetActiveTalentGroup()

uint8 Player::GetActiveTalentGroup ( ) const
inline

Definition at line 1496 of file Player.h.

+ Here is the caller graph for this function:

◆ GetAmmoDPS()

float Player::GetAmmoDPS ( ) const
inline

Definition at line 1169 of file Player.h.

+ Here is the caller graph for this function:

◆ GetArenaPersonalRating()

uint32 Player::GetArenaPersonalRating ( uint8  slot) const
inline

Definition at line 1630 of file Player.h.

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

◆ GetArenaPoints()

uint32 Player::GetArenaPoints ( ) const
inline

Definition at line 1867 of file Player.h.

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

◆ GetArenaTeamId()

uint32 Player::GetArenaTeamId ( uint8  slot) const
inline

Definition at line 1629 of file Player.h.

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

◆ GetArenaTeamIdInvited()

uint32 Player::GetArenaTeamIdInvited ( ) const
inline

Definition at line 1632 of file Player.h.

+ Here is the caller graph for this function:

◆ GetArmorProficiency()

uint32 Player::GetArmorProficiency ( ) const
inline

Definition at line 1198 of file Player.h.

+ Here is the caller graph for this function:

◆ GetAttackBySlot()

WeaponAttackType Player::GetAttackBySlot ( uint8  slot)
static

Definition at line 9654 of file Player.cpp.

+ Here is the caller graph for this function:

◆ GetAuraUpdateMaskForRaid()

uint64 Player::GetAuraUpdateMaskForRaid ( ) const
inline

Definition at line 2178 of file Player.h.

+ Here is the caller graph for this function:

◆ GetAverageItemLevel()

float Player::GetAverageItemLevel ( ) const

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

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

◆ GetBankBagSlotCount()

uint8 Player::GetBankBagSlotCount ( ) const
inline

Definition at line 1124 of file Player.h.

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

◆ GetBarberShopCost()

uint32 Player::GetBarberShopCost ( uint8  newhairstyle,
uint8  newhaircolor,
uint8  newfacialhair,
BarberShopStyleEntry const *  newSkin = nullptr 
) const

Definition at line 24219 of file Player.cpp.

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

◆ GetBaseDefenseSkillValue()

uint32 Player::GetBaseDefenseSkillValue ( ) const
inline

Definition at line 1649 of file Player.h.

+ Here is the caller graph for this function:

◆ GetBaseModValue()

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

Definition at line 5066 of file Player.cpp.

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

◆ GetBaseRune()

RuneType Player::GetBaseRune ( uint8  index) const
inline

Definition at line 2204 of file Player.h.

+ Here is the caller graph for this function:

◆ GetBaseSkillValue()

uint16 Player::GetBaseSkillValue ( uint32  skill) const

Definition at line 5934 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.

Definition at line 1685 of file Player.h.

+ Here is the caller graph for this function:

◆ GetBaseWeaponSkillValue()

uint32 Player::GetBaseWeaponSkillValue ( WeaponAttackType  attType) const

Definition at line 23691 of file Player.cpp.

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

◆ GetBattleground()

Battleground * Player::GetBattleground ( ) const

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

+ Here is the caller graph for this function:

◆ GetBattlegroundId()

uint32 Player::GetBattlegroundId ( ) const
inline

Definition at line 1984 of file Player.h.

+ Here is the caller graph for this function:

◆ GetBattlegroundQueueIndex()

uint32 Player::GetBattlegroundQueueIndex ( BattlegroundQueueTypeId  bgQueueTypeId) const

Definition at line 23071 of file Player.cpp.

+ Here is the caller graph for this function:

◆ GetBattlegroundQueueTypeId()

BattlegroundQueueTypeId Player::GetBattlegroundQueueTypeId ( uint32  index) const

Definition at line 23066 of file Player.cpp.

+ Here is the caller graph for this function:

◆ GetBattlegroundTypeId()

BattlegroundTypeId Player::GetBattlegroundTypeId ( ) const
inline

Definition at line 1985 of file Player.h.

+ Here is the caller graph for this function:

◆ GetBGAccessByLevel()

bool Player::GetBGAccessByLevel ( BattlegroundTypeId  bgTypeId) const

Definition at line 23157 of file Player.cpp.

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

◆ GetBGTeam()

uint32 Player::GetBGTeam ( ) const

Definition at line 21950 of file Player.cpp.

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

◆ GetBoundInstance()

InstancePlayerBind * Player::GetBoundInstance ( uint32  mapid,
Difficulty  difficulty,
bool  withExpired = false 
)

Definition at line 18564 of file Player.cpp.

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

◆ GetBoundInstances()

BoundInstancesMap & Player::GetBoundInstances ( Difficulty  difficulty)
inline

Definition at line 2148 of file Player.h.

+ Here is the caller graph for this function:

◆ GetChampioningFaction()

uint32 Player::GetChampioningFaction ( ) const
inline

Definition at line 2241 of file Player.h.

+ Here is the caller graph for this function:

◆ GetChatTag()

uint8 Player::GetChatTag ( ) const

Definition at line 1508 of file Player.cpp.

+ Here is the call graph for this function:

◆ getCinematic()

uint8 Player::getCinematic ( ) const
inline

Definition at line 1569 of file Player.h.

+ Here is the caller graph for this function:

◆ GetCinematicMgr()

CinematicMgr * Player::GetCinematicMgr ( ) const
inline

Definition at line 1213 of file Player.h.

+ Here is the caller graph for this function:

◆ GetCommandStatus()

bool Player::GetCommandStatus ( uint32  command) const
inline

Definition at line 1028 of file Player.h.

+ Here is the caller graph for this function:

◆ GetCoordsMapAreaAndZoneString()

std::string Player::GetCoordsMapAreaAndZoneString ( ) const

Definition at line 26250 of file Player.cpp.

+ Here is the call graph for this function:

◆ GetCorpse()

Corpse * Player::GetCorpse ( ) const

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

+ Here is the caller graph for this function:

◆ GetCorpseReclaimDelay()

uint32 Player::GetCorpseReclaimDelay ( bool  pvp) const

Definition at line 23809 of file Player.cpp.

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

◆ GetCurrentRune()

RuneType Player::GetCurrentRune ( uint8  index) const
inline

Definition at line 2205 of file Player.h.

+ Here is the caller graph for this function:

◆ GetDeathTimer()

uint32 Player::GetDeathTimer ( ) const
inline

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

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

◆ GetDeclinedNames()

DeclinedName const * Player::GetDeclinedNames ( ) const
inline

Definition at line 2202 of file Player.h.

◆ GetDefaultGossipMenuForSource()

uint32 Player::GetDefaultGossipMenuForSource ( WorldObject source)
static

Definition at line 14251 of file Player.cpp.

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

◆ GetDifficulty()

Difficulty Player::GetDifficulty ( bool  isRaid) const
inline

Definition at line 1634 of file Player.h.

+ Here is the caller graph for this function:

◆ GetDodgeFromAgility()

void Player::GetDodgeFromAgility ( float &  diminishing,
float &  nondiminishing 
) const
Todo:
research if talents/effects that increase total agility by x% should increase non-diminishing part

Definition at line 5113 of file Player.cpp.

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

◆ GetDrunkenstateByValue()

DrunkenState Player::GetDrunkenstateByValue ( uint8  value)
static

Definition at line 861 of file Player.cpp.

+ Here is the caller graph for this function:

◆ GetDrunkValue()

uint8 Player::GetDrunkValue ( ) const
inline

Definition at line 1883 of file Player.h.

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

◆ GetDungeonDifficulty()

Difficulty Player::GetDungeonDifficulty ( ) const
inline

Definition at line 1635 of file Player.h.

+ Here is the caller graph for this function:

◆ GetExpertiseDodgeOrParryReduction()

float Player::GetExpertiseDodgeOrParryReduction ( WeaponAttackType  attType) const

Definition at line 5204 of file Player.cpp.

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

◆ GetFaceId()

uint8 Player::GetFaceId ( ) const
inline

Definition at line 1043 of file Player.h.

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

◆ GetFacialStyle()

uint8 Player::GetFacialStyle ( ) const
inline

Definition at line 1049 of file Player.h.

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

◆ GetFakeDrunkValue()

int32 Player::GetFakeDrunkValue ( ) const
inline

Definition at line 1884 of file Player.h.

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

◆ GetFreeInventorySpace()

uint32 Player::GetFreeInventorySpace ( ) const

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

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

◆ GetFreeTalentPoints()

uint32 Player::GetFreeTalentPoints ( ) const
inline

Definition at line 1486 of file Player.h.

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

◆ GetGameClient()

GameClient * Player::GetGameClient ( ) const

Definition at line 26511 of file Player.cpp.

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

◆ GetGameObjectIfCanInteractWith() [1/2]

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

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

+ Here is the call graph for this function:

◆ GetGlyph()

uint32 Player::GetGlyph ( uint8  group,
uint8  slot 
) const
inline

Definition at line 1524 of file Player.h.

+ Here is the caller graph for this function:

◆ GetGlyphSlot()

uint32 Player::GetGlyphSlot ( uint8  slot) const
inline

Definition at line 1522 of file Player.h.

+ 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 14233 of file Player.cpp.

+ Here is the caller graph for this function:

◆ GetGossipTextId() [2/2]

uint32 Player::GetGossipTextId ( WorldObject source)

Definition at line 14225 of file Player.cpp.

+ Here is the call graph for this function:

◆ GetGrantableLevels()

uint8 Player::GetGrantableLevels ( ) const
inline

Definition at line 1845 of file Player.h.

+ Here is the caller graph for this function:

◆ GetGroup() [1/2]

Group * Player::GetGroup ( )
inline

Definition at line 2171 of file Player.h.

+ Here is the caller graph for this function:

◆ GetGroup() [2/2]

Group const * Player::GetGroup ( ) const
inline

Definition at line 2172 of file Player.h.

◆ GetGroupInvite()

Group * Player::GetGroupInvite ( ) const
inline

Definition at line 2169 of file Player.h.

+ Here is the caller graph for this function:

◆ GetGroupRef()

GroupReference & Player::GetGroupRef ( )
inline

Definition at line 2173 of file Player.h.

◆ GetGroupUpdateFlag()

uint32 Player::GetGroupUpdateFlag ( ) const
inline

Definition at line 2176 of file Player.h.

+ Here is the caller graph for this function:

◆ GetGuild()

Guild * Player::GetGuild ( )

Definition at line 26263 of file Player.cpp.

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

◆ GetGuildId()

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

Definition at line 1620 of file Player.h.

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

◆ GetGuildIdInvited()

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

Definition at line 1622 of file Player.h.

+ Here is the caller graph for this function:

◆ GetGuildName()

std::string Player::GetGuildName ( ) const

Definition at line 25896 of file Player.cpp.

+ Here is the call graph for this function:

◆ GetGuildRank()

uint8 Player::GetGuildRank ( ) const
inline

Definition at line 1618 of file Player.h.

+ Here is the call graph for this function:

◆ GetHairColorId()

uint8 Player::GetHairColorId ( ) const
inline

Definition at line 1047 of file Player.h.

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

◆ GetHairStyleId()

uint8 Player::GetHairStyleId ( ) const
inline

Definition at line 1045 of file Player.h.

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

◆ GetHealthBonusFromStamina()

float Player::GetHealthBonusFromStamina ( )

Definition at line 289 of file StatSystem.cpp.

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

◆ GetHonorPoints()

uint32 Player::GetHonorPoints ( ) const
inline

Definition at line 1866 of file Player.h.

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

◆ GetInGameTime()

uint32 Player::GetInGameTime ( ) const
inline

Definition at line 1361 of file Player.h.

◆ GetInnTriggerId()

uint32 Player::GetInnTriggerId ( ) const
inline

Definition at line 1065 of file Player.h.

+ Here is the caller graph for this function:

◆ GetInstanceSave()

InstanceSave * Player::GetInstanceSave ( uint32  mapid,
bool  raid 
)

Definition at line 18578 of file Player.cpp.

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

◆ GetItemByEntry()

Item * Player::GetItemByEntry ( uint32  entry) const

Definition at line 12461 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 9518 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 9552 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 9559 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 9438 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 9483 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 13033 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 1114 of file Player.h.

+ Here is the caller graph for this function:

◆ GetJoinedChannels()

JoinedChannelsList const & Player::GetJoinedChannels ( ) const
inline

Definition at line 1788 of file Player.h.

+ Here is the caller graph for this function:

◆ GetLastPetNumber()

uint32 Player::GetLastPetNumber ( ) const
inline

Definition at line 2162 of file Player.h.

+ Here is the caller graph for this function:

◆ GetLastPotionId()

uint32 Player::GetLastPotionId ( ) const
inline

Definition at line 1546 of file Player.h.

+ Here is the caller graph for this function:

◆ GetLastRuneGraceTimer()

uint32 Player::GetLastRuneGraceTimer ( uint8  index) const
inline

Definition at line 1711 of file Player.h.

+ Here is the caller graph for this function:

◆ GetLastUsedRune()

RuneType Player::GetLastUsedRune ( ) const
inline

Definition at line 2210 of file Player.h.

◆ GetLevelPlayedTime()

uint32 Player::GetLevelPlayedTime ( ) const
inline

Definition at line 1037 of file Player.h.

+ Here is the caller graph for this function:

◆ GetLootGUID()

ObjectGuid Player::GetLootGUID ( ) const
inline

Definition at line 1714 of file Player.h.

+ Here is the caller graph for this function:

◆ GetMail()

Mail * Player::GetMail ( uint32  id)

Definition at line 3782 of file Player.cpp.

+ Here is the caller graph for this function:

◆ GetMails()

PlayerMails const & Player::GetMails ( ) const
inline

Definition at line 1437 of file Player.h.

+ Here is the caller graph for this function:

◆ GetMailSize()

uint32 Player::GetMailSize ( )
inline

Definition at line 1434 of file Player.h.

◆ GetManaBonusFromIntellect()

float Player::GetManaBonusFromIntellect ( )

Definition at line 298 of file StatSystem.cpp.

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

◆ GetMapAreaAndZoneString()

std::string Player::GetMapAreaAndZoneString ( ) const

Definition at line 26233 of file Player.cpp.

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

◆ GetMapRef()

MapReference & Player::GetMapRef ( )
inline

Definition at line 2194 of file Player.h.

+ Here is the caller graph for this function:

◆ GetMaxKeyringSize()

uint32 Player::GetMaxKeyringSize ( ) const
inline

Definition at line 1191 of file Player.h.

+ Here is the caller graph for this function:

◆ GetMaxPersonalArenaRatingRequirement()

uint32 Player::GetMaxPersonalArenaRatingRequirement ( uint32  minarenaslot) const

If trans is specified, arena point save query will be added to trans.

Definition at line 21577 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 5907 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 688 of file Player.cpp.

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

◆ GetMeleeCritFromAgility()

float Player::GetMeleeCritFromAgility ( ) const

Definition at line 5096 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,
uint8  damageIndex = 0 
) const
overridevirtual

Implements Unit.

Definition at line 7443 of file Player.cpp.

+ Here is the call graph for this function:

◆ GetMissPercentageFromDefense()

float Player::GetMissPercentageFromDefense ( ) const

Definition at line 739 of file StatSystem.cpp.

+ Here is the call graph for this function:

◆ GetMItem()

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

Definition at line 20572 of file Player.cpp.

+ Here is the caller graph for this function:

◆ GetMoney()

uint32 Player::GetMoney ( ) const
inline

Definition at line 1408 of file Player.h.

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

◆ GetMovie()

uint32 Player::GetMovie ( ) const
inline

Definition at line 1572 of file Player.h.

+ Here is the caller graph for this function:

◆ GetNativeGender()

Gender Player::GetNativeGender ( ) const
inlineoverridevirtual

Reimplemented from Unit.

Definition at line 1039 of file Player.h.

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

◆ GetNextQuest()

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

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

+ Here is the call graph for this function:

◆ GetNPCIfCanInteractWith()

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

Definition at line 2094 of file Player.cpp.

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

◆ GetOriginalGroup()

Group * Player::GetOriginalGroup ( ) const
inline

Definition at line 2186 of file Player.h.

+ Here is the caller graph for this function:

◆ GetOriginalGroupRef()

GroupReference & Player::GetOriginalGroupRef ( )
inline

Definition at line 2187 of file Player.h.

◆ GetOriginalSubGroup()

uint8 Player::GetOriginalSubGroup ( ) const
inline

Definition at line 2188 of file Player.h.

+ Here is the caller graph for this function:

◆ GetOrInitPetStable()

PetStable & Player::GetOrInitPetStable ( )

Definition at line 25983 of file Player.cpp.

+ Here is the caller graph for this function:

◆ GetOutdoorPvP()

OutdoorPvP * Player::GetOutdoorPvP ( ) const

Definition at line 23422 of file Player.cpp.

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

◆ GetPassOnGroupLoot()

bool Player::GetPassOnGroupLoot ( ) const
inline

Definition at line 2192 of file Player.h.

+ Here is the caller graph for this function:

◆ GetPet()

Pet * Player::GetPet ( ) const

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

+ Here is the caller graph for this function:

◆ GetPetStable() [2/2]

PetStable const * Player::GetPetStable ( ) const
inline

Definition at line 1069 of file Player.h.

◆ GetPhaseMaskForSpawn()

uint32 Player::GetPhaseMaskForSpawn ( ) const

Definition at line 24769 of file Player.cpp.

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

◆ GetPlayerSharingQuest()

ObjectGuid Player::GetPlayerSharingQuest ( ) const
inline

Definition at line 1357 of file Player.h.

+ Here is the caller graph for this function:

◆ GetPowerRegen()

float Player::GetPowerRegen ( Powers  power) const

Definition at line 1015 of file StatSystem.cpp.

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

◆ GetPureMaxSkillValue()

uint16 Player::GetPureMaxSkillValue ( uint32  skill) const

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

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

◆ GetQuestDialogStatus()

QuestGiverStatus Player::GetQuestDialogStatus ( Object questGiver)

Definition at line 15783 of file Player.cpp.

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

◆ GetQuestLevel()

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

Definition at line 1253 of file Player.h.

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

◆ GetQuestRewardedTalentCount()

uint32 Player::GetQuestRewardedTalentCount ( ) const
inline

Definition at line 1490 of file Player.h.

+ Here is the caller graph for this function:

◆ GetQuestRewardStatus()

bool Player::GetQuestRewardStatus ( uint32  quest_id) const

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

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

◆ GetQuestSlotQuestId()

uint32 Player::GetQuestSlotQuestId ( uint16  slot) const

Definition at line 15944 of file Player.cpp.

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

◆ GetQuestSlotState()

uint32 Player::GetQuestSlotState ( uint16  slot) const

Definition at line 15949 of file Player.cpp.

+ Here is the call graph for this function:

◆ GetQuestSlotTime()

uint32 Player::GetQuestSlotTime ( uint16  slot) const

Definition at line 15959 of file Player.cpp.

+ Here is the call graph for this function:

◆ GetQuestStatus()

QuestStatus Player::GetQuestStatus ( uint32  quest_id) const

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

+ Here is the caller graph for this function:

◆ GetRaidDifficulty()

Difficulty Player::GetRaidDifficulty ( ) const
inline

Definition at line 1636 of file Player.h.

+ Here is the caller graph for this function:

◆ GetRandomWinner()

bool Player::GetRandomWinner ( ) const
inline

Definition at line 2019 of file Player.h.

+ Here is the caller graph for this function:

◆ GetRatingBonusValue()

float Player::GetRatingBonusValue ( CombatRating  cr) const

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

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

◆ GetReputation()

uint32 Player::GetReputation ( uint32  factionentry) const

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

+ Here is the caller graph for this function:

◆ GetReputationMgr() [2/2]

ReputationMgr const & Player::GetReputationMgr ( ) const
inline

Definition at line 1849 of file Player.h.

◆ GetReputationPriceDiscount() [1/2]

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

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

+ Here is the call graph for this function:

◆ GetReputationRank()

ReputationRank Player::GetReputationRank ( uint32  faction_id) const

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

+ Here is the caller graph for this function:

◆ GetRestBonus()

float Player::GetRestBonus ( ) const
inline

Definition at line 1054 of file Player.h.

+ Here is the caller graph for this function:

◆ GetRestState()

uint8 Player::GetRestState ( ) const
inline

Definition at line 1057 of file Player.h.

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

◆ GetResurrectionSpellId()

uint32 Player::GetResurrectionSpellId ( )

Definition at line 23530 of file Player.cpp.

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

◆ GetRewardedQuestCount()

size_t Player::GetRewardedQuestCount ( ) const
inline

Definition at line 1417 of file Player.h.

+ Here is the caller graph for this function:

◆ getRewardedQuests()

RewardedQuestSet const & Player::getRewardedQuests ( ) const
inline

Definition at line 1414 of file Player.h.

+ Here is the caller graph for this function:

◆ GetRuneBaseCooldown()

uint32 Player::GetRuneBaseCooldown ( uint8  index) const
inline

Definition at line 2207 of file Player.h.

+ Here is the caller graph for this function:

◆ GetRuneCooldown()

uint32 Player::GetRuneCooldown ( uint8  index) const
inline

Definition at line 2206 of file Player.h.

+ Here is the caller graph for this function:

◆ GetRunesState()

uint8 Player::GetRunesState ( ) const
inline

Definition at line 2203 of file Player.h.

+ Here is the caller graph for this function:

◆ GetRuneTimer()

uint32 Player::GetRuneTimer ( uint8  index) const
inline

Definition at line 1709 of file Player.h.

+ Here is the caller graph for this function:

◆ GetRuneTypeBaseCooldown()

uint32 Player::GetRuneTypeBaseCooldown ( RuneType  runeType) const

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

+ Here is the caller graph for this function:

◆ GetScalingStatDistributionFor()

ScalingStatDistributionEntry const * Player::GetScalingStatDistributionFor ( ItemTemplate const &  itemTemplate) const

Definition at line 7093 of file Player.cpp.

+ Here is the caller graph for this function:

◆ GetScalingStatValuesFor()

ScalingStatValuesEntry const * Player::GetScalingStatValuesFor ( ItemTemplate const &  itemTemplate) const

Definition at line 7101 of file Player.cpp.

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

◆ GetSelectedPlayer()

Player * Player::GetSelectedPlayer ( ) const

Definition at line 22385 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 22377 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 1719 of file Player.h.

◆ GetSharedQuestID()

uint32 Player::GetSharedQuestID ( ) const
inline

Definition at line 1356 of file Player.h.

+ Here is the caller graph for this function:

◆ GetShield()

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

Definition at line 9635 of file Player.cpp.

+ Here is the call graph for this function:

◆ GetShieldBlockValue()

uint32 Player::GetShieldBlockValue ( ) const
overridevirtual

Implements Unit.

Definition at line 5090 of file Player.cpp.

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

◆ GetSkillLineIdByPos()

uint16 Player::GetSkillLineIdByPos ( uint32  pos) const
inline

Definition at line 1805 of file Player.h.

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

◆ GetSkillMaxRankByPos()

uint16 Player::GetSkillMaxRankByPos ( uint32  pos) const
inline

Definition at line 1811 of file Player.h.

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

◆ GetSkillPermBonusByPos()

uint16 Player::GetSkillPermBonusByPos ( uint32  pos) const
inline

Definition at line 1815 of file Player.h.

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

◆ GetSkillPermBonusValue()

int16 Player::GetSkillPermBonusValue ( uint32  skill) const

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

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

◆ GetSkillStep()

uint16 Player::GetSkillStep ( uint32  skill) const

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

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

◆ GetSkillTempBonusByPos()

int16 Player::GetSkillTempBonusByPos ( uint32  pos) const
inline

Definition at line 1813 of file Player.h.

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

◆ GetSkillTempBonusValue()

int16 Player::GetSkillTempBonusValue ( uint32  skill) const

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

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

◆ GetSkinId()

uint8 Player::GetSkinId ( ) const
inline

Definition at line 1041 of file Player.h.

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

◆ GetSocial()

PlayerSocial * Player::GetSocial ( )
inline

Definition at line 982 of file Player.h.

+ Here is the caller graph for this function:

◆ GetSpellCritFromIntellect()

float Player::GetSpellCritFromIntellect ( ) const

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

◆ GetSpellMap() [2/2]

PlayerSpellMap const & Player::GetSpellMap ( ) const
inline

Definition at line 1534 of file Player.h.

+ Here is the caller graph for this function:

◆ GetSpellPenetrationItemMod()

int32 Player::GetSpellPenetrationItemMod ( ) const
inline

Definition at line 1686 of file Player.h.

◆ GetsRecruitAFriendBonus()

bool Player::GetsRecruitAFriendBonus ( bool  forXP)

Definition at line 23590 of file Player.cpp.

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

◆ GetStartLevel()

uint8 Player::GetStartLevel ( uint8  playerClass) const

Definition at line 22045 of file Player.cpp.

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

◆ GetStartPosition()

WorldLocation Player::GetStartPosition ( ) const

Definition at line 22058 of file Player.cpp.

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

◆ GetStoredRaidDifficulty()

Difficulty Player::GetStoredRaidDifficulty ( ) const
inline

Definition at line 1637 of file Player.h.

+ Here is the caller graph for this function:

◆ GetSubGroup()

uint8 Player::GetSubGroup ( ) const
inline

Definition at line 2175 of file Player.h.

+ Here is the caller graph for this function:

◆ GetTalentGroupsCount()

uint8 Player::GetTalentGroupsCount ( ) const
inline

Definition at line 1498 of file Player.h.

+ Here is the caller graph for this function:

◆ GetTalentMap() [1/2]

PlayerTalentMap * Player::GetTalentMap ( uint8  group)
inline

Definition at line 1527 of file Player.h.

◆ GetTalentMap() [2/2]

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

Definition at line 1526 of file Player.h.

+ Here is the caller graph for this function:

◆ GetTalentResetCost()

uint32 Player::GetTalentResetCost ( ) const
inline

Definition at line 1492 of file Player.h.

+ Here is the caller graph for this function:

◆ GetTalentResetTime()

time_t Player::GetTalentResetTime ( ) const
inline

Definition at line 1494 of file Player.h.

+ Here is the caller graph for this function:

◆ GetTeam()

uint32 Player::GetTeam ( ) const
inline

Definition at line 1832 of file Player.h.

+ Here is the caller graph for this function:

◆ GetTeamId()

TeamId Player::GetTeamId ( ) const
inline

Definition at line 1833 of file Player.h.

+ Here is the caller graph for this function:

◆ GetTeleportDest()

WorldLocation & Player::GetTeleportDest ( )
inline

Definition at line 1818 of file Player.h.

+ Here is the caller graph for this function:

◆ GetTeleportOptions()

uint32 Player::GetTeleportOptions ( ) const
inline

Definition at line 1819 of file Player.h.

+ Here is the caller graph for this function:

◆ GetTemporaryUnsummonedPetNumber()

uint32 Player::GetTemporaryUnsummonedPetNumber ( ) const
inline

Definition at line 2124 of file Player.h.

+ Here is the caller graph for this function:

◆ GetTotalBaseModValue()

float Player::GetTotalBaseModValue ( BaseModGroup  modGroup) const

Definition at line 5078 of file Player.cpp.

+ Here is the call graph for this function:

◆ GetTotalPlayedTime()

uint32 Player::GetTotalPlayedTime ( ) const
inline

Definition at line 1036 of file Player.h.

+ Here is the caller graph for this function:

◆ GetTradeData()

TradeData * Player::GetTradeData ( ) const
inline

Definition at line 1210 of file Player.h.

+ Here is the caller graph for this function:

◆ GetTrader()

Player * Player::GetTrader ( ) const

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

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

◆ GetUsedTalentCount()

uint32 Player::GetUsedTalentCount ( ) const
inline

Definition at line 1488 of file Player.h.

+ Here is the caller graph for this function:

◆ GetViewpoint()

WorldObject * Player::GetViewpoint ( ) const

Definition at line 24185 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 9607 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 1197 of file Player.h.

+ Here is the caller graph for this function:

◆ GetXP()

uint32 Player::GetXP ( ) const
inline

Definition at line 1018 of file Player.h.

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

◆ GetXPForNextLevel()

uint32 Player::GetXPForNextLevel ( ) const
inline

Definition at line 1019 of file Player.h.

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

◆ GetXPRestBonus()

uint32 Player::GetXPRestBonus ( uint32  xp)

Definition at line 9139 of file Player.cpp.

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

◆ GetZoneIdFromDB()

uint32 Player::GetZoneIdFromDB ( ObjectGuid  guid)
static

Definition at line 6722 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 2405 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 15559 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 2353 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 16032 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 4952 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
Todo:
Check this formula
Todo:
Check this formula

Definition at line 733 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 24859 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 3326 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 852 of file Player.cpp.

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

◆ Has310Flyer()

bool Player::Has310Flyer ( bool  checkAllSpells,
uint32  excludeSpellId = 0 
)

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

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

◆ HasActiveSpell()

bool Player::HasActiveSpell ( uint32  spell) const

Definition at line 3866 of file Player.cpp.

+ Here is the caller graph for this function:

◆ HasAtLoginFlag()

bool Player::HasAtLoginFlag ( AtLoginFlags  f) const
inline

Definition at line 2113 of file Player.h.

+ Here is the caller graph for this function:

◆ HasBeenGrantedLevelsFromRaF()

bool Player::HasBeenGrantedLevelsFromRaF ( ) const
inline

Definition at line 1013 of file Player.h.

◆ HasCorpse()

bool Player::HasCorpse ( ) const
inline

Definition at line 1757 of file Player.h.

+ Here is the caller graph for this function:

◆ HasEnoughMoney() [1/2]

bool Player::HasEnoughMoney ( int32  amount) const
inline

Definition at line 1411 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 ( uint32  amount) const
inline

Definition at line 1410 of file Player.h.

+ Here is the caller graph for this function:

◆ HasFreeBattlegroundQueueId()

bool Player::HasFreeBattlegroundQueueId ( ) const

Definition at line 23112 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 9901 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 9763 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 23427 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 9836 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 10002 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 9874 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 1015 of file Player.h.

◆ HasPendingBind()

bool Player::HasPendingBind ( ) const
inline

Definition at line 2155 of file Player.h.

+ Here is the caller graph for this function:

◆ HasPvPForcingQuest()

bool Player::HasPvPForcingQuest ( ) const

Definition at line 16695 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 23226 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,
uint32  excludeQuestId = 0,
bool  turnIn = false 
) const

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

◆ HasRestFlag()

bool Player::HasRestFlag ( RestFlag  restFlag) const
inline

Definition at line 1060 of file Player.h.

+ Here is the caller graph for this function:

◆ HasSkill()

bool Player::HasSkill ( uint32  skill) const

Definition at line 5871 of file Player.cpp.

+ Here is the caller graph for this function:

◆ HasSpell()

bool Player::HasSpell ( uint32  spell) const
overridevirtual

Reimplemented from Unit.

Definition at line 3853 of file Player.cpp.

+ Here is the caller graph for this function:

◆ HasSpellModApplied()

bool Player::HasSpellModApplied ( SpellModifier mod,
Spell spell 
)
static

Definition at line 20926 of file Player.cpp.

+ Here is the caller graph for this function:

◆ HasSummonPending()

bool Player::HasSummonPending ( ) const

Definition at line 23302 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 3860 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 24311 of file Player.cpp.

+ Here is the call graph for this function:

◆ HasTitle() [2/2]

bool Player::HasTitle ( uint32  bitIndex) const

Definition at line 24301 of file Player.cpp.

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

◆ HaveAtClient()

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

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

+ Here is the call graph for this function:

◆ InArena()

bool Player::InArena ( ) const

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

+ Here is the caller graph for this function:

◆ InBattlegroundQueue()

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

Definition at line 23057 of file Player.cpp.

+ Here is the caller graph for this function:

◆ InBattlegroundQueueForBattlegroundQueueType()

bool Player::InBattlegroundQueueForBattlegroundQueueType ( BattlegroundQueueTypeId  bgQueueTypeId) const

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

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

◆ IncreaseResetTalentsCostAndCounters()

void Player::IncreaseResetTalentsCostAndCounters ( uint32  lastResetTalentsCost)

Definition at line 3696 of file Player.cpp.

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

◆ InitDataForForm()

void Player::InitDataForForm ( bool  reapplyMods = false)

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

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

◆ InitGlyphsForLevel()

void Player::InitGlyphsForLevel ( )

Definition at line 24256 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 22334 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 21637 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 24495 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 2546 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 2506 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 986 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 23979 of file Player.cpp.

+ Here is the call graph for this function:

◆ isAcceptWhispers()

bool Player::isAcceptWhispers ( ) const
inline

Definition at line 996 of file Player.h.

+ Here is the caller graph for this function:

◆ IsActionButtonDataValid()

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

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

+ Here is the caller graph for this function:

◆ IsAffectedBySpellmod()

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

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

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

◆ isAllowedToLoot()

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

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

+ Here is the call graph for this function:

◆ IsAtGroupRewardDistance()

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

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

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

◆ IsBagPos()

bool Player::IsBagPos ( uint16  pos)
static

Definition at line 9698 of file Player.cpp.

+ Here is the caller graph for this function:

◆ IsBankPos() [1/2]

static bool Player::IsBankPos ( uint16  pos)
inlinestatic

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

◆ IsBaseRuneSlotsOnCooldown()

bool Player::IsBaseRuneSlotsOnCooldown ( RuneType  runeType) const

Definition at line 24520 of file Player.cpp.

+ Here is the call graph for this function:

◆ IsBeingTeleported()

bool Player::IsBeingTeleported ( ) const
inline

Definition at line 1820 of file Player.h.

+ Here is the caller graph for this function:

◆ IsBeingTeleportedFar()

bool Player::IsBeingTeleportedFar ( ) const
inline

Definition at line 1822 of file Player.h.

+ Here is the caller graph for this function:

◆ IsBeingTeleportedNear()

bool Player::IsBeingTeleportedNear ( ) const
inline

Definition at line 1821 of file Player.h.

+ Here is the caller graph for this function:

◆ IsCanDelayTeleport()

bool Player::IsCanDelayTeleport ( ) const
inlineprivate

Definition at line 2527 of file Player.h.

+ Here is the caller graph for this function:

◆ IsDailyQuestDone()

bool Player::IsDailyQuestDone ( uint32  quest_id)

Definition at line 22952 of file Player.cpp.

+ Here is the call graph for this function:

◆ IsDeserter()

bool Player::IsDeserter ( ) const
inline

Definition at line 1989 of file Player.h.

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

◆ IsDeveloper()

bool Player::IsDeveloper ( ) const
inline

Definition at line 994 of file Player.h.

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

◆ isDND()

bool Player::isDND ( ) const
inline

Definition at line 976 of file Player.h.

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

◆ IsEquipmentPos() [1/2]

static bool Player::IsEquipmentPos ( uint16  pos)
inlinestatic

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

◆ IsGameMaster()

bool Player::IsGameMaster ( ) const
inline

Definition at line 998 of file Player.h.

+ Here is the caller graph for this function:

◆ IsGameMasterAcceptingWhispers()

bool Player::IsGameMasterAcceptingWhispers ( ) const
inline

Definition at line 999 of file Player.h.

+ Here is the caller graph for this function:

◆ isGMChat()

bool Player::isGMChat ( ) const
inline

Definition at line 1002 of file Player.h.

+ Here is the caller graph for this function:

◆ isGMVisible()

bool Player::isGMVisible ( ) const
inline

Definition at line 1006 of file Player.h.

+ Here is the caller graph for this function:

◆ IsGroupVisibleFor()

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

Definition at line 2279 of file Player.cpp.

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

◆ IsHasDelayedTeleport()

bool Player::IsHasDelayedTeleport ( ) const
inlineprivate

Definition at line 2529 of file Player.h.

+ Here is the caller graph for this function:

◆ isHonorOrXPTarget()

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

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

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

◆ IsImmuneToEnvironmentalDamage()

bool Player::IsImmuneToEnvironmentalDamage ( ) const

Definition at line 628 of file Player.cpp.

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

◆ IsInAreaTriggerRadius()

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

Definition at line 2176 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 2290 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 2297 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 18856 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 1115 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 9665 of file Player.cpp.

◆ IsInvitedForBattlegroundInstance()

bool Player::IsInvitedForBattlegroundInstance ( uint32  instanceId) const

Definition at line 23140 of file Player.cpp.

+ Here is the caller graph for this function:

◆ IsInvitedForBattlegroundQueueType()

bool Player::IsInvitedForBattlegroundQueueType ( BattlegroundQueueTypeId  bgQueueTypeId) const

Definition at line 23079 of file Player.cpp.

+ Here is the caller graph for this function:

◆ IsInWhisperWhiteList()

bool Player::IsInWhisperWhiteList ( ObjectGuid  guid)

Definition at line 26215 of file Player.cpp.

+ Here is the caller graph for this function:

◆ IsLoading()

bool Player::IsLoading ( ) const
overridevirtual

Reimplemented from Unit.

Definition at line 16870 of file Player.cpp.

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

◆ IsMaxLevel()

bool Player::IsMaxLevel ( ) const

Definition at line 2501 of file Player.cpp.

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

◆ IsMirrorTimerActive()

bool Player::IsMirrorTimerActive ( MirrorTimerType  type) const

Definition at line 728 of file Player.cpp.

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

◆ IsNeverVisible()

bool Player::IsNeverVisible ( bool  allowServersideObjects) const
overridevirtual

Reimplemented from WorldObject.

Definition at line 22073 of file Player.cpp.

+ Here is the call graph for this function:

◆ IsOutdoorPvPActive()

bool Player::IsOutdoorPvPActive ( ) const

Definition at line 6932 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 25231 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 22372 of file Player.cpp.

+ Here is the caller graph for this function:

◆ IsResurrectRequested()

bool Player::IsResurrectRequested ( ) const
inline

Definition at line 1565 of file Player.h.

+ Here is the caller graph for this function:

◆ IsResurrectRequestedBy()

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

Definition at line 1557 of file Player.h.

◆ IsSpellFitByClassAndRace()

bool Player::IsSpellFitByClassAndRace ( uint32  spell_id) const

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

+ Here is the caller graph for this function:

◆ isTotalImmune()

bool Player::isTotalImmune ( ) const

Definition at line 24287 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 13210 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 13140 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 23974 of file Player.cpp.

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

◆ IsUsingTwoHandedWeaponInOneHand()

bool Player::IsUsingTwoHandedWeaponInOneHand ( ) const

Definition at line 13216 of file Player.cpp.

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

◆ IsValidGender()

static bool Player::IsValidGender ( uint8  Gender)
inlinestatic

Definition at line 1379 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 1122 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 9709 of file Player.cpp.

+ Here is the call graph for this function:

◆ IsVisibleGloballyFor()

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

Definition at line 22113 of file Player.cpp.

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

◆ ItemAddedQuestCheck()

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

Definition at line 16049 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 16086 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 4837 of file Player.cpp.

+ Here is the caller graph for this function:

◆ KillCreditGO()

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

Definition at line 16252 of file Player.cpp.

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

◆ KilledMonster()

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

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

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

◆ KilledPlayerCredit()

void Player::KilledPlayerCredit ( uint16  count = 1)

Definition at line 16202 of file Player.cpp.

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

◆ KilledPlayerCreditForQuest()

void Player::KilledPlayerCreditForQuest ( uint16  count,
Quest const *  quest 
)

Definition at line 16227 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 4434 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 22722 of file Player.cpp.

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

◆ LearnDefaultSkill()

void Player::LearnDefaultSkill ( uint32  skillId,
uint16  rank 
)

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

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

◆ LearnPetTalent()

void Player::LearnPetTalent ( ObjectGuid  petGuid,
uint32  talentId,
uint32  talentRank 
)

Definition at line 25050 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 22861 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 22811 of file Player.cpp.

+ Here is the call graph for this function:

◆ LearnSkillRewardedSpells()

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

Definition at line 22874 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,
uint32  fromSkill = 0 
)

Definition at line 3353 of file Player.cpp.

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

◆ LearnTalent()

bool Player::LearnTalent ( uint32  talentId,
uint32  talentRank 
)

Definition at line 24950 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 20959 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,
bool  withoutDeserterDebuff = false 
)

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

◆ LeftChannel()

void Player::LeftChannel ( Channel c)

Definition at line 4842 of file Player.cpp.

+ Here is the caller graph for this function:

◆ LoadActions()

void Player::LoadActions ( PreparedQueryResult  result)

Definition at line 25878 of file Player.cpp.

+ Here is the call graph for this function:

◆ LoadCorpse()

void Player::LoadCorpse ( PreparedQueryResult  result)

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

+ Here is the caller graph for this function:

◆ LoadPet()

void Player::LoadPet ( )

Definition at line 18189 of file Player.cpp.

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

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

◆ ModifyArenaPoints()

void Player::ModifyArenaPoints ( int32  value,
CharacterDatabaseTransaction  trans = CharacterDatabaseTransaction(nullptr) 
)

If trans is specified, honor save query will be added to trans.

Definition at line 6695 of file Player.cpp.

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

◆ ModifyHonorPoints()

void Player::ModifyHonorPoints ( int32  value,
CharacterDatabaseTransaction  trans = CharacterDatabaseTransaction(nullptr) 
)

Definition at line 6679 of file Player.cpp.

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

◆ ModifyMoney()

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

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

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

◆ MoneyChanged()

void Player::MoneyChanged ( uint32  value)

Definition at line 16363 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 12068 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 12085 of file Player.cpp.

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

◆ OCTRegenHPPerSpirit()

float Player::OCTRegenHPPerSpirit ( ) const

Definition at line 5218 of file Player.cpp.

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

◆ OCTRegenMPPerSpirit()

float Player::OCTRegenMPPerSpirit ( ) const

Definition at line 5241 of file Player.cpp.

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

◆ OfflineResurrect()

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

Definition at line 4465 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,
uint32  gossipListId,
uint32  menuId 
)

Definition at line 14087 of file Player.cpp.

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

◆ outDebugValues()

void Player::outDebugValues ( ) const
protected

Definition at line 19975 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 20596 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 20645 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 = 0,
bool  showQuests = false 
)

Find localizations from database.

Find localizations from database.

Definition at line 13886 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 14270 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 1776 of file Player.cpp.

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

◆ ProcessTerrainStatusUpdate()

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

Reimplemented from Unit.

Definition at line 24025 of file Player.cpp.

+ Here is the call graph for this function:

◆ QuickEquipItem()

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

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

+ Here is the caller graph for this function:

◆ Recall()

void Player::Recall ( )
inline

Definition at line 2079 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 26011 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)

Definition at line 1953 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 1890 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 2009 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 6079 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 15693 of file Player.cpp.

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

◆ RemoveAmmo()

void Player::RemoveAmmo ( )

Definition at line 11610 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 13355 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 3642 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 25536 of file Player.cpp.

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

◆ RemoveBattlegroundQueueId()

void Player::RemoveBattlegroundQueueId ( BattlegroundQueueTypeId  val)

Definition at line 23120 of file Player.cpp.

+ Here is the caller graph for this function:

◆ RemovedInsignia()

void Player::RemovedInsignia ( Player looterPlr)

Definition at line 8040 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 13329 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 13344 of file Player.cpp.

+ Here is the caller graph for this function:

◆ RemoveFromBattlegroundOrBattlefieldRaid()

void Player::RemoveFromBattlegroundOrBattlefieldRaid ( )

Definition at line 24000 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 2326 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 1613 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 2251 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 1827 of file Player.cpp.

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

◆ RemoveGhoul()

void Player::RemoveGhoul ( )

Definition at line 4429 of file Player.cpp.

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

◆ RemoveItem()

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

Definition at line 11983 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 23498 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 23357 of file Player.cpp.

+ Here is the caller graph for this function:

◆ RemoveItemFromBuyBackSlot()

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

Definition at line 13042 of file Player.cpp.

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

◆ RemoveMail()

void Player::RemoveMail ( uint32  id)

Definition at line 2788 of file Player.cpp.

+ Here is the caller graph for this function:

◆ RemoveMItem()

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

Definition at line 20585 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 20310 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 20407 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,
CharterTypes  type 
)
static

Definition at line 20953 of file Player.cpp.

+ Here is the caller graph for this function:

◆ RemoveQuestSlotState()

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

Definition at line 15986 of file Player.cpp.

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

◆ RemoveRestFlag()

void Player::RemoveRestFlag ( RestFlag  restFlag)

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

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

◆ RemoveRuneConvertAura()

void Player::RemoveRuneConvertAura ( uint8  index,
AuraEffect const *  aura 
)

Definition at line 24381 of file Player.cpp.

+ Here is the caller graph for this function:

◆ RemoveRunesByAuraEffect()

void Player::RemoveRunesByAuraEffect ( AuraEffect const *  aura)

Definition at line 24392 of file Player.cpp.

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

◆ RemoveSocial()

void Player::RemoveSocial ( )

Definition at line 26498 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 
)

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 3391 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 3314 of file Player.cpp.

+ Here is the caller graph for this function:

◆ RemoveTimedAchievement()

void Player::RemoveTimedAchievement ( AchievementCriteriaTimedTypes  type,
uint32  entry 
)

Definition at line 24930 of file Player.cpp.

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

◆ RemoveTimedQuest()

void Player::RemoveTimedQuest ( uint32  questId)
inline

Definition at line 1365 of file Player.h.

+ Here is the caller graph for this function:

◆ RemoveTradeableItem()

void Player::RemoveTradeableItem ( Item item)

Definition at line 13269 of file Player.cpp.

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

◆ RepopAtGraveyard()

void Player::RepopAtGraveyard ( )

Definition at line 4773 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 22014 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)

Definition at line 16393 of file Player.cpp.

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

◆ ReputationChanged2()

void Player::ReputationChanged2 ( FactionEntry const *  factionEntry)

Definition at line 16421 of file Player.cpp.

+ Here is the call graph for this function:

◆ ResetAchievementCriteria()

void Player::ResetAchievementCriteria ( AchievementCriteriaCondition  condition,
uint32  value,
bool  evenIfCriteriaComplete = false 
)

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

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

◆ ResetAllPowers()

void Player::ResetAllPowers ( )

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

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

◆ ResetDailyQuestStatus()

void Player::ResetDailyQuestStatus ( )

Definition at line 22992 of file Player.cpp.

+ Here is the call graph for this function:

◆ ResetInstances()

void Player::ResetInstances ( uint8  method,
bool  isRaid 
)

Reset all solo instances and optionally send a message on success for each.

Definition at line 20130 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 25551 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 23039 of file Player.cpp.

◆ ResetPetTalents()

void Player::ResetPetTalents ( )

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

◆ ResetSpells()

void Player::ResetSpells ( bool  myClassOnly = false)

Definition at line 22666 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  involuntarily = false)

Definition at line 3707 of file Player.cpp.

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

◆ ResetTalentsCost()

uint32 Player::ResetTalentsCost ( ) const

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

◆ RestoreBaseRune()

void Player::RestoreBaseRune ( uint8  index)

Definition at line 24403 of file Player.cpp.

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

◆ RestoreHealthAfterDuel()

void Player::RestoreHealthAfterDuel ( )
inline

Definition at line 1877 of file Player.h.

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

◆ RestoreManaAfterDuel()

void Player::RestoreManaAfterDuel ( )
inline

Definition at line 1878 of file Player.h.

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

◆ ResummonPetTemporaryUnSummonedIfAny()

void Player::ResummonPetTemporaryUnSummonedIfAny ( )

Definition at line 25212 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 4346 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 23704 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 23726 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 24461 of file Player.cpp.

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

◆ RewardHonor()

bool Player::RewardHonor ( Unit victim,
uint32  groupsize,
int32  honor = -1,
bool  pvptoken = false 
)

Calculate the amount of honor gained based on the victim and the size of the group for which the honor is divided An exact honor value can also be given (overriding the calcs)

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

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

◆ RewardPlayerAndGroupAtKill()

void Player::RewardPlayerAndGroupAtKill ( Unit victim,
bool  isBattleGround 
)

Definition at line 23631 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,
uint32  reward,
Object questGiver,
bool  announce = true 
)
Todo:
Poor design of mail system

Definition at line 14843 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 6440 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 6390 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,
bool  report = false 
)

Definition at line 18784 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 15261 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 15306 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 15415 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 15491 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 15285 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 15203 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 15170 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 15446 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 15130 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 15156 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 15550 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 15176 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 15328 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 15347 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 15537 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 15106 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 15389 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 15431 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 15528 of file Player.cpp.

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

◆ SaveGoldToDB()

void Player::SaveGoldToDB ( CharacterDatabaseTransaction  trans) const

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

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

◆ SaveInventoryAndGoldToDB()

void Player::SaveInventoryAndGoldToDB ( CharacterDatabaseTransaction  trans)

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

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

+ Here is the caller graph for this function:

◆ SaveToDB() [1/2]

void Player::SaveToDB ( bool  create = false)

Definition at line 18984 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 ( 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 18993 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 20463 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 20473 of file Player.cpp.

◆ ScheduleDelayedOperation()

void Player::ScheduleDelayedOperation ( uint32  operation)
inlineprivate

Definition at line 2531 of file Player.h.

+ Here is the caller graph for this function:

◆ SendActionButtons()

void Player::SendActionButtons ( uint32  state) const

Definition at line 5984 of file Player.cpp.

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

◆ SendAttackSwingBadFacingAttack()

void Player::SendAttackSwingBadFacingAttack ( ) const

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

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

◆ SendAttackSwingCantAttack()

void Player::SendAttackSwingCantAttack ( ) const

Definition at line 20062 of file Player.cpp.

+ Here is the call graph for this function:

◆ SendAttackSwingDeadTarget()

void Player::SendAttackSwingDeadTarget ( ) const

Definition at line 20072 of file Player.cpp.

+ Here is the call graph for this function:

◆ SendAttackSwingNotInRange()

void Player::SendAttackSwingNotInRange ( ) const

Definition at line 20077 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,
bool  force = false 
) const

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

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

◆ SendBattlefieldWorldStates()

void Player::SendBattlefieldWorldStates ( ) const

Send misc stuff that needs to be sent on every login, like the battle timers.

Definition at line 9125 of file Player.cpp.

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

◆ SendBGWeekendWorldStates()

void Player::SendBGWeekendWorldStates ( ) const

Definition at line 9110 of file Player.cpp.

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

◆ SendBindPointUpdate()

void Player::SendBindPointUpdate ( )

Definition at line 16861 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 13118 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  msg) const

Definition at line 16561 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 6166 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 23891 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 6161 of file Player.cpp.

+ Here is the call graph for this function:

◆ SendDuelCountdown()

void Player::SendDuelCountdown ( uint32  counter)

Definition at line 25901 of file Player.cpp.

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

◆ SendDungeonDifficulty()

void Player::SendDungeonDifficulty ( bool  IsInGroup) const

Definition at line 20102 of file Player.cpp.

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

◆ SendDurabilityLoss()

void Player::SendDurabilityLoss ( )

Definition at line 4549 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 13840 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 pItem,
Item pItem2 = nullptr,
uint32  itemid = 0 
) const

Definition at line 13075 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 25378 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 20094 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 1578 of file Player.h.

+ Here is the caller graph for this function:

◆ SendInitialPacketsAfterAddToMap()

void Player::SendInitialPacketsAfterAddToMap ( )

Definition at line 22472 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_CONTACT_LIST

SMSG_BINDPOINTUPDATE

SMSG_TALENTS_INFO

SMSG_INSTANCE_DIFFICULTY

SMSG_INITIAL_SPELLS

SMSG_SEND_UNLEARN_SPELLS

SMSG_ACTION_BUTTONS

SMSG_INITIALIZE_FACTIONS

SMSG_ALL_ACHIEVEMENT_DATA

SMSG_EQUIPMENT_SET_LIST

SMSG_LOGIN_SET_TIME_SPEED

Todo:

SMSG_SET_FORCED_REACTIONS

SMSG_RESYNC_RUNES

Definition at line 22408 of file Player.cpp.

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

◆ SendInitialSpells()

void Player::SendInitialSpells ( )

Definition at line 2713 of file Player.cpp.

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

◆ SendInitialVisiblePackets()

void Player::SendInitialVisiblePackets ( Unit target) const

Definition at line 22250 of file Player.cpp.

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

◆ SendInitWorldStates()

void Player::SendInitWorldStates ( uint32  zoneId,
uint32  areaId 
)

Definition at line 8503 of file Player.cpp.

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

◆ SendInstanceResetWarning()

void Player::SendInstanceResetWarning ( uint32  mapid,
Difficulty  difficulty,
uint32  time,
bool  welcome 
) const

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

+ Here is the caller graph for this function:

◆ SendItemRefundResult()

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

Definition at line 25991 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 
)

Definition at line 26109 of file Player.cpp.

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

◆ SendLogXPGain()

void Player::SendLogXPGain ( uint32  GivenXP,
Unit victim,
uint32  BonusXP,
bool  recruitAFriend = false,
float  group_rate = 1.0f 
) const

Definition at line 2334 of file Player.cpp.

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

◆ SendLoot()

void Player::SendLoot ( ObjectGuid  guid,
LootType  loot_type 
)

Definition at line 8079 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  guid,
LootError  error 
) const

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

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

◆ SendMailResult()

void Player::SendMailResult ( uint32  mailId,
MailResponseType  mailAction,
MailResponseResult  mailError,
uint32  equipError = 0,
ObjectGuid::LowType  item_guid = 0,
uint32  item_count = 0 
) const

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

+ Here is the call graph for this function:
+ 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 6150 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 6132 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 6141 of file Player.cpp.

+ Here is the call graph for this function:

◆ SendMirrorTimer()

void Player::SendMirrorTimer ( MirrorTimerType  Type,
uint32  MaxValue,
uint32  CurrentValue,
int32  Regen 
)
protected

Definition at line 610 of file Player.cpp.

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

◆ SendMovementSetCollisionHeight()

void Player::SendMovementSetCollisionHeight ( float  height)

Definition at line 26224 of file Player.cpp.

+ Here is the call graph for this function:

◆ SendMovieStart()

void Player::SendMovieStart ( uint32  movieId)

Definition at line 6176 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  count,
bool  received,
bool  created,
bool  broadcast = false,
bool  sendChatMessage = true 
)

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

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

◆ SendNotifyLootItemRemoved()

void Player::SendNotifyLootItemRemoved ( uint8  lootSlot) const

Definition at line 8486 of file Player.cpp.

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

◆ SendNotifyLootMoneyRemoved()

void Player::SendNotifyLootMoneyRemoved ( ) const

Definition at line 8480 of file Player.cpp.

+ Here is the call graph for this function:

◆ SendOnCancelExpectedVehicleRideAura()

void Player::SendOnCancelExpectedVehicleRideAura ( ) const

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

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

◆ SendPreparedQuest()

void Player::SendPreparedQuest ( ObjectGuid  guid)
Todo:
verify if check for !quest->IsDaily() is really correct (possibly not)

Definition at line 14330 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 20946 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,
QuestShareMessages  msg 
) const

Definition at line 16590 of file Player.cpp.

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

◆ SendQuestComplete()

void Player::SendQuestComplete ( uint32  questId) const

Definition at line 16507 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 pReceiver 
) const

Definition at line 16569 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 16539 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 16651 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,
uint32  XP 
) const

Definition at line 16517 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 16550 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)

Definition at line 15732 of file Player.cpp.

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

◆ SendQuestUpdateAddCreatureOrGo()

void Player::SendQuestUpdateAddCreatureOrGo ( Quest const *  quest,
ObjectGuid  guid,
uint32  creatureOrGOIdx,
uint16  oldCount,
uint16  addCount 
)

Definition at line 16611 of file Player.cpp.

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

◆ SendQuestUpdateAddItem()

void Player::SendQuestUpdateAddItem ( Quest const *  quest,
uint32  itemIdx,
uint16  count 
) const

Definition at line 16602 of file Player.cpp.

+ Here is the call graph for this function:

◆ SendQuestUpdateAddPlayer()

void Player::SendQuestUpdateAddPlayer ( Quest const *  quest,
uint16  oldCount,
uint16  addCount 
)

Definition at line 16636 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  IsInGroup,
int32  forcedDifficulty = -1 
) const

Definition at line 20112 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 18706 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 25920 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 20779 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 20122 of file Player.cpp.

+ Here is the call graph for this function:

◆ SendResetInstanceFailed()

void Player::SendResetInstanceFailed ( uint32  reason,
uint32  MapId 
) const

Definition at line 20185 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 20178 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 24915 of file Player.cpp.

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

◆ SendSavedInstances()

void Player::SendSavedInstances ( )

Definition at line 18745 of file Player.cpp.

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

◆ SendSellError()

void Player::SendSellError ( SellResult  msg,
Creature creature,
ObjectGuid  guid,
uint32  param 
) const

Definition at line 13129 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 23307 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 26396 of file Player.cpp.

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

◆ SendTalentsInfoData()

void Player::SendTalentsInfoData ( bool  pet)

Definition at line 25366 of file Player.cpp.

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

◆ SendTalentWipeConfirm()

void Player::SendTalentWipeConfirm ( ObjectGuid  trainerGuid) const

Definition at line 9158 of file Player.cpp.

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

◆ SendTameFailure()

void Player::SendTameFailure ( uint8  result)

Definition at line 2781 of file Player.cpp.

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

◆ SendTaxiNodeStatusMultiple()

void Player::SendTaxiNodeStatusMultiple ( )

Definition at line 21268 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 
) const

Definition at line 22578 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 2734 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 22565 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 
) const

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

+ Here is the caller graph for this function:

◆ SetActiveTalentGroup()

void Player::SetActiveTalentGroup ( uint8  group)
inline

Definition at line 1497 of file Player.h.

+ Here is the caller graph for this function:

◆ SetAmmo()

void Player::SetAmmo ( uint32  item)

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

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

◆ SetArenaPoints()

void Player::SetArenaPoints ( uint32  value)

Definition at line 6670 of file Player.cpp.

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

◆ SetArenaTeamIdInvited()

void Player::SetArenaTeamIdInvited ( uint32  ArenaTeamId)
inline

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

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

◆ SetAtLoginFlag()

void Player::SetAtLoginFlag ( AtLoginFlags  f)
inline

Definition at line 2114 of file Player.h.

◆ SetAuraUpdateMaskForRaid()

void Player::SetAuraUpdateMaskForRaid ( uint8  slot)
inline

Definition at line 2179 of file Player.h.

◆ SetBankBagSlotCount()

void Player::SetBankBagSlotCount ( uint8  count)
inline

Definition at line 1125 of file Player.h.

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

◆ SetBaseModFlatValue()

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

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

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

◆ SetBaseRune()

void Player::SetBaseRune ( uint8  index,
RuneType  baseRune 
)
inline

Definition at line 2212 of file Player.h.

+ Here is the caller graph for this function:

◆ SetBattlegroundEntryPoint()

void Player::SetBattlegroundEntryPoint ( )

Definition at line 21901 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 
)

Definition at line 23092 of file Player.cpp.

+ Here is the caller graph for this function:

◆ SetBattlegroundOrBattlefieldRaid()

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

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

+ Here is the caller graph for this function:

◆ SetBGTeam()

void Player::SetBGTeam ( uint32  team)

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

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

◆ SetCanBlock()

void Player::SetCanBlock ( bool  value)

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

+ Here is the caller graph for this function:

◆ SetCanParry()

void Player::SetCanParry ( bool  value)

Definition at line 24083 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,
int32  allowedItemClass = 0,
int32  allowedItemSubClassMask = 0 
)

Definition at line 13170 of file Player.cpp.

+ Here is the caller graph for this function:

◆ SetChampioningFaction()

void Player::SetChampioningFaction ( uint32  faction)
inline

Definition at line 2242 of file Player.h.

+ Here is the caller graph for this function:

◆ setCinematic()

void Player::setCinematic ( uint8  cine)
inline

Definition at line 1570 of file Player.h.

+ Here is the caller graph for this function:

◆ SetClientControl()

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

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

+ Here is the caller graph for this function:

◆ SetCommandStatusOn()

void Player::SetCommandStatusOn ( uint32  command)
inline

Definition at line 1029 of file Player.h.

+ Here is the caller graph for this function:

◆ SetContestedPvP()

void Player::SetContestedPvP ( Player attackedPlayer = nullptr)

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

+ Here is the caller graph for this function:

◆ SetCurrentRune()

void Player::SetCurrentRune ( uint8  index,
RuneType  currentRune 
)
inline

Definition at line 2213 of file Player.h.

+ Here is the caller graph for this function:

◆ SetDailyQuestStatus()

void Player::SetDailyQuestStatus ( uint32  quest_id)

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

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

◆ SetDelayedTeleportFlag()

void Player::SetDelayedTeleportFlag ( bool  setting)
inlineprivate

Definition at line 2530 of file Player.h.

+ Here is the caller graph for this function:

◆ SetDeveloper()

void Player::SetDeveloper ( bool  on)
inline

Definition at line 995 of file Player.h.

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

◆ SetDrunkValue()

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

Definition at line 872 of file Player.cpp.

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

◆ SetDungeonDifficulty()

void Player::SetDungeonDifficulty ( Difficulty  dungeon_difficulty)
inline

Definition at line 1638 of file Player.h.

+ Here is the caller graph for this function:

◆ SetEquipmentSet()

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

Definition at line 25417 of file Player.cpp.

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

◆ SetFaceId()

void Player::SetFaceId ( uint8  face)
inline

Definition at line 1044 of file Player.h.

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

◆ SetFacialStyle()

void Player::SetFacialStyle ( uint8  facialStyle)
inline

Definition at line 1050 of file Player.h.

+ 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 6295 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 24853 of file Player.cpp.

+ Here is the caller graph for this function:

◆ SetFreePrimaryProfessions()

void Player::SetFreePrimaryProfessions ( uint16  profs)
inline

Definition at line 1531 of file Player.h.

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

◆ SetFreeTalentPoints()

void Player::SetFreeTalentPoints ( uint32  points)

Definition at line 3776 of file Player.cpp.

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

◆ SetGameMaster()

void Player::SetGameMaster ( bool  on)

Definition at line 2198 of file Player.cpp.

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

◆ SetGlyph()

void Player::SetGlyph ( uint8  slot,
uint32  glyph 
)

Definition at line 24281 of file Player.cpp.

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

◆ SetGlyphSlot()

void Player::SetGlyphSlot ( uint8  slot,
uint32  slottype 
)
inline

Definition at line 1521 of file Player.h.

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

+ Here is the caller graph for this function:

◆ SetGMVisible()

void Player::SetGMVisible ( bool  on)

Definition at line 2258 of file Player.cpp.

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

◆ SetGrantableLevels()

void Player::SetGrantableLevels ( uint8  val)
inline

Definition at line 1846 of file Player.h.

+ Here is the caller graph for this function:

◆ SetGroup()

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

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

+ Here is the caller graph for this function:

◆ SetGroupUpdateFlag()

void Player::SetGroupUpdateFlag ( uint32  flag)
inline

Definition at line 2177 of file Player.h.

+ Here is the caller graph for this function:

◆ SetGuildIdInvited()

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

Definition at line 1619 of file Player.h.

+ Here is the caller graph for this function:

◆ SetGuildRank()

void Player::SetGuildRank ( uint8  rankId)
inline

Definition at line 1617 of file Player.h.

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

◆ SetHairColorId()

void Player::SetHairColorId ( uint8  hairColor)
inline

Definition at line 1048 of file Player.h.

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

◆ SetHairStyleId()

void Player::SetHairStyleId ( uint8  hairStyle)
inline

Definition at line 1046 of file Player.h.

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

◆ SetHas310Flyer()

void Player::SetHas310Flyer ( bool  on)
inline

Definition at line 1009 of file Player.h.

+ Here is the caller graph for this function:

◆ SetHasLevelBoosted()

void Player::SetHasLevelBoosted ( )
inline

Definition at line 1016 of file Player.h.

◆ SetHasRaceChanged()

void Player::SetHasRaceChanged ( )
inline

Definition at line 1012 of file Player.h.

◆ SetHomebind()

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

Definition at line 16844 of file Player.cpp.

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

◆ SetHonorPoints()

void Player::SetHonorPoints ( uint32  value)

Definition at line 6661 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 6711 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 1362 of file Player.h.

+ Here is the caller graph for this function:

◆ SetInGuild()

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

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

+ Here is the caller graph for this function:

◆ SetLastPetNumber()

void Player::SetLastPetNumber ( uint32  petnumber)
inline

Definition at line 2163 of file Player.h.

+ Here is the caller graph for this function:

◆ SetLastPotionId()

void Player::SetLastPotionId ( uint32  item_id)
inline

Definition at line 1547 of file Player.h.

◆ SetLastRuneGraceTimer()

void Player::SetLastRuneGraceTimer ( uint8  index,
uint32  timer 
)
inline

Definition at line 1712 of file Player.h.

+ Here is the caller graph for this function:

◆ SetLastUsedRune()

void Player::SetLastUsedRune ( RuneType  type)
inline

Definition at line 2211 of file Player.h.

+ Here is the caller graph for this function:

◆ SetLootGUID()

void Player::SetLootGUID ( ObjectGuid  guid)
inline

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

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

◆ SetMoney()

void Player::SetMoney ( uint32  value)

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

+ Here is the caller graph for this function:

◆ SetMovie()

void Player::SetMovie ( uint32  movie)
inline

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

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

◆ SetNeedsZoneUpdate()

void Player::SetNeedsZoneUpdate ( bool  needsUpdate)
inline

Definition at line 1589 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 1871 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 24012 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 2191 of file Player.h.

+ Here is the caller graph for this function:

◆ SetPendingBind()

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

Definition at line 18700 of file Player.cpp.

+ Here is the caller graph for this function:

◆ SetPhaseMask()

void Player::SetPhaseMask ( uint32  newPhaseMask,
bool  update 
)
overridevirtual

Reimplemented from WorldObject.

Definition at line 22320 of file Player.cpp.

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

◆ SetPvP()

void Player::SetPvP ( bool  state)
overridevirtual

Reimplemented from Unit.

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

+ Here is the caller graph for this function:

◆ SetQuestSharingInfo()

void Player::SetQuestSharingInfo ( ObjectGuid  guid,
uint32  id 
)
inline

Definition at line 1358 of file Player.h.

+ Here is the caller graph for this function:

◆ SetQuestSlot()

void Player::SetQuestSlot ( uint16  slot,
uint32  quest_id,
uint32  timer = 0 
)

Definition at line 15964 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 15973 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 15981 of file Player.cpp.

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

◆ SetQuestSlotTimer()

void Player::SetQuestSlotTimer ( uint16  slot,
uint32  timer 
)

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

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

◆ SetRaidDifficulty()

void Player::SetRaidDifficulty ( Difficulty  raid_difficulty)
inline

Definition at line 1639 of file Player.h.

+ Here is the caller graph for this function:

◆ SetRandomWinner()

void Player::SetRandomWinner ( bool  isWinner)

Definition at line 26125 of file Player.cpp.

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

◆ setRegenTimerCount()

void Player::setRegenTimerCount ( uint32  time)
inline

Definition at line 1405 of file Player.h.

+ Here is the caller graph for this function:

◆ SetRegularAttackTime()

void Player::SetRegularAttackTime ( )

Definition at line 5385 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,
uint32  value 
)

Definition at line 25886 of file Player.cpp.

+ Here is the call graph for this function:

◆ SetRestBonus()

void Player::SetRestBonus ( float  rest_bonus_new)

Definition at line 20977 of file Player.cpp.

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

◆ SetRestFlag()

void Player::SetRestFlag ( RestFlag  restFlag,
uint32  triggerId = 0 
)

Definition at line 26452 of file Player.cpp.

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

◆ SetRestState()

void Player::SetRestState ( uint8  restState)
inline

Definition at line 1058 of file Player.h.

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

◆ SetResurrectRequestData()

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

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

+ Here is the caller graph for this function:

◆ SetRuneConvertAura()

void Player::SetRuneConvertAura ( uint8  index,
AuraEffect const *  aura 
)

Definition at line 24376 of file Player.cpp.

+ Here is the caller graph for this function:

◆ SetRuneCooldown()

void Player::SetRuneCooldown ( uint8  index,
uint32  cooldown,
bool  casted = false 
)

Definition at line 24354 of file Player.cpp.

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

◆ SetRuneTimer()

void Player::SetRuneTimer ( uint8  index,
uint32  timer 
)
inline

Definition at line 1710 of file Player.h.

+ Here is the caller graph for this function:

◆ SetSaveTimer()

void Player::SetSaveTimer ( uint32  timer)
inline

Definition at line 2076 of file Player.h.

◆ SetSeasonalQuestStatus()

void Player::SetSeasonalQuestStatus ( uint32  quest_id)

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

+ Here is the caller graph for this function:

◆ SetSelection()

void Player::SetSelection ( ObjectGuid  guid)
inline

Used for serverside target changes, does not apply to players.

Definition at line 1424 of file Player.h.

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

◆ SetSemaphoreTeleportFar()

void Player::SetSemaphoreTeleportFar ( bool  semphsetting)
inline

Definition at line 1824 of file Player.h.

+ Here is the caller graph for this function:

◆ SetSemaphoreTeleportNear()

void Player::SetSemaphoreTeleportNear ( bool  semphsetting)
inline

Definition at line 1823 of file Player.h.

+ Here is the caller graph for this function:

◆ SetSheath()

void Player::SetSheath ( SheathState  sheathed)
overridevirtual

Reimplemented from Unit.

Definition at line 9206 of file Player.cpp.

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

◆ SetSkill()

void Player::SetSkill ( uint32  id,
uint16  step,
uint16  newVal,
uint16  maxVal 
)

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

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

◆ SetSkillMaxRank()

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

Definition at line 1812 of file Player.h.

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

◆ SetSkillPermBonus()

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

Definition at line 1816 of file Player.h.

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

◆ SetSkillRank()

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

Definition at line 1810 of file Player.h.

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

◆ SetSkillStep()

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

Definition at line 1808 of file Player.h.

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

◆ SetSkillTempBonus()

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

Definition at line 1814 of file Player.h.

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

◆ SetSkinId()

void Player::SetSkinId ( uint8  skin)
inline

Definition at line 1042 of file Player.h.

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

◆ SetSpellModTakingSpell()

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

Definition at line 20934 of file Player.cpp.

+ Here is the caller graph for this function:

◆ SetTalentGroupsCount()

void Player::SetTalentGroupsCount ( uint8  count)
inline

Definition at line 1499 of file Player.h.

+ Here is the caller graph for this function:

◆ SetTalentResetCost()

void Player::SetTalentResetCost ( uint32  cost)
inline

Definition at line 1493 of file Player.h.

+ Here is the caller graph for this function:

◆ SetTalentResetTime()

void Player::SetTalentResetTime ( time_t  time_)
inline

Definition at line 1495 of file Player.h.

+ Here is the caller graph for this function:

◆ SetTarget()

void Player::SetTarget ( ObjectGuid  )
inlineoverridevirtual

Implements Unit.

Definition at line 1423 of file Player.h.

◆ SetTaxiCheater()

void Player::SetTaxiCheater ( bool  on)
inline

Definition at line 1005 of file Player.h.

+ Here is the caller graph for this function:

◆ SetTemporaryUnsummonedPetNumber()

void Player::SetTemporaryUnsummonedPetNumber ( uint32  petnumber)
inline

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

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

◆ SetUsedTalentCount()

void Player::SetUsedTalentCount ( uint32  talents)
inline

Definition at line 1489 of file Player.h.

+ Here is the caller graph for this function:

◆ SetViewpoint()

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

Definition at line 24119 of file Player.cpp.

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

◆ SetVirtualItemSlot()

void Player::SetVirtualItemSlot ( uint8  i,
Item item 
)

Definition at line 9186 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 pItem 
)

Definition at line 11938 of file Player.cpp.

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

◆ setWeaponChangeTimer()

void Player::setWeaponChangeTimer ( uint32  time)
inline

Definition at line 1406 of file Player.h.

◆ SetWeeklyQuestStatus()

void Player::SetWeeklyQuestStatus ( uint32  quest_id)

Definition at line 22970 of file Player.cpp.

+ Here is the caller graph for this function:

◆ SetXP()

void Player::SetXP ( uint32  xp)
inline

Definition at line 1020 of file Player.h.

+ 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 4536 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 12514 of file Player.cpp.

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

◆ StartTimedAchievement()

void Player::StartTimedAchievement ( AchievementCriteriaTimedTypes  type,
uint32  entry,
uint32  timeLost = 0 
)

Definition at line 24925 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 24109 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 20414 of file Player.cpp.

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

◆ StopMirrorTimer()

void Player::StopMirrorTimer ( MirrorTimerType  Type)
protected

Definition at line 622 of file Player.cpp.

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

◆ StopMirrorTimers()

void Player::StopMirrorTimers ( )

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

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

◆ StoreLootItem()

void Player::StoreLootItem ( uint8  lootSlot,
Loot loot 
)

Definition at line 24556 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  item,
bool  update,
int32  randomPropertyId = 0,
GuidSet const &  allowedLooters = GuidSet() 
)

Definition at line 11621 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  item_id,
uint32  item_count 
)

Definition at line 573 of file Player.cpp.

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

◆ StoreRaidMapDifficulty()

void Player::StoreRaidMapDifficulty ( )

Definition at line 5401 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 23330 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,
float  x,
float  y,
float  z,
float  ang,
PetType  petType,
uint32  despwtime 
)

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

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

◆ SwapQuestSlot()

void Player::SwapQuestSlot ( uint16  slot1,
uint16  slot2 
)

Definition at line 15996 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 15592 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 16306 of file Player.cpp.

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

◆ TeamForRace()

uint32 Player::TeamForRace ( uint8  race)
static

Definition at line 6269 of file Player.cpp.

+ Here is the caller graph for this function:

◆ TeamIdForRace()

TeamId Player::TeamIdForRace ( uint8  race)
static

Definition at line 6286 of file Player.cpp.

◆ TeleportTo() [1/2]

bool Player::TeleportTo ( uint32  mapid,
float  x,
float  y,
float  z,
float  orientation,
uint32  options = 0 
)

Definition at line 1524 of file Player.cpp.

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

◆ TeleportTo() [2/2]

bool Player::TeleportTo ( WorldLocation const &  loc,
uint32  options = 0 
)

Definition at line 1761 of file Player.cpp.

+ Here is the call graph for this function:

◆ TeleportToBGEntryPoint()

bool Player::TeleportToBGEntryPoint ( )

Definition at line 1766 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 20493 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 20513 of file Player.cpp.

◆ ToggleAFK()

void Player::ToggleAFK ( )

Definition at line 1494 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 1503 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 21868 of file Player.cpp.

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

◆ TradeCancel()

void Player::TradeCancel ( bool  sendback,
TradeStatus  status = TRADE_STATUS_TRADE_CANCELED 
)

Definition at line 13232 of file Player.cpp.

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

◆ UnbindInstance() [1/2]

void Player::UnbindInstance ( BoundInstancesMap::iterator &  itr,
Difficulty  difficulty,
bool  unload = false 
)

Definition at line 18596 of file Player.cpp.

+ Here is the call graph for this function:

◆ UnbindInstance() [2/2]

void Player::UnbindInstance ( uint32  mapid,
Difficulty  difficulty,
bool  unload = false 
)

Definition at line 18590 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 2303 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 25197 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
Todo:
add weapon, skill check

Reimplemented from Unit.

Definition at line 916 of file Player.cpp.

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

◆ UpdateAchievementCriteria()

void Player::UpdateAchievementCriteria ( AchievementCriteriaTypes  type,
uint32  miscValue1 = 0,
uint32  miscValue2 = 0,
WorldObject ref = nullptr 
)

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

+ Here is the caller graph for this function:

◆ UpdateAllCritPercentages()

void Player::UpdateAllCritPercentages ( )

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

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

◆ UpdateAllSpellCritChances()

void Player::UpdateAllSpellCritChances ( )

Definition at line 876 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 208 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 7521 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 6768 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 23789 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 263 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 854 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 340 of file StatSystem.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 5051 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 611 of file StatSystem.cpp.

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

◆ UpdateCombatSkills()

void Player::UpdateCombatSkills ( Unit victim,
WeaponAttackType  attType,
bool  defense 
)

Definition at line 5645 of file Player.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 20237 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 23826 of file Player.cpp.

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

◆ UpdateCraftSkill()

bool Player::UpdateCraftSkill ( uint32  spellid)

Definition at line 5449 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 634 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 4996 of file Player.cpp.

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

◆ UpdateDefense()

void Player::UpdateDefense ( )

Definition at line 4946 of file Player.cpp.

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

◆ UpdateDefenseBonusesMod()

void Player::UpdateDefenseBonusesMod ( )

Definition at line 604 of file StatSystem.cpp.

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

◆ UpdateDodgePercentage()

void Player::UpdateDodgePercentage ( )

Definition at line 807 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 20272 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 13292 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 7630 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 882 of file StatSystem.cpp.

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

◆ UpdateFallInformationIfNeed()

void Player::UpdateFallInformationIfNeed ( MovementInfo const &  minfo,
uint16  opcode 
)

Definition at line 25191 of file Player.cpp.

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

◆ UpdateFishingSkill()

bool Player::UpdateFishingSkill ( )

Definition at line 5523 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 
)

Definition at line 5482 of file Player.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 21597 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 6489 of file Player.cpp.

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

◆ UpdateInvisibilityDrunkDetect()

void Player::UpdateInvisibilityDrunkDetect ( )

Definition at line 897 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 13274 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 4863 of file Player.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 308 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 320 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 860 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 714 of file Player.cpp.

+ Here is the caller graph for this function:

◆ UpdateNextMailTimeAndUnreads()

void Player::UpdateNextMailTimeAndUnreads ( )

Definition at line 2821 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 22297 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 765 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 6103 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 1743 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 21701 of file Player.cpp.

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

◆ UpdatePowerRegen()

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

Definition at line 933 of file StatSystem.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 21687 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 20255 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 21644 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 865 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 5292 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

Implements Unit.

Definition at line 248 of file StatSystem.cpp.

+ Here is the call graph for this function:

◆ UpdateRuneRegen()

void Player::UpdateRuneRegen ( RuneType  rune)

Definition at line 1031 of file StatSystem.cpp.

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

◆ UpdateShieldBlockValue()

void Player::UpdateShieldBlockValue ( )

Definition at line 522 of file StatSystem.cpp.

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

◆ UpdateSkill()

bool Player::UpdateSkill ( uint32  skill_id,
uint32  step 
)

Definition at line 5407 of file Player.cpp.

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

◆ UpdateSkillEnchantments()

void Player::UpdateSkillEnchantments ( uint16  skill_id,
uint16  curr_value,
uint16  new_value 
)

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

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

◆ UpdateSkillsForLevel()

void Player::UpdateSkillsForLevel ( )

update only level dependent max skill values

maximize skill always

update max skill value if current max skill not maximized

Definition at line 5690 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 13251 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 19998 of file Player.cpp.

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

◆ UpdateSpellCritChance()

void Player::UpdateSpellCritChance ( uint32  school)

Definition at line 829 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 188 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 870 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 99 of file StatSystem.cpp.

+ Here is the call graph for this function:

◆ UpdateTalentGroupCount()

void Player::UpdateTalentGroupCount ( uint8  count)

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

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

◆ UpdateVisibilityForPlayer()

void Player::UpdateVisibilityForPlayer ( )

Definition at line 22312 of file Player.cpp.

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

◆ UpdateVisibilityOf() [1/2]

template<class T >
void Player::UpdateVisibilityOf ( T *  target,
UpdateData data,
std::set< Unit * > &  visibleNow 
)

Definition at line 22261 of file Player.cpp.

+ Here is the call graph for this function:

◆ UpdateVisibilityOf() [2/2]

void Player::UpdateVisibilityOf ( WorldObject target)

Definition at line 22172 of file Player.cpp.

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

◆ UpdateVisibleGameobjectsOrSpellClicks()

void Player::UpdateVisibleGameobjectsOrSpellClicks ( )

Definition at line 23262 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 7527 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 7493 of file Player.cpp.

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

◆ UpdateWeaponSkill()

void Player::UpdateWeaponSkill ( Unit victim,
WeaponAttackType  attType 
)

Definition at line 5607 of file Player.cpp.

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

◆ UpdateWeaponsSkillsToMaxSkillsForLevel()

void Player::UpdateWeaponsSkillsToMaxSkillsForLevel ( )

Definition at line 5733 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 6804 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 23779 of file Player.cpp.

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

◆ ValidateAppearance()

bool Player::ValidateAppearance ( uint8  race,
uint8  class_,
uint8  gender,
uint8  hairID,
uint8  hairColor,
uint8  faceID,
uint8  facialHair,
uint8  skinColor,
bool  create = false 
)
static

Definition at line 26403 of file Player.cpp.

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

◆ VehicleSpellInitialize()

void Player::VehicleSpellInitialize ( )

Definition at line 20673 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 11953 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 20518 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 20554 of file Player.cpp.

+ Here is the call graph for this function:

◆ WhisperAddon()

void Player::WhisperAddon ( std::string const &  text,
Player receiver 
)

Definition at line 20503 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 20478 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 20488 of file Player.cpp.

Friends And Related Symbol Documentation

◆ AddItemToUpdateQueueOf

void AddItemToUpdateQueueOf ( Item item,
Player player 
)
friend

Definition at line 669 of file Item.cpp.

◆ CinematicMgr

friend class CinematicMgr
friend

Definition at line 926 of file Player.h.

◆ RemoveItemFromUpdateQueueOf

void RemoveItemFromUpdateQueueOf ( Item item,
Player player 
)
friend

Definition at line 690 of file Item.cpp.

◆ WorldSession

friend class WorldSession
friend

Definition at line 925 of file Player.h.

Member Data Documentation

◆ _activeCheats

uint32 Player::_activeCheats
private

Definition at line 2572 of file Player.h.

◆ _cinematicMgr

CinematicMgr* Player::_cinematicMgr
private

Definition at line 2515 of file Player.h.

◆ _corpseLocation

WorldLocation Player::_corpseLocation
private

Definition at line 2578 of file Player.h.

◆ _equipmentSets

EquipmentSetContainer Player::_equipmentSets
protected

Definition at line 2495 of file Player.h.

◆ _pendingBindId

uint32 Player::_pendingBindId
private

Definition at line 2569 of file Player.h.

◆ _pendingBindTimer

uint32 Player::_pendingBindTimer
private

Definition at line 2570 of file Player.h.

◆ _restFlagMask

uint32 Player::_restFlagMask
protected

Definition at line 2469 of file Player.h.

◆ _restTime

time_t Player::_restTime
protected

Definition at line 2466 of file Player.h.

◆ _resurrectionData

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

Definition at line 2425 of file Player.h.

◆ _talentMgr

PlayerTalentInfo* Player::_talentMgr
protected

Definition at line 2406 of file Player.h.

◆ autoReplyMsg

std::string Player::autoReplyMsg

Definition at line 978 of file Player.h.

◆ duel

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

Definition at line 1602 of file Player.h.

◆ healthBeforeDuel

uint32 Player::healthBeforeDuel
private

Definition at line 2575 of file Player.h.

◆ inn_triggerId

uint32 Player::inn_triggerId
protected

Definition at line 2467 of file Player.h.

◆ isDebugAreaTriggers

bool Player::isDebugAreaTriggers

Definition at line 2246 of file Player.h.

◆ ItemSetEff

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

Definition at line 1970 of file Player.h.

◆ m_achievementMgr

AchievementMgr* Player::m_achievementMgr
private

Definition at line 2564 of file Player.h.

◆ m_actionButtons

ActionButtonList Player::m_actionButtons
protected

Definition at line 2408 of file Player.h.

◆ m_ammoDPS

float Player::m_ammoDPS
protected

Definition at line 2463 of file Player.h.

◆ m_areaUpdateId

uint32 Player::m_areaUpdateId
protected

Definition at line 2449 of file Player.h.

◆ m_ArenaTeamIdInvited

uint32 Player::m_ArenaTeamIdInvited
protected

Definition at line 2400 of file Player.h.

◆ m_ArmorProficiency

uint32 Player::m_ArmorProficiency
protected

Definition at line 2455 of file Player.h.

◆ m_atLoginFlags

uint32 Player::m_atLoginFlags
protected

Definition at line 2381 of file Player.h.

◆ m_auraBaseFlatMod

float Player::m_auraBaseFlatMod[BASEMOD_END]
protected

Definition at line 2410 of file Player.h.

◆ m_auraBasePctMod

float Player::m_auraBasePctMod[BASEMOD_END]
protected

Definition at line 2411 of file Player.h.

◆ m_auraRaidUpdateMask

uint64 Player::m_auraRaidUpdateMask
protected

Definition at line 2480 of file Player.h.

◆ m_baseFeralAP

uint32 Player::m_baseFeralAP
protected

Definition at line 2414 of file Player.h.

◆ m_baseHealthRegen

uint32 Player::m_baseHealthRegen
protected

Definition at line 2416 of file Player.h.

◆ m_baseManaRegen

uint32 Player::m_baseManaRegen
protected

Definition at line 2415 of file Player.h.

◆ m_baseRatingValue

int16 Player::m_baseRatingValue[MAX_COMBAT_RATING]
protected

Definition at line 2412 of file Player.h.

◆ m_baseSpellPower

uint32 Player::m_baseSpellPower
protected

Definition at line 2413 of file Player.h.

◆ m_bCanDelayTeleport

bool Player::m_bCanDelayTeleport
private

Definition at line 2555 of file Player.h.

◆ m_bgBattlegroundQueueID

BgBattlegroundQueueID_Rec Player::m_bgBattlegroundQueueID[PLAYER_MAX_BATTLEGROUND_QUEUES]
protected

Definition at line 2284 of file Player.h.

◆ m_bgData

BGData Player::m_bgData
protected

Definition at line 2285 of file Player.h.

◆ m_bHasDelayedTeleport

bool Player::m_bHasDelayedTeleport
private

Definition at line 2556 of file Player.h.

◆ m_boundInstances

BoundInstancesMap Player::m_boundInstances[MAX_DIFFICULTY]

Definition at line 2146 of file Player.h.

◆ m_bPassOnGroupLoot

bool Player::m_bPassOnGroupLoot
protected

Definition at line 2481 of file Player.h.

◆ m_canBlock

bool Player::m_canBlock
protected

Definition at line 2457 of file Player.h.

◆ m_canParry

bool Player::m_canParry
protected

Definition at line 2456 of file Player.h.

◆ m_canTitanGrip

bool Player::m_canTitanGrip
protected

Definition at line 2458 of file Player.h.

◆ m_ChampioningFaction

uint32 Player::m_ChampioningFaction
private

Definition at line 2567 of file Player.h.

◆ m_channels

JoinedChannelsList Player::m_channels
protected

Definition at line 2429 of file Player.h.

◆ m_chatFloodData

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

Definition at line 2376 of file Player.h.

◆ m_cinematic

uint8 Player::m_cinematic
protected

Definition at line 2431 of file Player.h.

◆ m_clientGUIDs

GuidUnorderedSet Player::m_clientGUIDs

Definition at line 2095 of file Player.h.

◆ m_contestedPvPTimer

uint32 Player::m_contestedPvPTimer
protected

Definition at line 2269 of file Player.h.

◆ m_currentBuybackSlot

uint32 Player::m_currentBuybackSlot
protected

Definition at line 2384 of file Player.h.

◆ m_DailyQuestChanged

bool Player::m_DailyQuestChanged
protected

Definition at line 2437 of file Player.h.

◆ m_deathExpireTime

time_t Player::m_deathExpireTime
protected

Definition at line 2452 of file Player.h.

◆ m_deathTimer

uint32 Player::m_deathTimer
protected

Definition at line 2451 of file Player.h.

◆ m_declinedname

DeclinedName* Player::m_declinedname
protected

Definition at line 2493 of file Player.h.

◆ m_DelayedOperations

uint32 Player::m_DelayedOperations
private

Definition at line 2554 of file Player.h.

◆ m_DFQuests

DFQuestsDoneList Player::m_DFQuests

Definition at line 2121 of file Player.h.

◆ m_drunkTimer

uint32 Player::m_drunkTimer
protected

Definition at line 2444 of file Player.h.

◆ m_dungeonDifficulty

Difficulty Player::m_dungeonDifficulty
protected

Definition at line 2377 of file Player.h.

◆ m_enchantDuration

EnchantDurationList Player::m_enchantDuration
protected

Definition at line 2421 of file Player.h.

◆ m_ExtraFlags

uint32 Player::m_ExtraFlags
protected

Definition at line 2389 of file Player.h.

◆ m_fishingSteps

uint8 Player::m_fishingSteps
protected

Definition at line 2503 of file Player.h.

◆ m_foodEmoteTimerCount

uint32 Player::m_foodEmoteTimerCount
protected

Definition at line 2267 of file Player.h.

◆ m_grantableLevels

uint8 Player::m_grantableLevels
protected

Definition at line 2501 of file Player.h.

◆ m_group

GroupReference Player::m_group
protected

Definition at line 2476 of file Player.h.

◆ m_groupInvite

Group* Player::m_groupInvite
protected

Definition at line 2478 of file Player.h.

◆ m_groupUpdateMask

uint32 Player::m_groupUpdateMask
protected

Definition at line 2479 of file Player.h.

◆ m_GuildIdInvited

ObjectGuid::LowType Player::m_GuildIdInvited
protected

Definition at line 2399 of file Player.h.

◆ m_homebindAreaId

uint16 Player::m_homebindAreaId

Definition at line 2086 of file Player.h.

◆ m_homebindMapId

uint32 Player::m_homebindMapId

Definition at line 2085 of file Player.h.

◆ m_HomebindTimer

uint32 Player::m_HomebindTimer

Definition at line 2143 of file Player.h.

◆ m_homebindX

float Player::m_homebindX

Definition at line 2087 of file Player.h.

◆ m_homebindY

float Player::m_homebindY

Definition at line 2088 of file Player.h.

◆ m_homebindZ

float Player::m_homebindZ

Definition at line 2089 of file Player.h.

◆ m_hostileReferenceCheckTimer

uint32 Player::m_hostileReferenceCheckTimer
protected

Definition at line 2443 of file Player.h.

◆ m_ingametime

uint32 Player::m_ingametime
protected

Definition at line 2304 of file Player.h.

◆ m_InstanceValid

bool Player::m_InstanceValid

Definition at line 2144 of file Player.h.

◆ m_IsBGRandomWinner

bool Player::m_IsBGRandomWinner
protected

Definition at line 2287 of file Player.h.

◆ m_itemDuration

ItemDurationList Player::m_itemDuration
protected

Definition at line 2422 of file Player.h.

◆ m_items

Item* Player::m_items[PLAYER_SLOTS_COUNT]
protected

Definition at line 2383 of file Player.h.

◆ m_itemSoulboundTradeable

GuidUnorderedSet Player::m_itemSoulboundTradeable
protected

Definition at line 2423 of file Player.h.

◆ m_itemUpdateQueue

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

Definition at line 2386 of file Player.h.

◆ m_itemUpdateQueueBlocked

bool Player::m_itemUpdateQueueBlocked
protected

Definition at line 2387 of file Player.h.

◆ m_Last_tick

time_t Player::m_Last_tick

Definition at line 1034 of file Player.h.

◆ m_lastDailyQuestTime

time_t Player::m_lastDailyQuestTime
protected

Definition at line 2441 of file Player.h.

◆ m_lastFallTime

uint32 Player::m_lastFallTime
private

Definition at line 2537 of file Player.h.

◆ m_lastFallZ

float Player::m_lastFallZ
private

Definition at line 2538 of file Player.h.

◆ m_lastHonorUpdateTime

time_t Player::m_lastHonorUpdateTime
protected

Definition at line 2369 of file Player.h.

◆ m_lastpetnumber

uint32 Player::m_lastpetnumber
protected

Definition at line 2484 of file Player.h.

◆ m_lastPotionId

uint32 Player::m_lastPotionId
protected

Definition at line 2404 of file Player.h.

◆ m_lastRuneGraceTimers

uint32 Player::m_lastRuneGraceTimers[MAX_RUNES]
private

Definition at line 2546 of file Player.h.

◆ m_logintime

time_t Player::m_logintime

Definition at line 1033 of file Player.h.

◆ m_lootGuid

ObjectGuid Player::m_lootGuid
protected

Definition at line 2372 of file Player.h.

◆ m_mail

PlayerMails Player::m_mail
protected

Definition at line 2402 of file Player.h.

◆ m_mailsUpdated

bool Player::m_mailsUpdated

Definition at line 1397 of file Player.h.

◆ m_mapRef

MapReference Player::m_mapRef
private

Definition at line 2535 of file Player.h.

◆ m_MirrorTimer

int32 Player::m_MirrorTimer[MAX_TIMERS]
private

Definition at line 2540 of file Player.h.

◆ m_MirrorTimerFlags

uint8 Player::m_MirrorTimerFlags
private

Definition at line 2541 of file Player.h.

◆ m_MirrorTimerFlagsLast

uint8 Player::m_MirrorTimerFlagsLast
private

Definition at line 2542 of file Player.h.

◆ m_MonthlyQuestChanged

bool Player::m_MonthlyQuestChanged
protected

Definition at line 2439 of file Player.h.

◆ m_monthlyquests

QuestSet Player::m_monthlyquests
protected

Definition at line 2299 of file Player.h.

◆ m_movie

uint32 Player::m_movie
protected

Definition at line 2433 of file Player.h.

◆ m_needsZoneUpdate

bool Player::m_needsZoneUpdate
protected

Definition at line 2505 of file Player.h.

◆ m_nextMailDelivereTime

time_t Player::m_nextMailDelivereTime

Definition at line 1446 of file Player.h.

◆ m_nextSave

uint32 Player::m_nextSave
protected

Definition at line 2375 of file Player.h.

◆ m_oldpetspell

uint32 Player::m_oldpetspell
private

Definition at line 2562 of file Player.h.

◆ m_originalGroup

GroupReference Player::m_originalGroup
protected

Definition at line 2477 of file Player.h.

◆ m_petAuras

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

Definition at line 1077 of file Player.h.

◆ m_petStable

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

Definition at line 2558 of file Player.h.

◆ m_Played_time

uint32 Player::m_Played_time[MAX_PLAYED_TIME_INDEX]

Definition at line 1035 of file Player.h.

◆ m_playerSharingQuest

ObjectGuid Player::m_playerSharingQuest
protected

Definition at line 2302 of file Player.h.

◆ m_powerFraction

float Player::m_powerFraction[MAX_POWERS]
protected

Definition at line 2268 of file Player.h.

◆ m_QuestStatus

QuestStatusMap Player::m_QuestStatus
protected

Definition at line 2391 of file Player.h.

◆ m_QuestStatusSave

QuestStatusSaveMap Player::m_QuestStatusSave
protected

Definition at line 2392 of file Player.h.

◆ m_raidDifficulty

Difficulty Player::m_raidDifficulty
protected

Definition at line 2378 of file Player.h.

◆ m_raidMapDifficulty

Difficulty Player::m_raidMapDifficulty
protected

Definition at line 2379 of file Player.h.

◆ m_recall_location

WorldLocation Player::m_recall_location
protected

Definition at line 2491 of file Player.h.

◆ m_refundableItems

GuidSet Player::m_refundableItems
private

Definition at line 2517 of file Player.h.

◆ m_regenTimerCount

uint32 Player::m_regenTimerCount
protected

Definition at line 2266 of file Player.h.

◆ m_reputationMgr

ReputationMgr* Player::m_reputationMgr
private

Definition at line 2565 of file Player.h.

◆ m_rest_bonus

float Player::m_rest_bonus
protected

Definition at line 2468 of file Player.h.

◆ m_RewardedQuests

RewardedQuestSet Player::m_RewardedQuests
protected

Definition at line 2394 of file Player.h.

◆ m_RewardedQuestsSave

QuestStatusSaveMap Player::m_RewardedQuestsSave
protected

Definition at line 2395 of file Player.h.

◆ m_runeGraceCooldown

uint32 Player::m_runeGraceCooldown[MAX_RUNES]
private

Definition at line 2545 of file Player.h.

◆ m_runes

Runes* Player::m_runes
protected

Definition at line 2494 of file Player.h.

◆ m_SeasonalQuestChanged

bool Player::m_SeasonalQuestChanged
protected

Definition at line 2440 of file Player.h.

◆ m_seasonalquests

SeasonalQuestMapByEvent Player::m_seasonalquests
protected

Definition at line 2300 of file Player.h.

◆ m_seer

WorldObject* Player::m_seer

Definition at line 2061 of file Player.h.

◆ m_session

WorldSession* Player::m_session
protected

Definition at line 2427 of file Player.h.

◆ m_sharedQuestId

uint32 Player::m_sharedQuestId
protected

Definition at line 2303 of file Player.h.

◆ m_social

PlayerSocial* Player::m_social
protected

Definition at line 2473 of file Player.h.

◆ m_spellMods

SpellModContainer Player::m_spellMods[MAX_SPELLMOD]
protected

Definition at line 2419 of file Player.h.

◆ m_spellModTakingSpell

Spell* Player::m_spellModTakingSpell

Definition at line 2243 of file Player.h.

◆ m_spellPenetrationItemMod

int32 Player::m_spellPenetrationItemMod
protected

Definition at line 2417 of file Player.h.

◆ m_spells

PlayerSpellMap Player::m_spells
protected

Definition at line 2403 of file Player.h.

◆ m_summon_expire

time_t Player::m_summon_expire
protected

Definition at line 2487 of file Player.h.

◆ m_summon_location

WorldLocation Player::m_summon_location
protected

Definition at line 2488 of file Player.h.

◆ m_swingErrorMsg

uint8 Player::m_swingErrorMsg
protected

Definition at line 2462 of file Player.h.

◆ m_taxi

PlayerTaxi Player::m_taxi

Definition at line 985 of file Player.h.

◆ m_team

uint32 Player::m_team
protected

Definition at line 2374 of file Player.h.

◆ m_teleport_dest

WorldLocation Player::m_teleport_dest
private

Definition at line 2549 of file Player.h.

◆ m_teleport_options

uint32 Player::m_teleport_options
private

Definition at line 2550 of file Player.h.

◆ m_temporaryUnsummonedPetNumber

uint32 Player::m_temporaryUnsummonedPetNumber
private

Definition at line 2561 of file Player.h.

◆ m_timedquests

QuestSet Player::m_timedquests
protected

Definition at line 2297 of file Player.h.

◆ m_titanGripArmorSubclasses

uint32 Player::m_titanGripArmorSubclasses
protected

Definition at line 2460 of file Player.h.

◆ m_titanGripPenaltySpellId

uint32 Player::m_titanGripPenaltySpellId
protected

Definition at line 2461 of file Player.h.

◆ m_titanGripWeaponSubclasses

uint32 Player::m_titanGripWeaponSubclasses
protected

Definition at line 2459 of file Player.h.

◆ m_trade

TradeData* Player::m_trade
protected

Definition at line 2435 of file Player.h.

◆ m_weaponChangeTimer

uint32 Player::m_weaponChangeTimer
protected

Definition at line 2445 of file Player.h.

◆ m_WeaponProficiency

uint32 Player::m_WeaponProficiency
protected

Definition at line 2454 of file Player.h.

◆ m_WeeklyQuestChanged

bool Player::m_WeeklyQuestChanged
protected

Definition at line 2438 of file Player.h.

◆ m_weeklyquests

QuestSet Player::m_weeklyquests
protected

Definition at line 2298 of file Player.h.

◆ m_zoneUpdateId

uint32 Player::m_zoneUpdateId
protected

Definition at line 2447 of file Player.h.

◆ m_zoneUpdateTimer

uint32 Player::m_zoneUpdateTimer
protected

Definition at line 2448 of file Player.h.

◆ manaBeforeDuel

uint32 Player::manaBeforeDuel
private

Definition at line 2576 of file Player.h.

◆ mMitems

ItemMap Player::mMitems

Definition at line 1450 of file Player.h.

◆ mSemaphoreTeleport_Far

bool Player::mSemaphoreTeleport_Far
private

Definition at line 2552 of file Player.h.

◆ mSemaphoreTeleport_Near

bool Player::mSemaphoreTeleport_Near
private

Definition at line 2551 of file Player.h.

◆ mSkillStatus

SkillStatusMap Player::mSkillStatus
protected

Definition at line 2397 of file Player.h.

◆ PlayerTalkClass

PlayerMenu* Player::PlayerTalkClass

Definition at line 1969 of file Player.h.

◆ pvpInfo

PvPInfo Player::pvpInfo

Definition at line 1582 of file Player.h.

◆ unReadMails

uint8 Player::unReadMails

Definition at line 1445 of file Player.h.

◆ WhisperList

GuidList Player::WhisperList
protected

Definition at line 2265 of file Player.h.


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