|
| void | UpdateObjectVisibility (bool=true, bool=false) override |
| |
| void | AddToWorld () override |
| |
| void | RemoveFromWorld () override |
| |
| void | SaveToDB (bool, bool) |
| |
| void | SaveToDB (CharacterDatabaseTransaction, bool, bool) |
| |
| void | ForceInitValues (ObjectGuid::LowType guidLow=1) |
| |
| | Player (WorldSession *session) |
| |
| | Player (WorldSession *session) |
| |
| | ~Player () override |
| |
| void | CleanupsBeforeDelete (bool finalCleanup=true) override |
| |
| void | SetObjectScale (float scale) override |
| |
| bool | TeleportTo (uint32 mapid, float x, float y, float z, float orientation, uint32 options=0, Unit *target=nullptr, bool newInstance=false) |
| |
| bool | TeleportTo (WorldLocation const &loc, uint32 options=0, Unit *target=nullptr) |
| |
| bool | TeleportToEntryPoint () |
| |
| void | SetSummonPoint (uint32 mapid, float x, float y, float z, uint32 delay=0, bool asSpectator=false) |
| |
| bool | IsSummonAsSpectator () const |
| |
| void | SetSummonAsSpectator (bool on) |
| |
| void | SummonIfPossible (bool agree, ObjectGuid summoner_guid) |
| |
| time_t | GetSummonExpireTimer () const |
| |
| bool | Create (ObjectGuid::LowType guidlow, CharacterCreateInfo *createInfo) |
| |
| void | Update (uint32 time) override |
| |
| PlayerFlags | GetPlayerFlags () const |
| |
| bool | HasPlayerFlag (PlayerFlags flags) const |
| |
| void | SetPlayerFlag (PlayerFlags flags) |
| |
| void | RemovePlayerFlag (PlayerFlags flags) |
| |
| void | ReplaceAllPlayerFlags (PlayerFlags flags) |
| |
| bool | IsClass (Classes playerClass, ClassContext context=CLASS_CONTEXT_NONE) const override |
| |
| void | SetInWater (bool apply) |
| |
| bool | IsInWater () const override |
| |
| bool | IsFalling () const |
| |
| bool | IsInAreaTriggerRadius (AreaTrigger const *trigger, float delta=0.f) const |
| |
| void | SendInitialPacketsBeforeAddToMap () |
| |
| void | SendInitialPacketsAfterAddToMap () |
| |
| void | SendTransferAborted (uint32 mapid, TransferAbortReason reason, uint8 arg=0) |
| |
| void | SendInstanceResetWarning (uint32 mapid, Difficulty difficulty, uint32 time, bool onEnterMap) |
| |
| bool | CanInteractWithQuestGiver (Object *questGiver) |
| |
| Creature * | GetNPCIfCanInteractWith (ObjectGuid const &guid, uint32 npcflagmask) |
| |
| GameObject * | GetGameObjectIfCanInteractWith (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) |
| |
| PlayerSocial * | GetSocial () |
| |
| void | InitTaxiNodesForLevel () |
| |
| bool | ActivateTaxiPathTo (std::vector< uint32 > const &nodes, Creature *npc=nullptr, uint32 spellid=1) |
| |
| bool | ActivateTaxiPathTo (uint32 taxi_path_id, uint32 spellid=1) |
| |
| void | CleanupAfterTaxiFlight () |
| |
| void | ContinueTaxiFlight () |
| |
| void | SendTaxiNodeStatusMultiple () |
| |
| bool | IsCommentator () const |
| |
| void | SetCommentator (bool on) |
| |
| bool | IsDeveloper () const |
| |
| void | SetDeveloper (bool on) |
| |
| void | SetBeastMaster (bool on) |
| |
| bool | isAcceptWhispers () const |
| |
| void | SetAcceptWhispers (bool on) |
| |
| bool | IsGameMaster () const |
| |
| bool | CanBeGameMaster () const |
| |
| void | SetGameMaster (bool on) |
| |
| bool | isGMChat () const |
| |
| void | SetGMChat (bool on) |
| |
| bool | IsGMSpectator () const |
| |
| void | SetGMSpectator (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) |
| |
| void | GiveXP (uint32 xp, Unit *victim, float group_rate=1.0f, bool isLFGReward=false) |
| |
| void | GiveLevel (uint8 level) |
| |
| void | InitStatsForLevel (bool reapplyMods=false) |
| |
| bool | HasActivePowerType (Powers power) override |
| |
| bool | GetCommandStatus (uint32 command) const |
| |
| void | SetCommandStatusOn (uint32 command) |
| |
| void | SetCommandStatusOff (uint32 command) |
| |
| uint32 | GetTotalPlayedTime () |
| |
| uint32 | GetLevelPlayedTime () |
| |
| void | setDeathState (DeathState s, bool despawn=false) override |
| |
| void | SetRestState (uint32 triggerId) |
| |
| void | RemoveRestState () |
| |
| uint32 | GetXPRestBonus (uint32 xp) |
| |
| float | GetRestBonus () const |
| |
| void | SetRestBonus (float restBonusNew) |
| |
| bool | HasRestFlag (RestFlag restFlag) const |
| |
| void | SetRestFlag (RestFlag restFlag, uint32 triggerId=0) |
| |
| void | RemoveRestFlag (RestFlag restFlag) |
| |
| uint32 | GetInnTriggerId () const |
| |
| PetStable * | GetPetStable () |
| |
| PetStable & | GetOrInitPetStable () |
| |
| PetStable const * | GetPetStable () const |
| |
| Pet * | GetPet () const |
| |
| Pet * | SummonPet (uint32 entry, float x, float y, float z, float ang, PetType petType, Milliseconds duration=0ms, uint32 healthPct=0) |
| |
| void | RemovePet (Pet *pet, PetSaveMode mode, bool returnreagent=false) |
| |
| bool | CanPetResurrect () |
| |
| bool | IsExistPet () |
| |
| Pet * | CreatePet (Creature *creatureTarget, uint32 spellID=0) |
| |
| Pet * | CreatePet (uint32 creatureEntry, uint32 spellID=0) |
| |
| uint32 | GetPhaseMaskForSpawn () const |
| |
| 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 | SetVirtualItemSlot (uint8 i, Item *item) |
| |
| void | SetSheath (SheathState sheathed) override |
| |
| uint8 | FindEquipSlot (ItemTemplate const *proto, uint32 slot, bool swap) const |
| |
| uint32 | GetItemCount (uint32 item, bool inBankAlso=false, Item *skipItem=nullptr) const |
| |
| uint32 | GetItemCountWithLimitCategory (uint32 limitCategory, Item *skipItem=nullptr) const |
| |
| Item * | GetItemByGuid (ObjectGuid guid) const |
| |
| Item * | GetItemByEntry (uint32 entry) const |
| |
| Item * | GetItemByPos (uint16 pos) const |
| |
| Item * | GetItemByPos (uint8 bag, uint8 slot) const |
| |
| Bag * | GetBagByPos (uint8 slot) const |
| |
| uint32 | GetFreeInventorySpace () const |
| |
| Item * | GetUseableItemByPos (uint8 bag, uint8 slot) const |
| |
| Item * | GetWeaponForAttack (WeaponAttackType attackType, bool useable=false) const |
| |
| bool | HasWeapon (WeaponAttackType type) const override |
| |
| bool | HasWeaponForAttack (WeaponAttackType type) const override |
| |
| Item * | GetShield (bool useable=false) const |
| |
| std::vector< Item * > & | GetItemUpdateQueue () |
| |
| bool | IsValidPos (uint16 pos, bool explicit_pos) |
| |
| bool | IsValidPos (uint8 bag, uint8 slot, bool explicit_pos) |
| |
| 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 | HasItemOrGemWithLimitCategoryEquipped (uint32 limitCategory, uint32 count, uint8 except_slot=NULL_SLOT) const |
| |
| InventoryResult | CanTakeMoreSimilarItems (Item *item, uint32 *itemLimitedByLimitCategory=nullptr) const |
| |
| InventoryResult | CanTakeMoreSimilarItems (uint32 entry, uint32 count, uint32 *itemLimitedByLimitCategory=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 *itemLimitedByLimitCategory) 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 |
| |
| bool | IsTotemCategoryCompatiableWith (ItemTemplate const *pProto, uint32 requiredTotemCategoryId) const |
| |
| InventoryResult | CanUseItem (ItemTemplate const *pItem) const |
| |
| InventoryResult | CanUseAmmo (uint32 item) const |
| |
| InventoryResult | CanRollForItemInLFG (ItemTemplate const *item, WorldObject const *lootedObject) const |
| |
| Item * | StoreNewItem (ItemPosCountVec const &pos, uint32 item, bool update, int32 randomPropertyId=0, bool refund=false) |
| |
| Item * | StoreNewItem (ItemPosCountVec const &pos, uint32 item, bool update, int32 randomPropertyId, AllowedLooterSet &allowedLooters, bool refund=false) |
| |
| Item * | StoreItem (ItemPosCountVec const &pos, Item *pItem, bool update) |
| |
| Item * | EquipNewItem (uint16 pos, uint32 item, bool update) |
| |
| Item * | EquipItem (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) |
| |
| void | AutoStoreLoot (uint32 loot_id, LootStore const &store, bool broadcast=false) |
| |
| LootItem * | StoreLootItem (uint8 lootSlot, Loot *loot, InventoryResult &msg) |
| |
| void | UpdateLootAchievements (LootItem *item, Loot *loot) |
| |
| void | UpdateTitansGrip () |
| |
| InventoryResult | CanTakeMoreSimilarItems (uint32 entry, uint32 count, Item *item, 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 itemGUID) |
| |
| void | DeleteRefundReference (ObjectGuid itemGUID) |
| |
| 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) |
| |
| Item * | BankItem (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) |
| |
| void | 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, uint32 money) |
| |
| Item * | GetItemFromBuyBackSlot (uint32 slot) |
| |
| void | RemoveItemFromBuyBackSlot (uint32 slot, bool del) |
| |
| uint32 | GetMaxKeyringSize () const |
| |
| void | SendEquipError (InventoryResult msg, Item *pItem, Item *pItem2=nullptr, uint32 itemid=0) |
| |
| void | SendBuyError (BuyResult msg, Creature *creature, uint32 item, uint32 param) |
| |
| void | SendSellError (SellResult msg, Creature *creature, ObjectGuid guid, uint32 param) |
| |
| void | AddWeaponProficiency (uint32 newflag) |
| |
| void | AddArmorProficiency (uint32 newflag) |
| |
| uint32 | GetWeaponProficiency () const |
| |
| uint32 | GetArmorProficiency () const |
| |
| bool | IsTwoHandUsed () 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, uint8 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 |
| |
| Player * | GetTrader () const |
| |
| TradeData * | GetTradeData () const |
| |
| void | TradeCancel (bool sendback, TradeStatus status=TRADE_STATUS_TRADE_CANCELED) |
| |
| CinematicMgr & | GetCinematicMgr () |
| |
| CinematicMgr const & | GetCinematicMgr () 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 | UpdateEnchantmentDurations () |
| |
| void | BuildEnchantmentsInfoData (WorldPacket *data) |
| |
| 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) |
| |
| void | ToggleInstantFlight () |
| |
| int32 | GetQuestLevel (Quest const *quest) const |
| |
| void | PrepareQuestMenu (ObjectGuid guid) |
| |
| void | SendPreparedQuest (ObjectGuid guid) |
| |
| bool | IsActiveQuest (uint32 quest_id) const |
| |
| Quest const * | GetNextQuest (ObjectGuid guid, Quest const *quest) |
| |
| bool | CanSeeStartQuest (Quest const *quest) |
| |
| bool | CanTakeQuest (Quest const *quest, bool msg) |
| |
| bool | CanAddQuest (Quest const *quest, bool msg) |
| |
| bool | CanCompleteQuest (uint32 quest_id, const QuestStatusData *q_savedStatus=nullptr) |
| |
| 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, bool isLFGReward=false) |
| |
| 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) |
| |
| bool | SatisfyQuestPreviousQuest (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) |
| |
| bool | SatisfyQuestTimed (Quest const *qInfo, bool msg) const |
| |
| bool | SatisfyQuestExclusiveGroup (Quest const *qInfo, bool msg) const |
| |
| bool | SatisfyQuestBreadcrumb (Quest const *qInfo, bool msg) const |
| |
| bool | SatisfyQuestNextChain (Quest const *qInfo, bool msg) const |
| |
| bool | SatisfyQuestPrevChain (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) |
| |
| uint32 | CalculateQuestRewardXP (Quest const *quest) |
| |
| 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) |
| |
| float | GetQuestRate (bool isDFQuest=false) |
| |
| 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) |
| |
| 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) |
| |
| 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, bool *showInLoot=nullptr) const |
| |
| bool | HasQuestForGO (int32 GOId) const |
| |
| bool | HasQuest (uint32 questId) const |
| |
| void | UpdateForQuestWorldObjects () |
| |
| bool | CanShareQuest (uint32 quest_id) const |
| |
| void | SendQuestComplete (uint32 quest_id) |
| |
| void | SendQuestReward (Quest const *quest, uint32 XP) |
| |
| void | SendQuestFailed (uint32 questId, InventoryResult reason=EQUIP_ERR_OK) |
| |
| void | SendQuestTimerFailed (uint32 quest_id) |
| |
| void | SendCanTakeQuestResponse (QuestFailedReason msg) const |
| |
| void | SendQuestConfirmAccept (Quest const *quest, Player *pReceiver) |
| |
| void | SendPushToPartyResponse (Player const *player, QuestShareMessages msg) const |
| |
| void | SendQuestUpdateAddItem (Quest const *quest, uint32 item_idx, uint16 count) |
| |
| void | SendQuestUpdateAddCreatureOrGo (Quest const *quest, ObjectGuid guid, uint32 creatureOrGO_idx, uint16 old_count, uint16 add_count) |
| |
| void | SendQuestUpdateAddPlayer (Quest const *quest, uint16 old_count, uint16 add_count) |
| |
| ObjectGuid | GetDivider () |
| |
| void | SetDivider (ObjectGuid guid=ObjectGuid::Empty) |
| |
| uint32 | GetInGameTime () |
| |
| void | SetInGameTime (uint32 time) |
| |
| void | AddTimedQuest (uint32 quest_id) |
| |
| void | RemoveTimedQuest (uint32 quest_id) |
| |
| bool | HasPvPForcingQuest () const |
| |
| bool | LoadFromDB (ObjectGuid guid, CharacterDatabaseQueryHolder const &holder) |
| |
| bool | isBeingLoaded () const override |
| |
| void | Initialize (ObjectGuid::LowType guid) |
| |
| void | SaveToDB (bool create, bool logout) |
| |
| void | SaveToDB (CharacterDatabaseTransaction trans, bool create, bool logout) |
| |
| void | SaveInventoryAndGoldToDB (CharacterDatabaseTransaction trans) |
| |
| void | SaveGoldToDB (CharacterDatabaseTransaction trans) |
| |
| void | _SaveSkills (CharacterDatabaseTransaction trans) |
| |
| void | SetBindPoint (ObjectGuid guid) |
| |
| void | SendTalentWipeConfirm (ObjectGuid guid) |
| |
| 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 |
| |
| QuestStatusMap & | getQuestStatusMap () |
| |
| QuestStatusSaveMap & | GetQuestStatusSaveMap () |
| |
| std::size_t | GetRewardedQuestCount () const |
| |
| bool | IsQuestRewarded (uint32 quest_id) const |
| |
| Unit * | GetSelectedUnit () const |
| |
| Player * | GetSelectedPlayer () const |
| |
| void | SetTarget (ObjectGuid=ObjectGuid::Empty) 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) |
| |
| void | SendNewMail () |
| |
| void | UpdateNextMailTimeAndUnreads () |
| |
| void | AddNewMailDeliverTime (time_t deliver_time) |
| |
| void | RemoveMail (uint32 id) |
| |
| void | AddMail (Mail *mail) |
| |
| uint32 | GetMailSize () |
| |
| Mail * | GetMail (uint32 id) |
| |
| PlayerMails const & | GetMails () const |
| |
| void | SendItemRetrievalMail (uint32 itemEntry, uint32 count) |
| |
| void | SendItemRetrievalMail (std::vector< std::pair< uint32, uint32 > > mailItems) |
| |
| void | SendItemRetrievalMail (Item *item) |
| |
| Item * | GetMItem (ObjectGuid::LowType itemLowGuid) |
| |
| void | AddMItem (Item *it) |
| |
| bool | RemoveMItem (ObjectGuid::LowType itemLowGuid) |
| |
| void | PetSpellInitialize () |
| |
| void | CharmSpellInitialize () |
| |
| void | PossessSpellInitialize () |
| |
| void | VehicleSpellInitialize () |
| |
| void | SendRemoveControlBar () |
| |
| bool | HasSpell (uint32 spell) const override |
| |
| bool | HasActiveSpell (uint32 spell) const |
| |
| bool | IsSpellFitByClassAndRace (uint32 spell_id) const |
| |
| bool | IsNeedCastPassiveSpellAtLearn (SpellInfo const *spellInfo) const |
| |
| void | SendProficiency (ItemClass itemClass, uint32 itemSubclassMask) |
| |
| void | SendInitialSpells () |
| |
| void | SendLearnPacket (uint32 spellId, bool learn) |
| |
| bool | addSpell (uint32 spellId, uint8 addSpecMask, bool updateActive, bool temporary=false, bool learnFromSkill=false) |
| |
| bool | _addSpell (uint32 spellId, uint8 addSpecMask, bool temporary, bool learnFromSkill=false) |
| |
| void | learnSpell (uint32 spellId, bool temporary=false, bool learnFromSkill=false) |
| |
| void | removeSpell (uint32 spellId, uint8 removeSpecMask, bool onlyTemporary) |
| |
| void | resetSpells () |
| |
| void | LearnCustomSpells () |
| |
| void | LearnDefaultSkills () |
| |
| void | LearnDefaultSkill (uint32 skillId, uint16 rank) |
| |
| void | learnQuestRewardedSpells () |
| |
| void | learnQuestRewardedSpells (Quest const *quest) |
| |
| void | learnSpellHighRank (uint32 spellid) |
| |
| bool | CheckSkillLearnedBySpell (uint32 spellId) |
| |
| void | SetReputation (uint32 factionentry, float value) |
| |
| uint32 | GetReputation (uint32 factionentry) const |
| |
| std::string const & | GetGuildName () |
| |
| uint32 | GetFreeTalentPoints () const |
| |
| void | SetFreeTalentPoints (uint32 points) |
| |
| bool | resetTalents (bool noResetCost=false) |
| |
| uint32 | resetTalentsCost () const |
| |
| bool | IsMaxLevel () const |
| |
| void | InitTalentForLevel () |
| |
| void | BuildPlayerTalentsInfoData (WorldPacket *data) |
| |
| void | BuildPetTalentsInfoData (WorldPacket *data) |
| |
| void | SendTalentsInfoData (bool pet) |
| |
| void | LearnTalent (uint32 talentId, uint32 talentRank, bool command=false) |
| |
| void | LearnPetTalent (ObjectGuid petGuid, uint32 talentId, uint32 talentRank) |
| |
| bool | addTalent (uint32 spellId, uint8 addSpecMask, uint8 oldTalentRank) |
| |
| void | _removeTalent (PlayerTalentMap::iterator &itr, uint8 specMask) |
| |
| void | _removeTalent (uint32 spellId, uint8 specMask) |
| |
| void | _removeTalentAurasAndSpells (uint32 spellId) |
| |
| void | _addTalentAurasAndSpells (uint32 spellId) |
| |
| bool | HasTalent (uint32 spell_id, uint8 spec) const |
| |
| uint32 | CalculateTalentsPoints () const |
| |
| void | SetBonusTalentCount (uint32 count) |
| |
| uint32 | GetBonusTalentCount () |
| |
| void | AddBonusTalent (uint32 count) |
| |
| void | RemoveBonusTalent (uint32 count) |
| |
| void | UpdateSpecCount (uint8 count) |
| |
| uint8 | GetActiveSpec () const |
| |
| uint8 | GetActiveSpecMask () const |
| |
| void | SetActiveSpec (uint8 spec) |
| |
| uint8 | GetSpecsCount () const |
| |
| void | SetSpecsCount (uint8 count) |
| |
| void | ActivateSpec (uint8 spec) |
| |
| void | LoadActions (PreparedQueryResult result) |
| |
| void | GetTalentTreePoints (uint8(&specPoints)[3]) const |
| |
| uint8 | GetMostPointsTalentTree () const |
| |
| bool | HasTankSpec () |
| |
| bool | HasMeleeSpec () |
| |
| bool | HasCasterSpec () |
| |
| bool | HasHealSpec () |
| |
| uint32 | GetSpec (int8 spec=-1) |
| |
| void | InitGlyphsForLevel () |
| |
| void | SetGlyphSlot (uint8 slot, uint32 slottype) |
| |
| uint32 | GetGlyphSlot (uint8 slot) const |
| |
| void | SetGlyph (uint8 slot, uint32 glyph, bool save) |
| |
| uint32 | GetGlyph (uint8 slot) const |
| |
| uint32 | GetFreePrimaryProfessionPoints () const |
| |
| void | SetFreePrimaryProfessions (uint16 profs) |
| |
| void | InitPrimaryProfessions () |
| |
| PlayerSpellMap const & | GetSpellMap () const |
| |
| PlayerSpellMap & | GetSpellMap () |
| |
| SpellCooldowns const & | GetSpellCooldownMap () const |
| |
| SpellCooldowns & | GetSpellCooldownMap () |
| |
| SkillStatusMap const & | GetSkillStatusMap () const |
| |
| SkillStatusMap & | GetSkillStatusMap () |
| |
| void | AddSpellMod (SpellModifier *mod, bool apply) |
| |
| bool | IsAffectedBySpellmod (SpellInfo const *spellInfo, SpellModifier *mod, Spell *spell=nullptr) |
| |
| bool | HasSpellMod (SpellModifier *mod, Spell *spell) |
| |
| template<class T > |
| void | ApplySpellMod (uint32 spellId, SpellModOp op, T &basevalue, Spell *spell=nullptr, bool temporaryPet=false) |
| |
| void | RemoveSpellMods (Spell *spell) |
| |
| void | RestoreSpellMods (Spell *spell, uint32 ownerAuraId=0, Aura *aura=nullptr) |
| |
| void | RestoreAllSpellMods (uint32 ownerAuraId=0, Aura *aura=nullptr) |
| |
| void | SetSpellModTakingSpell (Spell *spell, bool apply) |
| |
| bool | HasSpellCooldown (uint32 spell_id) const override |
| |
| bool | HasSpellItemCooldown (uint32 spell_id, uint32 itemid) const override |
| |
| uint32 | GetSpellCooldownDelay (uint32 spell_id) const |
| |
| void | AddSpellAndCategoryCooldowns (SpellInfo const *spellInfo, uint32 itemId, Spell *spell=nullptr, bool infinityCooldown=false) |
| |
| void | AddSpellCooldown (uint32 spell_id, uint32 itemid, uint32 end_time, bool needSendToClient=false, bool forceSendToSpectator=false) override |
| |
| void | _AddSpellCooldown (uint32 spell_id, uint16 categoryId, uint32 itemid, uint32 end_time, bool needSendToClient=false, bool forceSendToSpectator=false) |
| |
| void | ModifySpellCooldown (uint32 spellId, int32 cooldown) |
| |
| void | SendCooldownEvent (SpellInfo const *spellInfo, uint32 itemId=0, Spell *spell=nullptr, bool setCooldown=true) |
| |
| void | ProhibitSpellSchool (SpellSchoolMask idSchoolMask, uint32 unTimeMs) override |
| |
| void | RemoveSpellCooldown (uint32 spell_id, bool update=false) |
| |
| void | SendClearCooldown (uint32 spell_id, Unit *target) |
| |
| GlobalCooldownMgr & | GetGlobalCooldownMgr () |
| |
| void | RemoveCategoryCooldown (uint32 cat) |
| |
| void | RemoveArenaSpellCooldowns (bool removeActivePetCooldowns=false) |
| |
| void | RemoveAllSpellCooldown () |
| |
| void | _LoadSpellCooldowns (PreparedQueryResult result) |
| |
| void | _SaveSpellCooldowns (CharacterDatabaseTransaction trans, bool logout) |
| |
| uint32 | GetLastPotionId () |
| |
| void | SetLastPotionId (uint32 item_id) |
| |
| void | UpdatePotionCooldown (Spell *spell=nullptr) |
| |
| void | AtExitCombat () override |
| |
| void | setResurrectRequestData (ObjectGuid guid, uint32 mapId, float X, float Y, float Z, uint32 health, uint32 mana) |
| |
| void | clearResurrectRequestData () |
| |
| bool | isResurrectRequestedBy (ObjectGuid guid) const |
| |
| bool | isResurrectRequested () const |
| |
| void | ResurectUsingRequestData () |
| |
| uint8 | getCinematic () const |
| |
| void | setCinematic (uint8 cine) |
| |
| ActionButton * | addActionButton (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) |
| |
| void | UpdatePvPState () |
| |
| void | UpdateFFAPvPState (bool reset=true) |
| |
| void | SetPvP (bool state) |
| |
| void | UpdatePvP (bool state, bool _override=false) |
| |
| void | UpdateZone (uint32 newZone, uint32 newArea, bool force=false) |
| |
| void | UpdateArea (uint32 newArea) |
| |
| void | SetNeedZoneUpdate (bool needUpdate) |
| |
| 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 | UpdateFFAPvPFlag (time_t currTime) |
| |
| 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 (uint32 GuildId) |
| |
| void | SetRank (uint8 rankId) |
| |
| uint8 | GetRank () const |
| |
| void | SetGuildIdInvited (uint32 GuildId) |
| |
| uint32 | GetGuildId () const |
| |
| Guild * | GetGuild () const |
| |
| uint32 | GetGuildIdInvited () |
| |
| void | SetInArenaTeam (uint32 ArenaTeamId, uint8 slot, uint8 type) |
| |
| void | SetArenaTeamInfoField (uint8 slot, ArenaTeamInfoType type, uint32 value) |
| |
| uint32 | GetArenaPersonalRating (uint8 slot) const |
| |
| uint32 | GetArenaTeamId (uint8 slot) const |
| |
| void | SetArenaTeamIdInvited (uint32 ArenaTeamId) |
| |
| uint32 | GetArenaTeamIdInvited () |
| |
| 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 |
| |
| uint32 | GetSpellByProto (ItemTemplate *proto) |
| |
| 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 | ApplySpellDamageBonus (int32 amount, bool apply) |
| |
| void | ApplySpellHealingBonus (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) override |
| |
| void | UpdateDefenseBonusesMod () |
| |
| void | RecalculateRating (CombatRating cr) |
| |
| float | GetMeleeCritFromAgility () |
| |
| void | GetDodgeFromAgility (float &diminishing, float &nondiminishing) |
| |
| float | GetMissPercentageFromDefence () const |
| |
| float | GetSpellCritFromIntellect () |
| |
| float | OCTRegenHPPerSpirit () |
| |
| float | OCTRegenMPPerSpirit () |
| |
| float | GetRatingMultiplier (CombatRating cr) const |
| |
| float | GetRatingBonusValue (CombatRating cr) const |
| |
| uint32 | GetBaseSpellPowerBonus () |
| |
| uint32 | GetBaseSpellDamageBonus () |
| |
| uint32 | GetBaseSpellHealingBonus () |
| |
| int32 | GetSpellPenetrationItemMod () const |
| |
| 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 | UpdateManaRegen () |
| |
| void | UpdateEnergyRegen () |
| |
| void | UpdateRuneRegen (RuneType rune) |
| |
| ObjectGuid | GetLootGUID () const |
| |
| void | SetLootGUID (ObjectGuid guid) |
| |
| void | RemovedInsignia (Player *looterPlr) |
| |
| WorldSession * | GetSession () const |
| |
| void | SetSession (WorldSession *sess) |
| |
| void | BuildCreateUpdateBlockForPlayer (UpdateData *data, Player *target) 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) |
| |
| void | SendAttackSwingCantAttack () |
| |
| void | SendAttackSwingCancelAttack () |
| |
| void | SendAttackSwingDeadTarget () |
| |
| void | SendAttackSwingNotInRange () |
| |
| void | SendAttackSwingBadFacingAttack () |
| |
| void | SendAutoRepeatCancel (Unit *target) |
| |
| void | SendExplorationExperience (uint32 Area, uint32 Experience) |
| |
| void | SendDungeonDifficulty (bool IsInGroup) |
| |
| void | SendRaidDifficulty (bool IsInGroup, int32 forcedDifficulty=-1) |
| |
| void | SendResetInstanceSuccess (uint32 MapId) |
| |
| void | SendResetInstanceFailed (InstanceResetFailureReason reason, uint32 MapId) |
| |
| void | SendResetFailedNotify (uint32 mapid) |
| |
| bool | UpdatePosition (float x, float y, float z, float orientation, bool teleport=false) override |
| |
| bool | UpdatePosition (const Position &pos, bool teleport=false) |
| |
| void | ProcessTerrainStatusUpdate () override |
| |
| void | SendMessageToSet (WorldPacket const *data, bool self) const override |
| |
| void | SendMessageToSetInRange (WorldPacket const *data, float dist, bool self) const override |
| |
| void | SendMessageToSet (WorldPacket const *data, Player const *skipped_rcvr) const override |
| |
| void | SendTeleportAckPacket () |
| |
| Corpse * | GetCorpse () const |
| |
| void | SpawnCorpseBones (bool triggerSave=true) |
| |
| Corpse * | CreateCorpse () |
| |
| void | RemoveCorpse () |
| |
| void | KillPlayer () |
| |
| bool | HasCorpse () const |
| |
| WorldLocation | GetCorpseLocation () const |
| |
| uint32 | GetResurrectionSpellId () |
| |
| void | ResurrectPlayer (float restore_percent, bool applySickness=false) |
| |
| void | BuildPlayerRepop () |
| |
| void | RepopAtGraveyard () |
| |
| 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) |
| |
| uint32 | DurabilityRepairAll (bool cost, float discountMod, bool guildBank) |
| |
| uint32 | DurabilityRepair (uint16 pos, bool cost, float discountMod, bool guildBank) |
| |
| void | UpdateMirrorTimers () |
| |
| void | StopMirrorTimers () |
| |
| bool | IsMirrorTimerActive (MirrorTimerType type) |
| |
| bool | CanJoinConstantChannelInZone (ChatChannelsEntry const *channel, AreaTableEntry const *zone) |
| |
| void | JoinedChannel (Channel *c) |
| |
| void | LeftChannel (Channel *c) |
| |
| void | CleanupChannels () |
| |
| void | ClearChannelWatch () |
| |
| void | UpdateLFGChannel () |
| |
| void | UpdateLocalChannels (uint32 newZone) |
| |
| void | UpdateDefense () |
| |
| void | UpdateWeaponSkill (Unit *victim, WeaponAttackType attType, Item *item=nullptr) |
| |
| void | UpdateCombatSkills (Unit *victim, WeaponAttackType attType, bool defence, Item *item=nullptr) |
| |
| void | SetSkill (uint16 id, uint16 step, uint16 currVal, 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 (uint16 skill) const |
| |
| bool | HasSkill (uint32 skill) const |
| |
| void | learnSkillRewardedSpells (uint32 id, uint32 value) |
| |
| WorldLocation & | GetTeleportDest () |
| |
| bool | IsBeingTeleported () const |
| |
| bool | IsBeingTeleportedNear () const |
| |
| bool | IsBeingTeleportedFar () const |
| |
| void | SetSemaphoreTeleportNear (time_t tm) |
| |
| void | SetSemaphoreTeleportFar (time_t tm) |
| |
| time_t | GetSemaphoreTeleportNear () const |
| |
| time_t | GetSemaphoreTeleportFar () const |
| |
| void | ProcessDelayedOperations () |
| |
| uint32 | GetDelayedOperations () const |
| |
| void | ScheduleDelayedOperation (uint32 operation) |
| |
| void | CheckAreaExploreAndOutdoor () |
| |
| TeamId | GetTeamId (bool original=false) const |
| |
| void | SetFactionForRace (uint8 race) |
| |
| void | setTeamId (TeamId teamid) |
| |
| void | InitDisplayIds () |
| |
| bool | IsAtGroupRewardDistance (WorldObject const *pRewardSource) const |
| |
| bool | IsAtLootRewardDistance (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 *victim) const |
| |
| bool | GetsRecruitAFriendBonus (bool forXP) |
| |
| uint8 | GetGrantableLevels () |
| |
| void | SetGrantableLevels (uint8 val) |
| |
| ReputationMgr & | GetReputationMgr () |
| |
| ReputationMgr const & | GetReputationMgr () const |
| |
| ReputationRank | GetReputationRank (uint32 faction_id) const |
| |
| void | RewardReputation (Unit *victim) |
| |
| void | RewardReputation (Quest const *quest) |
| |
| float | CalculateReputationGain (ReputationSource source, uint32 creatureOrQuestLevel, float rep, int32 faction, bool noQuestBonus=false) |
| |
| void | UpdateSkillsForLevel () |
| |
| void | UpdateSkillsToMaxSkillsForLevel () |
| |
| void | ModifySkillBonus (uint32 skillid, int32 val, bool talent) |
| |
| void | RewardExtraBonusTalentPoints (uint32 bonusTalentPoints) |
| |
| void | UpdateHonorFields () |
| |
| bool | RewardHonor (Unit *victim, uint32 groupsize, int32 honor=-1, bool awardXP=true) |
| |
| 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 () |
| |
| SpellCooldowns | GetSpellCooldowns () const |
| |
| 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) |
| |
| void | SendCorpseReclaimDelay (uint32 delay) |
| |
| uint32 | GetShieldBlockValue () const override |
| |
| bool | CanParry () const |
| |
| void | SetCanParry (bool value) |
| |
| bool | CanBlock () const |
| |
| void | SetCanBlock (bool value) |
| |
| bool | CanTitanGrip () const |
| |
| void | SetCanTitanGrip (bool value) |
| |
| 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 () |
| |
| void | CastAllObtainSpells () |
| |
| void | ApplyItemObtainSpells (Item *item, bool apply) |
| |
| void | UpdateItemObtainSpells (Item *item, uint8 bag, uint8 slot) |
| |
| SpellSchoolMask | GetMeleeDamageSchoolMask (WeaponAttackType attackType=BASE_ATTACK, uint8 damageIndex=0) const override |
| |
| void | UpdateWeaponDependentAuras (WeaponAttackType attackType) |
| |
| void | ApplyItemDependentAuras (Item *item, bool apply) |
| |
| bool | CheckAttackFitToAuraRequirement (WeaponAttackType attackType, AuraEffect const *aurEff) const override |
| |
| void | UpdateWeaponDependentCritAuras (WeaponAttackType attackType) |
| |
| void | UpdateAllWeaponDependentCritAuras () |
| |
| void | _ApplyItemMods (Item *item, uint8 slot, bool apply) |
| |
| void | _RemoveAllItemMods () |
| |
| void | _ApplyAllItemMods () |
| |
| void | _ApplyAllLevelScaleItemMods (bool apply) |
| |
| void | _ApplyItemBonuses (ItemTemplate const *proto, uint8 slot, bool apply, bool only_level_scale=false) |
| |
| void | _ApplyWeaponDamage (uint8 slot, ItemTemplate const *proto, ScalingStatValuesEntry const *ssv, bool apply) |
| |
| void | _ApplyAmmoBonuses () |
| |
| bool | EnchantmentFitsRequirements (uint32 enchantmentcondition, int8 slot) |
| |
| 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 (Unit *target, WeaponAttackType attType, uint32 procVictim, uint32 procEx) |
| |
| void | CastItemUseSpell (Item *item, SpellCastTargets const &targets, uint8 cast_count, uint32 glyphIndex) |
| |
| void | CastItemCombatSpell (Unit *target, WeaponAttackType attType, uint32 procVictim, uint32 procEx, Item *item, ItemTemplate const *proto) |
| |
| void | SendEquipmentSetList () |
| |
| void | SetEquipmentSet (uint32 index, EquipmentSet 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 () |
| |
| void | SendBattlefieldWorldStates () |
| |
| void | GetAurasForTarget (Unit *target, bool force=false) |
| |
| void | SendLoot (ObjectGuid guid, LootType loot_type) |
| |
| void | SendLootError (ObjectGuid guid, LootError error) |
| |
| void | SendLootRelease (ObjectGuid guid) |
| |
| void | SendNotifyLootItemRemoved (uint8 lootSlot) |
| |
| void | SendNotifyLootMoneyRemoved () |
| |
| bool | InBattleground () const |
| |
| bool | InBattlefield () const |
| |
| bool | InArena () const |
| |
| uint32 | GetBattlegroundId () const |
| |
| BattlegroundTypeId | GetBattlegroundTypeId () const |
| |
| uint32 | GetCurrentBattlegroundQueueSlot () const |
| |
| bool | IsInvitedForBattlegroundInstance () const |
| |
| bool | IsCurrentBattlegroundRandom () const |
| |
| BGData & | GetBGData () |
| |
| void | SetBGData (BGData &bgdata) |
| |
| Battleground * | GetBattleground (bool create=false) 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 id, BattlegroundTypeId bgTypeId, uint32 queueSlot, bool invited, bool isRandom, TeamId teamId) |
| |
| uint32 | AddBattlegroundQueueId (BattlegroundQueueTypeId val) |
| |
| bool | HasFreeBattlegroundQueueId () const |
| |
| void | RemoveBattlegroundQueueId (BattlegroundQueueTypeId val) |
| |
| void | SetInviteForBattlegroundQueueType (BattlegroundQueueTypeId bgQueueTypeId, uint32 instanceId) |
| |
| bool | IsInvitedForBattlegroundInstance (uint32 instanceId) const |
| |
| TeamId | GetBgTeamId () const |
| |
| void | LeaveBattleground (Battleground *bg=nullptr) |
| |
| 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 () |
| |
| void | SetRandomWinner (bool isWinner) |
| |
| OutdoorPvP * | GetOutdoorPvP () const |
| |
| bool | IsOutdoorPvPActive () |
| |
| bool | IsImmuneToEnvironmentalDamage () |
| |
| uint32 | EnvironmentalDamage (EnviromentalDamage type, uint32 damage) |
| |
| void | UpdateSpeakTime (ChatFloodThrottle::Index index) |
| |
| bool | CanSpeak () const |
| |
| 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) |
| |
| void | SetClientControl (Unit *target, bool allowMove, bool packetOnly=false) |
| |
| void | SetMover (Unit *target) |
| |
| void | SetSeer (WorldObject *target) |
| |
| WorldObject * | GetSeer () const |
| |
| void | SetViewpoint (WorldObject *target, bool apply) |
| |
| WorldObject * | GetViewpoint () const |
| |
| Position const & | GetSightPosition () const |
| |
| void | StopCastingCharm (Aura *except=nullptr) |
| |
| void | StopCastingBindSight (Aura *except=nullptr) |
| |
| uint32 | GetSaveTimer () const |
| |
| void | SetSaveTimer (uint32 timer) |
| |
| void | SaveRecallPosition () |
| |
| void | SetHomebind (WorldLocation const &loc, uint32 areaId) |
| |
| WorldLocation | GetStartPosition () const |
| |
| WorldLocation const & | GetEntryPoint () const |
| |
| void | SetEntryPoint () |
| |
| bool | HaveAtClient (WorldObject const *u) const |
| |
| bool | HaveAtClient (ObjectGuid guid) const |
| |
| bool | IsNeverVisible () const override |
| |
| bool | IsVisibleGloballyFor (Player const *player) const |
| |
| void | GetInitialVisiblePackets (Unit *target) |
| |
| void | UpdateVisibilityForPlayer (bool mapChange=false) |
| |
| void | UpdateVisibilityOf (WorldObject *target) |
| |
| void | UpdateTriggerVisibility () |
| |
| template<class T > |
| void | UpdateVisibilityOf (T *target, UpdateData &data, std::vector< Unit * > &visibleNow) |
| |
| bool | HasAtLoginFlag (AtLoginFlags f) const |
| |
| void | SetAtLoginFlag (AtLoginFlags f) |
| |
| void | RemoveAtLoginFlag (AtLoginFlags flags, bool persist=false) |
| |
| bool | IsUsingLfg () |
| |
| bool | inRandomLfgDungeon () |
| |
| uint32 | GetTemporaryUnsummonedPetNumber () const |
| |
| void | SetTemporaryUnsummonedPetNumber (uint32 petnumber) |
| |
| void | UnsummonPetTemporaryIfAny () |
| |
| void | ResummonPetTemporaryUnSummonedIfAny () |
| |
| bool | IsPetNeedBeTemporaryUnsummoned () const |
| |
| bool | CanResummonPet (uint32 spellid) |
| |
| void | SendCinematicStart (uint32 CinematicSequenceId) const |
| |
| void | SendMovieStart (uint32 MovieId) |
| |
| uint32 | DoRandomRoll (uint32 minimum, uint32 maximum) |
| |
| uint16 | GetMaxSkillValueForLevel () const |
| |
| bool | IsFFAPvP () |
| |
| bool | IsPvP () |
| |
| void | UpdateHomebindTime (uint32 time) |
| |
| void | BindToInstance () |
| |
| void | SetPendingBind (uint32 instanceId, uint32 bindTimer) |
| |
| bool | HasPendingBind () const |
| |
| uint32 | GetPendingBind () const |
| |
| void | SendRaidInfo () |
| |
| void | SendSavedInstances () |
| |
| void | PrettyPrintRequirementsQuestList (const std::vector< const ProgressionRequirement * > &missingQuests) const |
| |
| void | PrettyPrintRequirementsAchievementsList (const std::vector< const ProgressionRequirement * > &missingAchievements) const |
| |
| void | PrettyPrintRequirementsItemsList (const std::vector< const ProgressionRequirement * > &missingItems) const |
| |
| bool | Satisfy (DungeonProgressionRequirements const *ar, uint32 target_map, bool report=false) |
| |
| bool | CheckInstanceLoginValid () |
| |
| bool | CheckInstanceCount (uint32 instanceId) const |
| |
| void | AddInstanceEnterTime (uint32 instanceId, time_t enterTime) |
| |
| uint32 | GetLastPetNumber () const |
| |
| void | SetLastPetNumber (uint32 petnumber) |
| |
| uint32 | GetLastPetSpell () const |
| |
| void | SetLastPetSpell (uint32 petspell) |
| |
| Group * | GetGroupInvite () |
| |
| void | SetGroupInvite (Group *group) |
| |
| Group * | GetGroup () |
| |
| const Group * | GetGroup () const |
| |
| GroupReference & | GetGroupRef () |
| |
| void | SetGroup (Group *group, int8 subgroup=-1) |
| |
| uint8 | GetSubGroup () const |
| |
| uint32 | GetGroupUpdateFlag () const |
| |
| void | SetGroupUpdateFlag (uint32 flag) |
| |
| uint64 | GetAuraUpdateMaskForRaid () const |
| |
| void | SetAuraUpdateMaskForRaid (uint8 slot) |
| |
| Player * | GetNextRandomRaidMember (float radius) |
| |
| PartyResult | CanUninviteFromGroup (ObjectGuid targetPlayerGUID=ObjectGuid::Empty) const |
| |
| void | SetBattlegroundOrBattlefieldRaid (Group *group, int8 subgroup=-1) |
| |
| void | RemoveFromBattlegroundOrBattlefieldRaid () |
| |
| Group * | GetOriginalGroup () |
| |
| GroupReference & | GetOriginalGroupRef () |
| |
| uint8 | GetOriginalSubGroup () const |
| |
| void | SetOriginalGroup (Group *group, int8 subgroup=-1) |
| |
| void | SetPassOnGroupLoot (bool bPassOnGroupLoot) |
| |
| bool | GetPassOnGroupLoot () const |
| |
| MapReference & | GetMapRef () |
| |
| void | SetMap (Map *map) override |
| |
| void | ResetMap () override |
| |
| bool | CanTeleport () |
| |
| void | SetCanTeleport (bool value) |
| |
| bool | CanKnockback () |
| |
| void | SetCanKnockback (bool value) |
| |
| bool | isAllowedToLoot (Creature const *creature) |
| |
| DeclinedName const * | GetDeclinedNames () const |
| |
| uint8 | GetRunesState () const |
| |
| RuneType | GetBaseRune (uint8 index) const |
| |
| RuneType | GetCurrentRune (uint8 index) const |
| |
| uint32 | GetRuneCooldown (uint8 index) const |
| |
| uint32 | GetGracePeriod (uint8 index) const |
| |
| uint32 | GetRuneBaseCooldown (uint8 index, bool skipGrace) |
| |
| bool | IsBaseRuneSlotsOnCooldown (RuneType runeType) const |
| |
| RuneType | GetLastUsedRune () |
| |
| void | SetLastUsedRune (RuneType type) |
| |
| void | SetBaseRune (uint8 index, RuneType baseRune) |
| |
| void | SetCurrentRune (uint8 index, RuneType currentRune) |
| |
| void | SetRuneCooldown (uint8 index, uint32 cooldown) |
| |
| void | SetGracePeriod (uint8 index, uint32 period) |
| |
| void | SetRuneConvertAura (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 (uint8 count) |
| |
| void | AddRunePower (uint8 index) |
| |
| void | InitRunes () |
| |
| void | SendRespondInspectAchievements (Player *player) const |
| |
| bool | HasAchieved (uint32 achievementId) const |
| |
| void | ResetAchievements () |
| |
| void | CheckAllAchievementCriteria () |
| |
| void | ResetAchievementCriteria (AchievementCriteriaCondition condition, uint32 value, bool evenIfCriteriaComplete=false) |
| |
| void | UpdateAchievementCriteria (AchievementCriteriaTypes type, uint32 miscValue1=0, uint32 miscValue2=0, Unit *unit=nullptr) |
| |
| void | StartTimedAchievement (AchievementCriteriaTimedTypes type, uint32 entry, uint32 timeLost=0) |
| |
| void | RemoveTimedAchievement (AchievementCriteriaTimedTypes type, uint32 entry) |
| |
| void | CompletedAchievement (AchievementEntry const *entry) |
| |
| AchievementMgr * | GetAchievementMgr () const |
| |
| void | SetCreationTime (Seconds creationTime) |
| |
| Seconds | GetCreationTime () const |
| |
| bool | HasTitle (uint32 bitIndex) const |
| |
| bool | HasTitle (CharTitlesEntry const *title) const |
| |
| void | SetTitle (CharTitlesEntry const *title, bool lost=false) |
| |
| void | SetCurrentTitle (CharTitlesEntry const *title, bool clear=false) |
| |
| bool | CanSeeSpellClickOn (Creature const *creature) const |
| |
| bool | CanSeeObjectByVisibilityConditions (WorldObject const *object) const |
| |
| bool | CanSeeVendor (Creature const *creature) const |
| |
| bool | CanSeeTrainer (Creature const *creature) const |
| |
| uint32 | GetChampioningFaction () const |
| |
| void | SetChampioningFaction (uint32 faction) |
| |
| float | GetAverageItemLevel () |
| |
| float | GetTotalItemLevel () const |
| |
| float | GetAverageItemLevelForDF () |
| |
| void | ClearWhisperWhiteList () |
| |
| void | AddWhisperWhiteList (ObjectGuid guid) |
| |
| bool | IsInWhisperWhiteList (ObjectGuid guid) |
| |
| void | RemoveFromWhisperWhiteList (ObjectGuid guid) |
| |
| bool | CanFly () const override |
| |
| bool | CanEnterWater () const override |
| |
| bool | IsFreeFlying () const |
| |
| void | AdditionalSavingAddMask (uint8 mask) |
| |
| bool | IsSpectator () const |
| |
| void | SetIsSpectator (bool on) |
| |
| bool | NeedSendSpectatorData () const |
| |
| void | SetPendingSpectatorForBG (uint32 bgInstanceId) |
| |
| bool | HasPendingSpectatorForBG (uint32 bgInstanceId) const |
| |
| void | SetPendingSpectatorInviteInstanceId (uint32 bgInstanceId) |
| |
| uint32 | GetPendingSpectatorInviteInstanceId () const |
| |
| bool | HasReceivedSpectatorResetFor (ObjectGuid guid) |
| |
| void | ClearReceivedSpectatorResetFor () |
| |
| void | AddReceivedSpectatorResetFor (ObjectGuid guid) |
| |
| void | RemoveReceivedSpectatorResetFor (ObjectGuid guid) |
| |
| void | setRuneWeaponGUID (ObjectGuid guid) |
| |
| ObjectGuid | getRuneWeaponGUID () |
| |
| bool | CanSeeDKPet () const |
| |
| void | SetShowDKPet (bool on) |
| |
| void | PrepareCharmAISpells () |
| |
| bool | NeedToSaveGlyphs () |
| |
| void | SetNeedToSaveGlyphs (bool val) |
| |
| uint32 | GetMountBlockId () |
| |
| void | SetMountBlockId (uint32 mount) |
| |
| float | GetRealParry () const |
| |
| float | GetRealDodge () const |
| |
| const PlayerTalentMap & | GetTalentMap () const |
| |
| uint32 | GetNextSave () const |
| |
| SpellModContainer const & | GetSpellModList (uint32 type) const |
| |
| void | SetServerSideVisibility (ServerSideVisibilityType type, AccountTypes sec) |
| |
| void | SetServerSideVisibilityDetect (ServerSideVisibilityType type, AccountTypes sec) |
| |
| void | SetFarSightDistance (float radius) |
| |
| void | ResetFarSightDistance () |
| |
| Optional< float > | GetFarSightDistance () const |
| |
| float | GetSightRange (WorldObject const *target=nullptr) const override |
| |
| bool | IsWorldObjectOutOfSightRange (WorldObject const *target) const |
| |
| std::string | GetPlayerName () |
| |
| PlayerSetting | GetPlayerSetting (std::string const &source, uint32 index) |
| |
| void | UpdatePlayerSetting (std::string const &source, uint32 index, uint32 value) |
| |
| void | SendSystemMessage (std::string_view msg, bool escapeCharacters=false) |
| |
| std::string | GetDebugInfo () const override |
| |
| bool | IsExpectingChangeTransport () const |
| |
| void | SetExpectingChangeTransport (bool state) |
| |
| uint32 | GetPendingFlightChange () const |
| |
| void | SetPendingFlightChange (uint32 counter) |
| |
| void | SetMapChangeOrderCounter () |
| |
| uint32 | GetMapChangeOrderCounter () |
| |
| const PendingSpellCastRequest * | GetCastRequest (uint32 category) const |
| |
| bool | CanExecutePendingSpellCastRequest (SpellInfo const *spellInfo) |
| |
| void | ExecuteOrCancelSpellCastRequest (PendingSpellCastRequest *castRequest, bool isCancel=false) |
| |
| bool | CanRequestSpellCast (SpellInfo const *spellInfo) |
| |
| | ~Unit () override |
| |
| void | Update (uint32 time) override |
| |
| UnitAI * | GetAI () |
| |
| void | SetAI (UnitAI *newAI) |
| |
| void | AddToWorld () override |
| |
| void | RemoveFromWorld () override |
| |
| void | CleanupBeforeRemoveFromMap (bool finalCleanup) |
| |
| void | CleanupsBeforeDelete (bool finalCleanup=true) override |
| |
| bool | IsDuringRemoveFromWorld () const |
| |
| void | SetUInt32Value (uint16 index, uint32 value) |
| |
| Unit * | GetOwner () const |
| |
| ObjectGuid | GetOwnerGUID () const |
| |
| void | SetOwnerGUID (ObjectGuid owner) |
| |
| ObjectGuid | GetCreatorGUID () const |
| |
| void | SetCreatorGUID (ObjectGuid creator) |
| |
| ObjectGuid | GetMinionGUID () const |
| |
| void | SetMinionGUID (ObjectGuid guid) |
| |
| ObjectGuid | GetCharmerGUID () const |
| |
| void | SetCharmerGUID (ObjectGuid owner) |
| |
| ObjectGuid | GetCharmGUID () const |
| |
| void | SetPetGUID (ObjectGuid guid) |
| |
| ObjectGuid | GetPetGUID () const |
| |
| void | SetCritterGUID (ObjectGuid guid) |
| |
| ObjectGuid | GetCritterGUID () const |
| |
| ObjectGuid | GetTransGUID () const override |
| |
| Pet * | ToPet () |
| |
| Totem * | ToTotem () |
| |
| TempSummon * | ToTempSummon () |
| |
| const TempSummon * | ToTempSummon () const |
| |
| void | AddUnitState (uint32 f) |
| |
| bool | HasUnitState (const uint32 f) const |
| |
| void | ClearUnitState (uint32 f) |
| |
| uint32 | GetUnitState () const |
| |
| uint32 | HasUnitTypeMask (uint32 mask) const |
| |
| void | AddUnitTypeMask (uint32 mask) |
| |
| uint32 | GetUnitTypeMask () const |
| |
| UnitFlags | GetUnitFlags () const |
| |
| bool | HasUnitFlag (UnitFlags flags) const |
| |
| void | SetUnitFlag (UnitFlags flags) |
| | UnitFlags available in UnitDefines.h.
|
| |
| void | RemoveUnitFlag (UnitFlags flags) |
| | UnitFlags available in UnitDefines.h.
|
| |
| void | ReplaceAllUnitFlags (UnitFlags flags) |
| | Remove the Unit flag specify only.
|
| |
| UnitFlags2 | GetUnitFlags2 () const |
| | Remove all UnitFlags and set new ones. UnitFlags available in UnitDefines.h.
|
| |
| bool | HasUnitFlag2 (UnitFlags2 flags) const |
| |
| void | SetUnitFlag2 (UnitFlags2 flags) |
| |
| void | RemoveUnitFlag2 (UnitFlags2 flags) |
| |
| void | ReplaceAllUnitFlags2 (UnitFlags2 flags) |
| |
| void | SetEmoteState (Emote emoteState) |
| |
| void | ClearEmoteState () |
| | Sets emote state (looping emote). Emotes available in SharedDefines.h.
|
| |
| NPCFlags | GetNpcFlags () const |
| | Clears emote state (looping emote)
|
| |
| bool | HasNpcFlag (NPCFlags flags) const |
| |
| void | SetNpcFlag (NPCFlags flags) |
| |
| void | RemoveNpcFlag (NPCFlags flags) |
| |
| void | ReplaceAllNpcFlags (NPCFlags flags) |
| |
| uint32 | GetDynamicFlags () const override |
| |
| void | ReplaceAllDynamicFlags (uint32 flag) override |
| |
| void | AddUnitMovementFlag (uint32 f) |
| |
| void | RemoveUnitMovementFlag (uint32 f) |
| |
| bool | HasUnitMovementFlag (uint32 f) const |
| |
| uint32 | GetUnitMovementFlags () const |
| |
| void | SetUnitMovementFlags (uint32 f) |
| |
| void | AddExtraUnitMovementFlag (uint16 f) |
| |
| void | RemoveExtraUnitMovementFlag (uint16 f) |
| |
| uint16 | HasExtraUnitMovementFlag (uint16 f) const |
| |
| uint16 | GetExtraUnitMovementFlags () const |
| |
| void | SetExtraUnitMovementFlags (uint16 f) |
| |
| bool | IsCrowdControlled () const |
| |
| bool | IsImmobilizedState () const |
| |
| void | SetAnimTier (AnimTier animTier) |
| |
| bool | IsSummon () const |
| |
| bool | IsGuardian () const |
| |
| bool | IsControllableGuardian () const |
| |
| bool | IsPet () const |
| |
| bool | IsHunterPet () const |
| |
| bool | IsTotem () const |
| |
| bool | IsVehicle () const |
| |
| 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 |
| |
| uint32 | GetCreatureType () const |
| |
| uint32 | GetCreatureTypeMask () const |
| |
| bool | IsCritter () const |
| |
| uint8 | getRace (bool original=false) const |
| |
| void | setRace (uint8 race) |
| |
| uint32 | getRaceMask () const |
| |
| DisplayRace | GetDisplayRaceFromModelId (uint32 modelId) const |
| |
| DisplayRace | GetDisplayRace () const |
| |
| uint8 | getClass () const |
| |
| uint32 | getClassMask () const |
| |
| uint8 | getGender () const |
| |
| uint32 | GetFaction () const |
| |
| FactionTemplateEntry const * | GetFactionTemplateEntry () const |
| |
| void | SetFaction (uint32 faction) |
| |
| void | RestoreFaction () |
| |
| uint32 | GetOldFactionId () const |
| |
| ObjectGuid | GetTarget () const |
| |
| bool | isTargetableForAttack (bool checkFakeDeath=true, Unit const *byWho=nullptr) const |
| |
| bool | IsValidAttackTarget (Unit const *target, SpellInfo const *bySpell=nullptr) const |
| |
| bool | _IsValidAttackTarget (Unit const *target, SpellInfo const *bySpell, WorldObject const *obj=nullptr) const |
| |
| bool | IsValidAssistTarget (Unit const *target) const |
| |
| bool | _IsValidAssistTarget (Unit const *target, SpellInfo const *bySpell) const |
| |
| bool | IsClientControlled (Player const *exactClient=nullptr) const |
| |
| Player const * | GetClientControlling () const |
| |
| float | GetBoundaryRadius () const |
| |
| float | GetCombatReach () const override |
| |
| float | GetMeleeReach () const |
| |
| bool | IsWithinRange (Unit const *obj, float dist) const |
| |
| bool | IsWithinBoundaryRadius (const Unit *obj) const |
| |
| bool | IsWithinCombatRange (Unit const *obj, float dist2compare) const |
| |
| bool | IsWithinMeleeRange (Unit const *obj, float dist=0.f) const |
| |
| float | GetMeleeRange (Unit const *target) const |
| |
| void | setAttackTimer (WeaponAttackType type, int32 time) |
| |
| void | resetAttackTimer (WeaponAttackType type=BASE_ATTACK) |
| |
| int32 | getAttackTimer (WeaponAttackType type) const |
| |
| bool | isAttackReady (WeaponAttackType type=BASE_ATTACK) const |
| |
| bool | GetRandomContactPoint (Unit const *target, float &x, float &y, float &z, bool force=false) const |
| |
| Unit * | getAttackerForHelper () const |
| |
| bool | Attack (Unit *victim, bool meleeAttack) |
| |
| void | CastStop (uint32 except_spellid=0, bool withInstant=true) |
| | Interrupt the unit cast for all the current spells.
|
| |
| bool | AttackStop () |
| | Force the unit to stop attacking. This will clear UNIT_STATE_MELEE_ATTACKING, Interrupt current spell, AI assistance, and call SendMeleeAttackStop() to the client.
|
| |
| void | RemoveAllAttackers () |
| | Remove all units in m_attackers list and send them AttackStop()
|
| |
| AttackerSet const & | getAttackers () const |
| |
| bool | GetMeleeAttackPoint (Unit *attacker, Position &pos) |
| |
| bool | isAttackingPlayer () const |
| |
| Unit * | GetVictim () const |
| |
| void | CombatStop (bool includingCast=false, bool mutualPvP=true) |
| |
| void | CombatStopWithPets (bool includingCast=false) |
| |
| void | StopAttackFaction (uint32 faction_id) |
| |
| void | StopAttackingInvalidTarget () |
| |
| Unit * | SelectNearbyTarget (Unit *exclude=nullptr, float dist=NOMINAL_MELEE_RANGE) const |
| |
| Unit * | SelectNearbyNoTotemTarget (Unit *exclude=nullptr, float dist=NOMINAL_MELEE_RANGE) const |
| |
| void | SendMeleeAttackStop (Unit *victim=nullptr) |
| | Send to the client SMSG_ATTACKSTOP but doesn't clear UNIT_STATE_MELEE_ATTACKING on server side or interrupt spells. Unless you know exactly what you're doing, use AttackStop() or RemoveAllAttackers() instead.
|
| |
| void | SendMeleeAttackStart (Unit *victim, Player *sendTo=nullptr) |
| |
| 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 | SetImmuneToAll (bool apply, bool keepCombat=false) |
| |
| bool | IsImmuneToAll () const |
| |
| void | SetImmuneToPC (bool apply, bool keepCombat=false) |
| |
| bool | IsImmuneToPC () const |
| |
| void | SetImmuneToNPC (bool apply, bool keepCombat=false) |
| |
| bool | IsImmuneToNPC () const |
| |
| virtual bool | IsEngaged () const |
| |
| bool | IsEngagedBy (Unit const *who) const |
| |
| void | EngageWithTarget (Unit *who) |
| |
| bool | IsInCombat () const |
| |
| bool | IsInCombatWith (Unit const *who) const |
| |
| bool | IsPetInCombat () const |
| |
| void | SetInCombatWith (Unit *enemy, bool addSecondUnitSuppressed=false) |
| |
| void | ClearInCombat () |
| |
| void | ClearInPetCombat () |
| |
| uint32 | GetCombatTimer () const |
| |
| void | SetCombatTimer (uint32 timer) |
| |
| bool | CanHaveThreatList (bool skipAliveCheck=false) const |
| |
| void | AddThreat (Unit *victim, float fThreat, SpellSchoolMask schoolMask=SPELL_SCHOOL_MASK_NORMAL, SpellInfo const *threatSpell=nullptr) |
| |
| void | AtTargetAttacked (Unit *target, bool canInitialAggro) |
| |
| ThreatManager & | GetThreatMgr () |
| |
| ThreatManager const & | GetThreatMgr () const |
| |
| CombatManager & | GetCombatManager () |
| |
| CombatManager const & | GetCombatManager () const |
| |
| bool | IsThreatened () const |
| |
| bool | IsThreatenedBy (Unit const *who) const |
| |
| void | UpdatePetCombatState () |
| |
| virtual void | AtEnterCombat () |
| |
| virtual void | AtEngage (Unit *target) |
| |
| virtual void | AtDisengage () |
| |
| bool | IsCombatDisallowed () const |
| |
| void | SetIsCombatDisallowed (bool value) |
| |
| void | SetLastDamagedTargetGuid (ObjectGuid const &guid) |
| |
| ObjectGuid const & | GetLastDamagedTargetGuid () const |
| |
| void | AttackerStateUpdate (Unit *victim, WeaponAttackType attType=BASE_ATTACK, bool extra=false, bool ignoreCasting=false) |
| |
| bool | haveOffhandWeapon () const |
| |
| bool | CanDualWield () const |
| |
| virtual void | SetCanDualWield (bool value) |
| |
| virtual void | SetDualWieldMode (DualWieldMode mode) |
| |
| bool | HasMainhandWeapon () const |
| |
| bool | HasOffhandWeapon () const |
| |
| bool | HasRangedWeapon () const |
| |
| bool | hasMainhandWeaponForAttack () const |
| |
| bool | HasMainhandWeaponForAttack () const |
| |
| bool | HasOffhandWeaponForAttack () const |
| |
| bool | HasRangedWeaponForAttack () const |
| |
| bool | CanUseAttackType (WeaponAttackType attacktype) const |
| |
| void | HandleProcExtraAttackFor (Unit *victim, uint32 count) |
| |
| void | SetLastExtraAttackSpell (uint32 spellId) |
| |
| uint32 | GetLastExtraAttackSpell () const |
| |
| void | AddExtraAttacks (uint32 count) |
| |
| uint8 | GetComboPoints (Unit const *who=nullptr) const |
| |
| uint8 | GetComboPoints (ObjectGuid const &guid) const |
| |
| Unit * | GetComboTarget () const |
| |
| ObjectGuid const | GetComboTargetGUID () const |
| |
| void | AddComboPoints (Unit *target, int8 count) |
| |
| void | AddComboPoints (int8 count) |
| |
| void | ClearComboPoints () |
| |
| void | AddComboPointHolder (Unit *unit) |
| |
| void | RemoveComboPointHolder (Unit *unit) |
| |
| void | ClearComboPointHolders () |
| |
| void | SetContestedPvP (Player *attackedPlayer=nullptr, bool lookForNearContestedGuards=true) |
| |
| bool | IsContestedGuard () const |
| |
| bool | RespondsToCallForHelp () const |
| |
| bool | IsInSanctuary () const |
| |
| bool | IsPvP () const |
| |
| bool | IsFFAPvP () const |
| |
| void | SetPvP (bool state) |
| |
| float | GetStat (Stats stat) const |
| |
| void | SetStat (Stats stat, int32 val) |
| |
| Stats | GetStatByAuraGroup (UnitMods unitMod) const |
| |
| float | GetCreateStat (Stats stat) const |
| |
| void | SetCreateStat (Stats stat, float val) |
| |
| float | GetPosStat (Stats stat) const |
| |
| float | GetNegStat (Stats stat) const |
| |
| void | InitStatBuffMods () |
| |
| bool | 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, float additionalValue=0.0f) const |
| |
| void | SetCanModifyStats (bool modifyStats) |
| |
| bool | CanModifyStats () const |
| |
| void | UpdateStatBuffMod (Stats stat) |
| |
| uint8 | GetLevel () const |
| |
| uint8 | getLevelForTarget (WorldObject const *) const override |
| |
| void | SetLevel (uint8 lvl, bool showLevelChange=true) |
| |
| uint32 | GetHealth () const |
| |
| uint32 | GetMaxHealth () const |
| |
| float | GetHealthPct () const |
| |
| int32 | GetHealthGain (int32 dVal) |
| |
| uint32 | GetCreateHealth () 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 |
| |
| uint32 | CountPctFromMaxHealth (int32 pct) const |
| |
| uint32 | CountPctFromCurHealth (int32 pct) const |
| |
| void | SetHealth (uint32 val) |
| |
| void | SetMaxHealth (uint32 val) |
| |
| void | SetFullHealth () |
| |
| int32 | ModifyHealth (int32 val) |
| |
| void | SetCreateHealth (uint32 val) |
| |
| Powers | getPowerType () const |
| |
| Powers | GetPowerTypeByAuraGroup (UnitMods unitMod) const |
| |
| uint32 | GetPower (Powers power) const |
| |
| uint32 | GetMaxPower (Powers power) const |
| |
| float | GetPowerPct (Powers power) const |
| |
| uint32 | GetCreatePowers (Powers power) const |
| |
| void | setPowerType (Powers power) |
| |
| void | SetPower (Powers power, uint32 val, bool withPowerUpdate=true, bool fromRegenerate=false) |
| |
| void | SetMaxPower (Powers power, uint32 val) |
| |
| int32 | ModifyPower (Powers power, int32 val, bool withPowerUpdate=true) |
| |
| void | RewardRage (uint32 damage, uint32 weaponSpeedHitFactor, bool attacker) |
| |
| uint32 | GetCreateMana () const |
| |
| void | SetCreateMana (uint32 val) |
| |
| bool | CanRestoreMana (SpellInfo const *spellInfo) const |
| |
| void | SetLastManaUse (uint32 spellCastTime) |
| |
| bool | IsUnderLastManaUseEffect () const |
| |
| float | GetAPMultiplier (WeaponAttackType attType, bool normalized) |
| |
| uint32 | GetArmor () const |
| |
| void | SetArmor (int32 val) |
| |
| float | GetUnitDodgeChance () const |
| |
| float | GetUnitParryChance () const |
| |
| float | GetUnitBlockChance () const |
| |
| float | GetUnitMissChance (WeaponAttackType attType) const |
| |
| float | GetUnitCriticalChance (WeaponAttackType attackType, Unit const *victim) const |
| |
| MeleeHitOutcome | RollMeleeOutcomeAgainst (Unit const *victim, WeaponAttackType attType) const |
| |
| MeleeHitOutcome | RollMeleeOutcomeAgainst (Unit const *victim, WeaponAttackType attType, int32 crit_chance, int32 miss_chance, int32 dodge_chance, int32 parry_chance, int32 block_chance) const |
| |
| bool | CanApplyResilience () const |
| |
| uint32 | GetShieldBlockValue (uint32 soft_cap, uint32 hard_cap) const |
| |
| uint32 | GetUnitMeleeSkill (Unit const *target=nullptr) const |
| |
| uint32 | GetDefenseSkillValue (Unit const *target=nullptr) const |
| |
| uint32 | GetWeaponSkillValue (WeaponAttackType attType, Unit const *target=nullptr) const |
| |
| int32 | GetMechanicResistChance (SpellInfo const *spell) |
| |
| uint32 | GetResistance (SpellSchoolMask mask) const |
| |
| uint32 | GetResistance (SpellSchools school) const |
| |
| void | SetResistance (SpellSchools school, int32 val) |
| |
| void | UpdateResistanceBuffModsMod (SpellSchools school) |
| |
| uint16 | GetMaxSkillValueForLevel (Unit const *target=nullptr) const |
| |
| float | GetTotalAuraModValue (UnitMods unitMod) const |
| |
| SpellSchools | GetSpellSchoolByAuraGroup (UnitMods unitMod) const |
| |
| float | GetTotalAttackPowerValue (WeaponAttackType attType, Unit *pVictim=nullptr) const |
| |
| float | GetWeaponDamageRange (WeaponAttackType attType, WeaponDamageRange type, uint8 damageIndex=0) const |
| |
| void | SetBaseWeaponDamage (WeaponAttackType attType, WeaponDamageRange damageRange, float value, uint8 damageIndex=0) |
| |
| virtual void | UpdateAllResistances () |
| |
| virtual void | UpdateDamagePhysical (WeaponAttackType attType) |
| |
| void | DealMeleeDamage (CalcDamageInfo *damageInfo, bool durabilityLoss) |
| |
| void | DealSpellDamage (SpellNonMeleeDamage *damageInfo, bool durabilityLoss, Spell const *spell=nullptr) |
| |
| void | DealDamageShieldDamage (Unit *victim) |
| |
| void | KillSelf (bool durabilityLoss=true, WeaponAttackType attackType=BASE_ATTACK, SpellInfo const *spellProto=nullptr, Spell const *spell=nullptr) |
| |
| uint32 | CalculateDamage (WeaponAttackType attType, bool normalized, bool addTotalPct, uint8 itemDamagesMask=0) |
| |
| void | CalculateMeleeDamage (Unit *victim, CalcDamageInfo *damageInfo, WeaponAttackType attackType=BASE_ATTACK, const bool sittingVictim=false) |
| |
| void | CalculateSpellDamageTaken (SpellNonMeleeDamage *damageInfo, int32 damage, SpellInfo const *spellInfo, WeaponAttackType attackType=BASE_ATTACK, bool crit=false) |
| |
| int32 | CalculateSpellDamage (Unit const *target, SpellInfo const *spellProto, uint8 effect_index, int32 const *basePoints=nullptr) const |
| |
| float | CalculateDefaultCoefficient (SpellInfo const *spellInfo, 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) |
| |
| int32 | SpellBaseDamageBonusDone (SpellSchoolMask schoolMask) |
| |
| int32 | SpellBaseDamageBonusTaken (SpellSchoolMask schoolMask, bool isDoT=false) |
| |
| float | SpellPctDamageModsDone (Unit *victim, SpellInfo const *spellProto, DamageEffectType damagetype) |
| |
| uint32 | SpellDamageBonusDone (Unit *victim, SpellInfo const *spellProto, uint32 pdamage, DamageEffectType damagetype, uint8 effIndex, float TotalMod=0.0f, uint32 stack=1) |
| |
| uint32 | SpellDamageBonusTaken (Unit *caster, SpellInfo const *spellProto, uint32 pdamage, DamageEffectType damagetype, uint32 stack=1) |
| |
| int32 | CalculateAOEDamageReduction (int32 damage, uint32 schoolMask, bool npcCaster) const |
| |
| uint32 | GetMeleeDamageReduction (uint32 damage) const |
| |
| uint32 | GetRangedDamageReduction (uint32 damage) const |
| |
| uint32 | GetSpellDamageReduction (uint32 damage) const |
| |
| float | GetMeleeCritChanceReduction () const |
| |
| float | GetRangedCritChanceReduction () const |
| |
| float | GetSpellCritChanceReduction () const |
| |
| uint32 | GetMeleeCritDamageReduction (uint32 damage) const |
| |
| uint32 | GetRangedCritDamageReduction (uint32 damage) const |
| |
| uint32 | GetSpellCritDamageReduction (uint32 damage) const |
| |
| CharmInfo * | GetCharmInfo () |
| |
| CharmInfo * | InitCharmInfo () |
| |
| Unit * | GetCharmer () const |
| |
| Unit * | GetCharm () const |
| |
| Unit * | GetCharmerOrOwner () const |
| |
| Unit * | GetCharmerOrOwnerOrSelf () const |
| |
| Player * | GetCharmerOrOwnerPlayerOrPlayerItself () const |
| |
| ObjectGuid | GetCharmerOrOwnerGUID () const |
| |
| ObjectGuid | GetCharmerOrOwnerOrOwnGUID () const |
| |
| Player * | GetAffectingPlayer () const |
| |
| Unit * | GetFirstControlled () const |
| |
| bool | IsControlledByPlayer () const |
| |
| bool | IsCreatedByPlayer () const |
| |
| bool | IsCharmedOwnedByPlayerOrPlayer () const |
| |
| bool | IsCharmed () const |
| |
| bool | isPossessed () const |
| |
| bool | isPossessedByPlayer () const |
| |
| bool | isPossessing () const |
| |
| bool | isPossessing (Unit *u) const |
| |
| void | SetCharm (Unit *target, bool apply) |
| |
| bool | SetCharmedBy (Unit *charmer, CharmType type, AuraApplication const *aurApp=nullptr) |
| |
| void | UpdateCharmAI () |
| |
| void | RemoveCharmedBy (Unit *charmer) |
| |
| void | RemoveCharmAuras () |
| |
| void | RemoveAllControlled (bool onDeath=false) |
| |
| void | DeleteCharmInfo () |
| |
| void | BuildCooldownPacket (WorldPacket &data, uint8 flags, uint32 spellId, uint32 cooldown) |
| |
| void | BuildCooldownPacket (WorldPacket &data, uint8 flags, PacketCooldowns const &cooldowns) |
| |
| Aura * | AddAura (uint32 spellId, Unit *target) |
| |
| Aura * | AddAura (SpellInfo const *spellInfo, uint8 effMask, Unit *target) |
| |
| void | SetAuraStack (uint32 spellId, Unit *target, uint32 stack) |
| |
| 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) |
| |
| Aura * | _TryStackingOrRefreshingExistingAura (SpellInfo const *newAura, uint8 effMask, Unit *caster, int32 *baseAmount=nullptr, Item *castItem=nullptr, ObjectGuid casterGUID=ObjectGuid::Empty, bool periodicReset=false) |
| |
| 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 | _RemoveNoStackAuraApplicationsDueToAura (Aura *aura) |
| |
| void | _RemoveNoStackAurasDueToAura (Aura *aura, bool owned) |
| |
| bool | _IsNoStackAuraDueToAura (Aura *appliedAura, Aura *existingAura) const |
| |
| void | _RegisterAuraEffect (AuraEffect *aurEff, bool apply) |
| |
| AuraMap & | GetOwnedAuras () |
| |
| 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) |
| |
| Aura * | GetOwnedAura (uint32 spellId, ObjectGuid casterGUID=ObjectGuid::Empty, ObjectGuid itemCasterGUID=ObjectGuid::Empty, uint8 reqEffMask=0, Aura *except=nullptr) const |
| |
| AuraApplicationMap & | GetAppliedAuras () |
| |
| 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 | RemoveBindSightAuras () |
| |
| void | RemoveAppliedAuras (std::function< bool(AuraApplication const *)> const &check) |
| |
| void | RemoveOwnedAuras (std::function< bool(Aura const *)> const &check) |
| |
| void | RemoveAppliedAuras (uint32 spellId, std::function< bool(AuraApplication const *)> const &check) |
| |
| void | RemoveOwnedAuras (uint32 spellId, std::function< bool(Aura const *)> const &check) |
| |
| 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, Unit *dispeller, uint8 chargesRemoved=1) |
| |
| void | RemoveAurasDueToSpellBySteal (uint32 spellId, ObjectGuid casterGUID, Unit *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 () |
| |
| void | RemoveAurasWithInterruptFlags (uint32 flag, uint32 except=0, bool isAutoshot=false) |
| |
| void | RemoveAurasWithAttribute (uint32 flags) |
| |
| void | RemoveAurasWithFamily (SpellFamilyNames family, uint32 familyFlag1, uint32 familyFlag2, uint32 familyFlag3, ObjectGuid casterGUID) |
| |
| void | RemoveAurasWithMechanic (uint64 mechanic_mask, AuraRemoveMode removemode=AURA_REMOVE_BY_DEFAULT, uint32 except=0) |
| |
| void | RemoveMovementImpairingAuras (bool withRoot) |
| |
| void | RemoveAurasByShapeShift () |
| |
| void | RemoveAreaAurasDueToLeaveWorld () |
| |
| void | RemoveAllAuras () |
| |
| void | RemoveArenaAuras () |
| |
| void | RemoveAllAurasOnDeath () |
| |
| void | RemoveAllAurasRequiringDeadTarget () |
| |
| void | RemoveAllAurasExceptType (AuraType type) |
| |
| void | RemoveEvadeAuras () |
| |
| void | DelayOwnedAuras (uint32 spellId, ObjectGuid caster, int32 delaytime) |
| |
| void | _RemoveAllAuraStatMods () |
| |
| void | _ApplyAllAuraStatMods () |
| |
| AuraEffectList const & | GetAuraEffectsByType (AuraType type) const |
| |
| AuraList & | GetSingleCastAuras () |
| |
| AuraList const & | GetSingleCastAuras () const |
| |
| AuraEffect * | GetAuraEffect (uint32 spellId, uint8 effIndex, ObjectGuid casterGUID=ObjectGuid::Empty) const |
| |
| AuraEffect * | GetAuraEffectOfRankedSpell (uint32 spellId, uint8 effIndex, ObjectGuid casterGUID=ObjectGuid::Empty) const |
| |
| AuraEffect * | GetAuraEffect (AuraType type, SpellFamilyNames name, uint32 iconId, uint8 effIndex) const |
| |
| AuraEffect * | GetAuraEffect (AuraType type, SpellFamilyNames family, uint32 familyFlag1, uint32 familyFlag2, uint32 familyFlag3, ObjectGuid casterGUID=ObjectGuid::Empty) const |
| |
| AuraEffect * | GetAuraEffectDummy (uint32 spellid) const |
| |
| AuraEffect * | GetDummyAuraEffect (SpellFamilyNames name, uint32 iconId, uint8 effIndex) const |
| |
| AuraApplication * | GetAuraApplication (uint32 spellId, ObjectGuid casterGUID=ObjectGuid::Empty, ObjectGuid itemCasterGUID=ObjectGuid::Empty, uint8 reqEffMask=0, AuraApplication *except=nullptr) const |
| |
| Aura * | GetAura (uint32 spellId, ObjectGuid casterGUID=ObjectGuid::Empty, ObjectGuid itemCasterGUID=ObjectGuid::Empty, uint8 reqEffMask=0) const |
| |
| AuraApplication * | GetAuraApplicationOfRankedSpell (uint32 spellId, ObjectGuid casterGUID=ObjectGuid::Empty, ObjectGuid itemCasterGUID=ObjectGuid::Empty, uint8 reqEffMask=0, AuraApplication *except=nullptr) const |
| |
| Aura * | GetAuraOfRankedSpell (uint32 spellId, ObjectGuid casterGUID=ObjectGuid::Empty, ObjectGuid itemCasterGUID=ObjectGuid::Empty, uint8 reqEffMask=0) const |
| |
| void | GetDispellableAuraList (Unit *caster, uint32 dispelMask, DispelChargesList &dispelList, SpellInfo const *dispelSpell) |
| |
| bool | HasAuraEffect (uint32 spellId, uint8 effIndex, ObjectGuid caster=ObjectGuid::Empty) const |
| |
| uint32 | GetAuraCount (uint32 spellId) const |
| |
| bool | HasAuras (SearchMethod sm, std::vector< uint32 > &spellIds) const |
| | Check if unit has ANY or ALL specified auras.
|
| |
| template<typename... Auras> |
| bool | HasAnyAuras (Auras... spellIds) const |
| | Checks if the unit has ANY specified auras.
|
| |
| template<typename... Auras> |
| bool | HasAllAuras (Auras... spellIds) const |
| | Checks if the unit has ALL specified auras.
|
| |
| 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) |
| |
| bool | HasVisibleAuraType (AuraType auraType) const |
| |
| bool | HasNegativeAuraWithAttribute (uint32 flag, ObjectGuid guid=ObjectGuid::Empty) |
| |
| bool | HasAuraWithMechanic (uint64 mechanicMask) const |
| |
| bool | HasAuraTypeWithFamilyFlags (AuraType auraType, uint32 familyName, uint32 familyFlags) const |
| |
| bool | HasBreakableByDamageAuraType (AuraType type, uint32 excludeAura=0) const |
| |
| bool | HasBreakableByDamageCrowdControlAura (Unit *excludeCasterChannel=nullptr) const |
| |
| AuraEffect * | IsScriptOverriden (SpellInfo const *spell, int32 script) const |
| |
| uint32 | GetDiseasesByCaster (ObjectGuid casterGUID, uint8 mode=0) |
| |
| 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, const AuraEffect *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 |
| |
| VisibleAuraMap const * | GetVisibleAuras () |
| |
| AuraApplication * | GetVisibleAura (uint8 slot) |
| |
| void | SetVisibleAura (uint8 slot, AuraApplication *aur) |
| |
| void | RemoveVisibleAura (uint8 slot) |
| |
| void | ModifyAuraState (AuraStateType flag, bool apply) |
| |
| uint32 | BuildAuraStateUpdateForTarget (Unit *target) const |
| |
| bool | HasAuraState (AuraStateType flag, SpellInfo const *spellProto=nullptr, Unit const *Caster=nullptr) const |
| |
| bool | CanProc () |
| |
| void | SetCantProc (bool apply) |
| |
| void | ProcSkillsAndReactives (bool isVictim, Unit *target, uint32 procFlag, uint32 procExtra, WeaponAttackType attType, SpellInfo const *procSpellInfo, uint32 damage, SpellInfo const *procAura=nullptr, int8 procAuraEffectIndex=-1, Spell const *procSpell=nullptr, DamageInfo *damageInfo=nullptr, HealInfo *healInfo=nullptr, uint32 procPhase=2) |
| |
| void | GetProcAurasTriggeredOnEvent (AuraApplicationProcContainer &aurasTriggeringProc, std::list< AuraApplication * > *procAuras, ProcEventInfo eventInfo) |
| |
| void | TriggerAurasProcOnEvent (CalcDamageInfo &damageInfo) |
| |
| void | TriggerAurasProcOnEvent (std::list< AuraApplication * > *myProcAuras, std::list< AuraApplication * > *targetProcAuras, Unit *actionTarget, uint32 typeMaskActor, uint32 typeMaskActionTarget, uint32 spellTypeMask, uint32 spellPhaseMask, uint32 hitMask, Spell *spell, DamageInfo *damageInfo, HealInfo *healInfo) |
| |
| void | TriggerAurasProcOnEvent (ProcEventInfo &eventInfo, AuraApplicationProcContainer &procAuras) |
| |
| float | GetWeaponProcChance () const |
| |
| float | GetPPMProcChance (uint32 WeaponSpeed, float PPM, SpellInfo const *spellProto) const |
| |
| Player * | GetSpellModOwner () const |
| |
| Spell * | GetCurrentSpell (CurrentSpellTypes spellType) const |
| |
| Spell * | GetCurrentSpell (uint32 spellType) const |
| |
| Spell * | GetFirstCurrentCastingSpell () const |
| |
| Spell * | FindCurrentSpellBySpellId (uint32 spell_id) const |
| |
| int32 | GetCurrentSpellCastTime (uint32 spell_id) const |
| |
| void | SetCurrentCastedSpell (Spell *pSpell) |
| |
| void | SetInstantCast (bool set) |
| |
| bool | CanInstantCast () const |
| |
| 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, bool bySelf=false) |
| |
| float | GetSpellMaxRangeForTarget (Unit const *target, SpellInfo const *spellInfo) const |
| |
| float | GetSpellMinRangeForTarget (Unit const *target, SpellInfo const *spellInfo) const |
| |
| uint32 | GetInterruptMask () const |
| |
| void | AddInterruptMask (uint32 mask) |
| |
| void | UpdateInterruptMask () |
| |
| void | InterruptSpell (CurrentSpellTypes spellType, bool withDelayed=true, bool withInstant=true, bool bySelf=false) |
| |
| bool | isSpellBlocked (Unit *victim, SpellInfo const *spellProto, WeaponAttackType attackType=BASE_ATTACK) |
| |
| void | FinishSpell (CurrentSpellTypes spellType, bool ok=true) |
| |
| Unit * | GetMagicHitRedirectTarget (Unit *victim, SpellInfo const *spellInfo) |
| |
| Unit * | GetMeleeHitRedirectTarget (Unit *victim, SpellInfo const *spellInfo=nullptr) |
| |
| float | MeleeSpellMissChance (Unit const *victim, WeaponAttackType attType, int32 skillDiff, uint32 spellId) const |
| |
| SpellMissInfo | MeleeSpellHitResult (Unit *victim, SpellInfo const *spell) |
| |
| SpellMissInfo | MagicSpellHitResult (Unit *victim, SpellInfo const *spell) |
| |
| SpellMissInfo | SpellHitResult (Unit *victim, SpellInfo const *spell, bool canReflect=false) |
| |
| SpellMissInfo | SpellHitResult (Unit *victim, Spell const *spell, bool canReflect=false) |
| |
| void | SendHealSpellLog (HealInfo const &healInfo, bool critical=false) |
| |
| int32 | HealBySpell (HealInfo &healInfo, bool critical=false) |
| |
| int32 | SpellBaseHealingBonusDone (SpellSchoolMask schoolMask) |
| |
| float | SpellPctHealingModsDone (Unit *victim, SpellInfo const *spellProto, DamageEffectType damagetype, bool includeHealingDonePct=true) |
| |
| uint32 | SpellHealingBonusDone (Unit *victim, SpellInfo const *spellProto, uint32 healamount, DamageEffectType damagetype, uint8 effIndex, float TotalMod=0.0f, uint32 stack=1) |
| |
| uint32 | SpellHealingBonusTaken (Unit *caster, SpellInfo const *spellProto, uint32 healamount, DamageEffectType damagetype, uint32 stack=1) |
| |
| void | SendEnergizeSpellLog (Unit *victim, uint32 SpellID, uint32 Damage, Powers powertype) |
| |
| void | EnergizeBySpell (Unit *victim, uint32 SpellID, uint32 Damage, Powers powertype) |
| |
| void | ApplySpellImmune (uint32 spellId, uint32 op, uint32 type, bool apply, SpellImmuneBlockType blockType=SPELL_BLOCK_TYPE_ALL) |
| |
| virtual bool | IsImmunedToSpell (SpellInfo const *spellInfo, Spell const *spell=nullptr) |
| |
| bool | IsImmunedToSpell (SpellInfo const *spellInfo, Unit const *caster) |
| |
| bool | IsImmunedToSpell (SpellInfo const *spellInfo, Unit const *caster, SpellSchoolMask spellSchoolMask) |
| |
| bool | IsImmunedToSpell (SpellInfo const *spellInfo, uint32 effectMask, Unit const *caster=nullptr) |
| |
| bool | IgnoresSchoolImmunityFromFriendlyCaster (Unit const *caster, uint32 immunityAuraId, SpellInfo const *immunitySpellInfo) const |
| |
| bool | IsImmunedToDamage (SpellSchoolMask schoolMask) const |
| |
| bool | IsImmunedToDamage (Unit const *caster, SpellInfo const *spellInfo) const |
| |
| bool | IsImmunedToSchool (SpellSchoolMask schoolMask) const |
| |
| uint32 | GetSchoolImmunityMask () const |
| |
| uint32 | GetDamageImmunityMask () const |
| |
| bool | IsImmunedToSchool (SpellInfo const *spellInfo) const |
| |
| bool | IsImmunedToSchool (Spell const *spell) const |
| |
| bool | IsImmunedToDamageOrSchool (SpellSchoolMask schoolMask) const |
| |
| bool | IsImmunedToAuraPeriodicTick (Unit const *caster, SpellInfo const *spellInfo) const |
| |
| virtual bool | IsImmunedToSpellEffect (SpellInfo const *spellInfo, uint32 index, Unit const *caster=nullptr) const |
| |
| bool | isBlockCritical () |
| |
| float | SpellDoneCritChance (Unit const *, SpellInfo const *spellProto, SpellSchoolMask schoolMask, WeaponAttackType attackType, bool skipEffectCheck) const |
| |
| float | SpellTakenCritChance (Unit const *caster, SpellInfo const *spellProto, SpellSchoolMask schoolMask, float doneChance, WeaponAttackType attackType, bool skipEffectCheck) const |
| |
| float | ApplyEffectModifiers (SpellInfo const *spellProto, uint8 effect_index, float value) const |
| |
| int32 | CalcSpellDuration (SpellInfo const *spellProto) |
| |
| int32 | ModSpellDuration (SpellInfo const *spellProto, Unit const *target, int32 duration, bool positive, uint32 effectMask) |
| |
| void | ModSpellCastTime (SpellInfo const *spellProto, int32 &castTime, Spell *spell=nullptr) |
| |
| float | CalculateLevelPenalty (SpellInfo const *spellProto) const |
| |
| uint32 | GetCastingTimeForBonus (SpellInfo const *spellProto, DamageEffectType damagetype, uint32 CastingTime) const |
| |
| void | CastDelayedSpellWithPeriodicAmount (Unit *caster, uint32 spellId, AuraType auraType, int32 addAmount, uint8 effectIndex=0) |
| |
| SpellCastResult | CastSpell (SpellCastTargets const &targets, SpellInfo const *spellInfo, CustomSpellValues const *value, TriggerCastFlags triggerFlags=TRIGGERED_NONE, Item *castItem=nullptr, AuraEffect const *triggeredByAura=nullptr, ObjectGuid originalCaster=ObjectGuid::Empty) |
| |
| SpellCastResult | CastSpell (Unit *victim, uint32 spellId, bool triggered, Item *castItem=nullptr, AuraEffect const *triggeredByAura=nullptr, ObjectGuid originalCaster=ObjectGuid::Empty) |
| |
| SpellCastResult | CastSpell (Unit *victim, uint32 spellId, TriggerCastFlags triggerFlags=TRIGGERED_NONE, Item *castItem=nullptr, AuraEffect const *triggeredByAura=nullptr, ObjectGuid originalCaster=ObjectGuid::Empty) |
| |
| SpellCastResult | CastSpell (Unit *victim, SpellInfo const *spellInfo, bool triggered, Item *castItem=nullptr, AuraEffect const *triggeredByAura=nullptr, ObjectGuid originalCaster=ObjectGuid::Empty) |
| |
| SpellCastResult | CastSpell (Unit *victim, SpellInfo const *spellInfo, TriggerCastFlags triggerFlags=TRIGGERED_NONE, Item *castItem=nullptr, AuraEffect const *triggeredByAura=nullptr, ObjectGuid originalCaster=ObjectGuid::Empty) |
| |
| SpellCastResult | CastSpell (float x, float y, float z, uint32 spellId, bool triggered, Item *castItem=nullptr, AuraEffect const *triggeredByAura=nullptr, ObjectGuid originalCaster=ObjectGuid::Empty) |
| |
| SpellCastResult | CastSpell (GameObject *go, uint32 spellId, bool triggered, Item *castItem=nullptr, AuraEffect *triggeredByAura=nullptr, ObjectGuid originalCaster=ObjectGuid::Empty) |
| |
| SpellCastResult | CastCustomSpell (Unit *victim, uint32 spellId, int32 const *bp0, int32 const *bp1, int32 const *bp2, bool triggered, Item *castItem=nullptr, AuraEffect const *triggeredByAura=nullptr, ObjectGuid originalCaster=ObjectGuid::Empty) |
| |
| SpellCastResult | CastCustomSpell (uint32 spellId, SpellValueMod mod, int32 value, Unit *victim, bool triggered, Item *castItem=nullptr, AuraEffect const *triggeredByAura=nullptr, ObjectGuid originalCaster=ObjectGuid::Empty) |
| |
| SpellCastResult | CastCustomSpell (uint32 spellId, SpellValueMod mod, int32 value, Unit *victim=nullptr, TriggerCastFlags triggerFlags=TRIGGERED_NONE, Item *castItem=nullptr, AuraEffect const *triggeredByAura=nullptr, ObjectGuid originalCaster=ObjectGuid::Empty) |
| |
| SpellCastResult | CastCustomSpell (uint32 spellId, CustomSpellValues const &value, Unit *victim=nullptr, TriggerCastFlags triggerFlags=TRIGGERED_NONE, Item *castItem=nullptr, AuraEffect const *triggeredByAura=nullptr, ObjectGuid originalCaster=ObjectGuid::Empty) |
| |
| SpellCastResult | CastCustomSpell (SpellInfo const *spellInfo, CustomSpellValues const &value, Unit *victim=nullptr, TriggerCastFlags triggerFlags=TRIGGERED_NONE, Item *castItem=nullptr, AuraEffect const *triggeredByAura=nullptr, ObjectGuid originalCaster=ObjectGuid::Empty) |
| |
| void | _RegisterDynObject (DynamicObject *dynObj) |
| |
| void | _UnregisterDynObject (DynamicObject *dynObj) |
| |
| DynamicObject * | GetDynObject (uint32 spellId) |
| |
| bool | RemoveDynObject (uint32 spellId) |
| |
| void | RemoveAllDynObjects () |
| |
| GameObject * | GetGameObject (uint32 spellId) const |
| |
| void | AddGameObject (GameObject *gameObj) |
| |
| void | RemoveGameObject (GameObject *gameObj, bool del) |
| |
| void | RemoveGameObject (uint32 spellid, bool del) |
| |
| void | RemoveAllGameObjects () |
| |
| bool | IsPolymorphed () const |
| |
| bool | isFrozen () const |
| |
| bool | IsInFlight () const |
| |
| bool | IsLevitating () const |
| |
| bool | IsWalking () const |
| |
| bool | isMoving () const |
| |
| bool | isTurning () const |
| |
| bool | IsHovering () const |
| |
| bool | isSwimming () const |
| |
| bool | IsFlying () const |
| |
| bool | IsFalling () const |
| |
| bool | IsRooted () const |
| |
| float | GetHoverHeight () const |
| |
| virtual bool | IsMovementPreventedByCasting () const |
| |
| virtual bool | CanSwim () const |
| | this method checks the current flag of a unit
|
| |
| bool | CanFreeMove () const |
| |
| void | KnockbackFrom (float x, float y, float speedXY, float speedZ) |
| |
| void | JumpTo (float speedXY, float speedZ, bool forward=true) |
| |
| void | JumpTo (WorldObject *obj, float speedZ) |
| |
| void | UpdateSpeed (UnitMoveType mtype, bool forced) |
| |
| float | GetSpeed (UnitMoveType mtype) const |
| |
| float | GetSpeedRate (UnitMoveType mtype) const |
| |
| void | SetSpeed (UnitMoveType mtype, float rate, bool forced=false) |
| |
| void | SetSpeedRate (UnitMoveType mtype, float rate) |
| |
| void | SendSpeedToController (UnitMoveType mtype, Player *target) const |
| |
| void | propagateSpeedChange () |
| |
| void | SendMonsterMove (float NewPosX, float NewPosY, float NewPosZ, uint32 TransitTime, SplineFlags sf=SPLINEFLAG_WALK_MODE) |
| |
| void | MonsterMoveWithSpeed (float x, float y, float z, float speed) |
| |
| virtual bool | SetWalk (bool enable) |
| |
| void | SetDisableGravity (bool disable) |
| |
| virtual bool | SetSwim (bool enable) |
| |
| void | SetCanFly (bool enable) |
| | Add the movement flag: MOVEMENTFLAGCAN_FLY. Generaly only use by players, allowing them to fly by pressing space for example. For creatures, please look for DisableGravity().
|
| |
| void | SetWaterWalking (bool enable) |
| |
| void | SetFeatherFall (bool enable) |
| |
| void | SetHover (bool enable) |
| |
| MotionMaster * | GetMotionMaster () |
| |
| const MotionMaster * | GetMotionMaster () const |
| |
| virtual MovementGeneratorType | GetDefaultMovementType () const |
| | -------—End of Pet responses methods-------—
|
| |
| bool | IsStopped () const |
| |
| void | StopMoving () |
| |
| void | StopMovingOnCurrentPos () |
| |
| virtual void | PauseMovement (uint32 timer=0, uint8 slot=0) |
| | Disable the unit movement by clearing UNIT_STATE_MOVING and stopping the spline.
|
| |
| void | ResumeMovement (uint32 timer=0, uint8 slot=0) |
| |
| void | SetControlled (bool apply, UnitState state, Unit *source=nullptr, bool isFear=false) |
| |
| void | DisableRotate (bool apply) |
| |
| void | DisableSpline () |
| |
| SheathState | GetSheath () const |
| |
| uint8 | getStandState () const |
| |
| bool | IsSitState () const |
| |
| bool | IsStandState () const |
| |
| bool | IsStandUpOnMovementState () const |
| |
| void | SetStandState (uint8 state) |
| |
| void | SetStandFlags (uint8 flags) |
| |
| void | RemoveStandFlags (uint8 flags) |
| |
| DeathState | getDeathState () |
| |
| bool | IsAlive () const |
| |
| bool | isDying () const |
| |
| bool | isDead () const |
| |
| bool | HasGhostAura () const |
| |
| bool | HasMountedAura () const |
| |
| bool | HasWaterWalkAura () const |
| |
| bool | HasFeatherFallAura () const |
| |
| bool | HasHoverAura () const |
| |
| bool | HasFlyAura () const |
| |
| bool | HasSpiritOfRedemptionAura () const |
| |
| bool | HasPreventsFleeingAura () const |
| |
| bool | HasPreventDurabilityLossAura () const |
| |
| bool | HasPreventResurectionAura () const |
| |
| bool | HasTransformAura () const |
| |
| bool | HasInterruptRegenAura () const |
| |
| bool | HasNoPVPCreditAura () const |
| |
| bool | HasWaterBreathingAura () const |
| |
| bool | HasIgnoreHitDirectionAura () const |
| |
| bool | HasSpellMagnetAura () const |
| |
| bool | HasOpenStableAura () const |
| |
| bool | HasCloneCasterAura () const |
| |
| bool | HasReflectSpellsAura () const |
| |
| bool | HasDetectAmoreAura () const |
| |
| bool | HasAllowOnlyAbilityAura () const |
| |
| bool | HasPeriodicDummyAura () const |
| |
| bool | HasControlVehicleAura () const |
| |
| bool | HasAOECharmAura () const |
| |
| bool | HasDetectSpellsAura () const |
| |
| bool | HasPacifySilenceAura () const |
| |
| bool | HasSilenceAura () const |
| |
| bool | HasShapeshiftAura () const |
| |
| bool | HasDecreaseSpeedAura () const |
| |
| bool | HasPacifyAura () const |
| |
| bool | HasIgnoreTargetResistModifiersAura () const |
| |
| bool | HasIncreaseMountedSpeedAura () const |
| |
| bool | HasIncreaseMountedFlightSpeedAura () const |
| |
| bool | HasAttackerSpellCritChanceAura () const |
| |
| bool | HasUnattackableAura () const |
| |
| bool | HasHealthRegenInCombatAura () const |
| |
| bool | HasRegenDuringCombatAura () const |
| |
| bool | HasFearAura () const |
| |
| bool | HasConfuseAura () const |
| |
| bool | HasRootAura () const |
| |
| bool | HasStunAura () const |
| |
| bool | HasTauntAura () const |
| |
| bool | HasStealthAura () const |
| |
| bool | HasStealthDetectAura () const |
| |
| bool | HasInvisibilityAura () const |
| |
| bool | HasInvisibilityDetectAura () const |
| |
| bool | IsHostileTo (Unit const *unit) const |
| |
| bool | IsHostileToPlayers () const |
| |
| bool | IsFriendlyTo (Unit const *unit) const |
| |
| bool | IsNeutralToAll () const |
| |
| void | ClearAllReactives () |
| |
| void | StartReactiveTimer (ReactiveType reactive) |
| |
| void | UpdateReactives (uint32 p_time) |
| |
| DiminishingLevels | GetDiminishing (DiminishingGroup group) |
| |
| void | IncrDiminishing (DiminishingGroup group) |
| |
| float | ApplyDiminishingToDuration (DiminishingGroup group, int32 &duration, Unit *caster, DiminishingLevels Level, int32 limitduration) |
| |
| void | ApplyDiminishingAura (DiminishingGroup group, bool apply) |
| |
| void | ClearDiminishings () |
| |
| bool | IsInPartyWith (Unit const *unit) const |
| |
| bool | IsInRaidWith (Unit const *unit) const |
| |
| void | GetPartyMembers (std::list< Unit * > &units) |
| |
| Unit * | GetNextRandomRaidMemberOrPet (float radius) |
| |
| void | UpdateAuraForGroup (uint8 slot) |
| |
| ReputationRank | GetReactionTo (Unit const *target, bool checkOriginalFaction=false) const |
| |
| ReputationRank | GetFactionReactionTo (FactionTemplateEntry const *factionTemplateEntry, Unit const *target) const |
| |
| SharedVisionList const & | GetSharedVisionList () |
| |
| void | AddPlayerToVision (Player *player) |
| |
| void | RemovePlayerFromVision (Player *player) |
| |
| bool | HasSharedVision () const |
| |
| uint32 | GetVirtualItemId (uint32 slot) const |
| |
| void | SetVirtualItem (uint32 slot, uint32 itemId) |
| |
| bool | IsMounted () const |
| |
| uint32 | GetMountID () const |
| |
| void | Mount (uint32 mount, uint32 vehicleId=0, uint32 creatureEntry=0) |
| |
| void | Dismount () |
| |
| bool | IsInDisallowedMountForm () const |
| |
| void | FollowerAdded (AbstractFollower *f) |
| |
| void | FollowerRemoved (AbstractFollower *f) |
| |
| virtual float | GetFollowAngle () const |
| |
| void | RemoveAllFollowers () |
| |
| Guardian * | GetGuardianPet () const |
| |
| Minion * | GetFirstMinion () const |
| |
| Creature * | GetCompanionPet () const |
| |
| Pet * | CreateTamedPetFrom (Creature *creatureTarget, uint32 spell_id=0) |
| |
| Pet * | CreateTamedPetFrom (uint32 creatureEntry, uint32 spell_id=0) |
| |
| bool | InitTamedPet (Pet *pet, uint8 level, uint32 spell_id) |
| |
| void | SetMinion (Minion *minion, bool apply) |
| |
| void | GetAllMinionsByEntry (std::list< Creature * > &Minions, uint32 entry) |
| |
| void | RemoveAllMinionsByEntry (uint32 entry) |
| |
| void | AddPetAura (PetAura const *petSpell) |
| |
| void | RemovePetAura (PetAura const *petSpell) |
| |
| void | CastPetAura (PetAura const *aura) |
| |
| bool | IsPetAura (Aura const *aura) |
| |
| void | PetSpellFail (SpellInfo const *spellInfo, Unit *target, uint32 result) |
| |
| void | UnsummonAllTotems (bool onDeath=false) |
| |
| TransportBase * | GetDirectTransport () const |
| |
| bool | CreateVehicleKit (uint32 id, uint32 creatureEntry) |
| | Returns the transport this unit is on directly (if on vehicle and transport, return vehicle)
|
| |
| void | RemoveVehicleKit () |
| |
| Vehicle * | GetVehicleKit () const |
| |
| Vehicle * | GetVehicle () const |
| |
| bool | IsOnVehicle (Unit const *vehicle) const |
| |
| Unit * | GetVehicleBase () const |
| |
| Creature * | GetVehicleCreatureBase () const |
| |
| void | EnterVehicle (Unit *base, int8 seatId=-1) |
| |
| void | EnterVehicleUnattackable (Unit *base, int8 seatId=-1) |
| |
| void | ExitVehicle (Position const *exitPosition=nullptr) |
| |
| void | ChangeSeat (int8 seatId, bool next=true) |
| |
| bool | HandleSpellClick (Unit *clicker, int8 seatId=-1) |
| |
| void | _ExitVehicle (Position const *exitPosition=nullptr) |
| |
| void | _EnterVehicle (Vehicle *vehicle, int8 seatId, AuraApplication const *aurApp=nullptr) |
| |
| void | HandleEmoteCommand (uint32 emoteId) |
| |
| 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) |
| |
| ShapeshiftForm | GetShapeshiftForm () const |
| |
| void | SetShapeshiftForm (ShapeshiftForm form) |
| |
| bool | IsAttackSpeedOverridenShapeShift () const |
| |
| bool | IsInFeralForm () const |
| |
| void | setTransForm (uint32 spellid) |
| |
| uint32 | getTransForm () const |
| |
| void | DeMorph () |
| |
| virtual float | GetNativeObjectScale () const |
| |
| virtual void | RecalculateObjectScale () |
| |
| uint32 | GetDisplayId () const |
| |
| virtual void | SetDisplayId (uint32 modelId, float displayScale=1.f) |
| |
| uint32 | GetNativeDisplayId () const |
| |
| void | RestoreDisplayId () |
| |
| void | SetNativeDisplayId (uint32 displayId) |
| |
| uint32 | GetModelForForm (ShapeshiftForm form, uint32 spellId) |
| |
| virtual bool | IsUnderWater () const |
| |
| void | NearTeleportTo (Position &pos, bool casting=false, bool vehicleTeleport=false, bool withPet=false, bool removeTransport=false) |
| |
| void | NearTeleportTo (float x, float y, float z, float orientation, bool casting=false, bool vehicleTeleport=false, bool withPet=false, bool removeTransport=false) |
| |
| void | SetInFront (WorldObject const *target) |
| |
| void | SetFacingTo (float ori) |
| |
| void | SetFacingToObject (WorldObject *object, Milliseconds timed=0ms) |
| |
| bool | isInAccessiblePlaceFor (Creature const *c) const |
| |
| bool | isInFrontInMap (Unit const *target, float distance, float arc=M_PI) const |
| |
| bool | isInBackInMap (Unit const *target, float distance, float arc=M_PI) const |
| |
| float | GetCollisionHeight () const override |
| | Return collision height sent to client.
|
| |
| float | GetCollisionWidth () const override |
| | this method gets the diameter of a Unit by DB if any value is defined, otherwise it gets the value by the DBC
|
| |
| float | GetCollisionRadius () const override |
| | this method gets the radius of a Unit by DB if any value is defined, otherwise it gets the value by the DBC
|
| |
| 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.
|
| |
| bool | UpdatePosition (const Position &pos, bool teleport=false) |
| |
| void | ProcessPositionDataChanged (PositionFullTerrainStatus const &data) override |
| |
| bool | IsVisible () const |
| |
| void | SetVisible (bool x) |
| |
| void | SetModelVisible (bool on) |
| |
| uint32 | GetPhaseByAuras () const |
| |
| void | SetPhaseMask (uint32 newPhaseMask, bool update) override |
| |
| void | UpdateObjectVisibility (bool forced=true, bool fromUpdate=false) override |
| |
| void | AddPointedBy (SafeUnitPointer *sup) |
| |
| void | RemovePointedBy (SafeUnitPointer *sup) |
| |
| 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 | SendComboPoints () |
| |
| void | SendPlaySpellVisual (uint32 id) |
| |
| void | SendPlaySpellImpact (ObjectGuid guid, uint32 id) |
| |
| void | SendPetActionFeedback (uint8 msg) const |
| | -------—Pet responses methods--------------—
|
| |
| void | SendPetActionSound (PetAction action) const |
| |
| void | SendPetDismissSound () const |
| |
| void | SendPetAIReaction (ObjectGuid guid) const |
| |
| void | SendPeriodicAuraLog (SpellPeriodicAuraLogInfo *pInfo) |
| |
| void | SendSpellNonMeleeDamageLog (SpellNonMeleeDamage *log) |
| |
| void | SendSpellNonMeleeReflectLog (SpellNonMeleeDamage *log, Unit *attacker) |
| |
| void | SendSpellNonMeleeDamageLog (Unit *target, SpellInfo const *spellInfo, uint32 Damage, SpellSchoolMask damageSchoolMask, uint32 AbsorbedDamage, uint32 Resist, bool PhysicalDamage, uint32 Blocked, bool CriticalHit=false, bool Split=false) |
| |
| void | SendSpellMiss (Unit *target, uint32 spellID, SpellMissInfo missInfo) |
| |
| void | SendSpellDamageResist (Unit *target, uint32 spellId) |
| |
| void | SendSpellDamageImmune (Unit *target, uint32 spellId) |
| |
| void | SendTameFailure (uint8 result) |
| |
| void | SendTeleportPacket (Position &pos) |
| |
| void | SendMovementFlagUpdate (bool self=false) |
| |
| void | SendMovementWaterWalking (Player *sendTo) |
| |
| void | SendMovementFeatherFall (Player *sendTo) |
| |
| void | SendMovementHover (Player *sendTo) |
| |
| void | SendClearTarget () |
| |
| void | ExecuteDelayedUnitRelocationEvent () |
| |
| void | ExecuteDelayedUnitAINotifyEvent () |
| |
| void | BuildHeartBeatMsg (WorldPacket *data) const |
| |
| void | BuildMovementPacket (ByteBuffer *data) const |
| |
| void | OutDebugInfo () const |
| |
| std::string | GetDebugInfo () const override |
| |
| | ~WorldObject () override |
| |
| void | _Create (ObjectGuid::LowType guidlow, HighGuid guidhigh, uint32 phaseMask) |
| |
| void | AddToWorld () override |
| |
| void | RemoveFromWorld () override |
| |
| void | GetNearPoint2D (WorldObject const *searcher, float &x, float &y, float distance, float absAngle, Position const *startPos=nullptr) const |
| |
| void | GetNearPoint2D (float &x, float &y, float distance, float absAngle, Position const *startPos=nullptr) const |
| |
| void | GetNearPoint (WorldObject const *searcher, float &x, float &y, float &z, float searcher_size, float distance2d, float absAngle, float controlZ=0, Position const *startPos=nullptr) const |
| |
| void | GetVoidClosePoint (float &x, float &y, float &z, float size, float distance2d=0, float relAngle=0, float controlZ=0) const |
| |
| bool | GetClosePoint (float &x, float &y, float &z, float size, float distance2d=0, float angle=0, WorldObject const *forWho=nullptr, bool force=false) 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 startX, float startY, float startZ, float destX, float destY) |
| |
| Position | GetFirstCollisionPosition (float destX, float destY, float destZ) |
| |
| 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 | GetChargeContactPoint (WorldObject const *obj, float &x, float &y, float &z, float distance2d=CONTACT_DISTANCE) const |
| |
| float | GetObjectSize () const |
| |
| void | UpdateGroundPositionZ (float x, float y, float &z) const |
| |
| void | UpdateAllowedPositionZ (float x, float y, float &z, float *groundZ=nullptr) const |
| |
| void | GetRandomPoint (const Position &srcPos, float distance, float &rand_x, float &rand_y, float &rand_z) const |
| |
| Position | GetRandomPoint (const Position &srcPos, float distance) const |
| |
| uint32 | GetInstanceId () const |
| |
| uint32 | GetPhaseMask () const |
| |
| bool | InSamePhase (WorldObject const *obj) const |
| |
| bool | InSamePhase (uint32 phasemask) const |
| |
| uint32 | GetZoneId () const |
| |
| uint32 | GetAreaId () const |
| |
| void | GetZoneAndAreaId (uint32 &zoneid, uint32 &areaid) const |
| |
| bool | IsOutdoors () const |
| |
| LiquidData const & | GetLiquidData () const |
| |
| InstanceScript * | GetInstanceScript () const |
| |
| std::string const & | GetName () const |
| |
| void | SetName (std::string const &newname) |
| |
| virtual std::string const & | GetNameForLocaleIdx (LocaleConstant) const |
| |
| float | GetDistance (WorldObject const *obj) const |
| |
| float | GetDistance (const Position &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 (const Position *pos, float dist) const |
| |
| bool | IsWithinDist2d (float x, float y, float dist) const |
| |
| bool | IsWithinDist2d (const Position *pos, float dist) const |
| |
| virtual bool | IsWithinSightRange (Position const &pos, float dist) const |
| |
| bool | IsWithinDist (WorldObject const *obj, float dist2compare, bool is3D=true, bool incOwnRadius=true, bool incTargetRadius=true) const |
| |
| bool | IsWithinDistInMap (WorldObject const *obj, float dist2compare, bool is3D=true, bool incOwnRadius=true, bool incTargetRadius=true) const |
| |
| bool | IsWithinLOS (float x, float y, float z, VMAP::ModelIgnoreFlags ignoreFlags=VMAP::ModelIgnoreFlags::Nothing, LineOfSightChecks checks=LINEOFSIGHT_ALL_CHECKS) const |
| |
| bool | IsWithinLOSInMap (WorldObject const *obj, VMAP::ModelIgnoreFlags ignoreFlags=VMAP::ModelIgnoreFlags::Nothing, LineOfSightChecks checks=LINEOFSIGHT_ALL_CHECKS, Optional< float > collisionHeight={ }, Optional< float > combatReach={ }) const |
| |
| Position | GetHitSpherePointFor (Position const &dest, Optional< float > collisionHeight={ }, Optional< float > combatReach={ }) const |
| |
| void | GetHitSpherePointFor (Position const &dest, float &x, float &y, float &z, Optional< float > collisionHeight={ }, Optional< float > combatReach={ }) 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=M_PI) const |
| |
| bool | isInBack (WorldObject const *target, float arc=M_PI) const |
| |
| bool | IsInBetween (WorldObject const *obj1, WorldObject const *obj2, float size=0) const |
| |
| void | PlayDistanceSound (uint32 sound_id, Player *target=nullptr) |
| |
| void | PlayDirectSound (uint32 sound_id, Player *target=nullptr) |
| |
| void | PlayRadiusSound (uint32 sound_id, float radius) |
| |
| void | PlayDirectMusic (uint32 music_id, Player *target=nullptr) |
| |
| void | PlayRadiusMusic (uint32 music_id, float radius) |
| |
| template<typename Worker > |
| void | DoForAllVisiblePlayers (Worker &&worker) |
| |
| template<typename Worker > |
| void | DoForAllVisibleWorldObjects (Worker &&worker) |
| |
| void | DestroyForVisiblePlayers () |
| |
| void | SendObjectDeSpawnAnim (ObjectGuid guid) |
| |
| virtual void | SaveRespawnTime () |
| |
| void | AddObjectToRemoveList () |
| |
| float | GetGridActivationRange () const |
| |
| float | GetVisibilityRange () const |
| |
| float | GetLeewayBonusRange (Unit const *target) const |
| |
| float | GetLeewayBonusRadius () const |
| |
| bool | CanSeeOrDetect (WorldObject const *obj, bool ignoreStealth=false, bool distanceCheck=false, bool checkAlert=false) const |
| |
| void | SendPlayMusic (uint32 Music, bool OnlySelf) |
| |
| Map * | GetMap () const |
| |
| Map * | FindMap () const |
| |
| void | SetZoneScript () |
| |
| void | ClearZoneScript () |
| |
| ZoneScript * | GetZoneScript () const |
| |
| TempSummon * | SummonCreature (uint32 id, const Position &pos, TempSummonType spwtype=TEMPSUMMON_MANUAL_DESPAWN, uint32 despwtime=0, uint32 vehId=0, SummonPropertiesEntry const *properties=nullptr, bool visibleBySummonerOnly=false) const |
| |
| TempSummon * | SummonCreature (uint32 id, float x, float y, float z, float ang=0, TempSummonType spwtype=TEMPSUMMON_MANUAL_DESPAWN, uint32 despwtime=0, SummonPropertiesEntry const *properties=nullptr, bool visibleBySummonerOnly=false) |
| |
| GameObject * | SummonGameObject (uint32 entry, float x, float y, float z, float ang, float rotation0, float rotation1, float rotation2, float rotation3, uint32 respawnTime, bool checkTransport=true, GOSummonType summonType=GO_SUMMON_TIMED_OR_CORPSE_DESPAWN) |
| |
| Creature * | SummonTrigger (float x, float y, float z, float ang, uint32 dur, bool setLevel=false, CreatureAI *(*GetAI)(Creature *)=nullptr) |
| |
| void | SummonCreatureGroup (uint8 group, std::list< TempSummon * > *list=nullptr) |
| |
| void | SummonGameObjectGroup (uint8 group, std::list< GameObject * > *list=nullptr) |
| |
| Creature * | FindNearestCreature (uint32 entry, float range, bool alive=true) const |
| |
| GameObject * | FindNearestGameObject (uint32 entry, float range, bool onlySpawned=false) const |
| |
| GameObject * | FindNearestGameObjectOfType (GameobjectTypes type, float range) const |
| |
| Player * | SelectNearestPlayer (float distance=0) const |
| |
| void | GetGameObjectListWithEntryInGrid (std::list< GameObject * > &lList, uint32 uiEntry, float fMaxSearchRange) const |
| |
| void | GetGameObjectListWithEntryInGrid (std::list< GameObject * > &gameobjectList, std::vector< uint32 > const &entries, float maxSearchRange) const |
| |
| void | GetCreatureListWithEntryInGrid (std::list< Creature * > &lList, uint32 uiEntry, float fMaxSearchRange) const |
| |
| void | GetCreatureListWithEntryInGrid (std::list< Creature * > &creatureList, std::vector< uint32 > const &entries, float maxSearchRange) const |
| |
| void | GetDeadCreatureListInGrid (std::list< Creature * > &lList, float maxSearchRange, bool alive=false) const |
| |
| virtual void | UpdateObjectVisibilityOnCreate () |
| |
| void | BuildUpdate (UpdateDataMapType &data_map) override |
| |
| void | GetCreaturesWithEntryInRange (std::list< Creature * > &creatureList, float radius, uint32 entry) |
| |
| void | SetPositionDataUpdate () |
| |
| void | UpdatePositionData () |
| |
| void | AddToObjectUpdate () override |
| |
| void | RemoveFromObjectUpdate () override |
| |
| void | AddToNotify (uint16 f) |
| |
| void | RemoveFromNotify (uint16 f) |
| |
| bool | isNeedNotify (uint16 f) const |
| |
| uint16 | GetNotifyFlags () const |
| |
| bool | NotifyExecuted (uint16 f) const |
| |
| void | SetNotified (uint16 f) |
| |
| void | ResetAllNotifies () |
| |
| bool | isActiveObject () const |
| |
| void | setActive (bool isActiveObject) |
| |
| VisibilityDistanceType | GetVisibilityOverrideType () const |
| |
| bool | IsVisibilityOverridden () const |
| |
| bool | IsZoneWideVisible () const |
| |
| bool | IsFarVisible () const |
| |
| float | GetVisibilityOverrideDistance () const |
| |
| void | SetVisibilityDistanceOverride (VisibilityDistanceType type) |
| |
| bool | IsInWintergrasp () const |
| |
| Transport * | GetTransport () const |
| |
| float | GetTransOffsetX () const |
| |
| float | GetTransOffsetY () const |
| |
| float | GetTransOffsetZ () const |
| |
| float | GetTransOffsetO () 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 | GetMapWaterOrGroundLevel (Position pos, float *ground=nullptr) 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 |
| |
| float | GetFloorZ () const |
| |
| float | GetMinHeightInWater () const |
| | Get the minimum height of a object that should be in water to start floating/swim.
|
| |
| void | AddAllowedLooter (ObjectGuid guid) |
| |
| void | ResetAllowedLooters () |
| |
| void | SetAllowedLooters (GuidUnorderedSet const looters) |
| |
| bool | HasAllowedLooter (ObjectGuid guid) const |
| |
| GuidUnorderedSet const & | GetAllowedLooters () const |
| |
| void | RemoveAllowedLooter (ObjectGuid guid) |
| |
| virtual bool | IsUpdateNeeded () |
| |
| bool | CanBeAddedToMapUpdateList () |
| |
| std::string | GetDebugInfo () const override |
| |
| ObjectVisibilityContainer & | GetObjectVisibilityContainer () |
| |
| ObjectVisibilityContainer const & | GetObjectVisibilityContainer () const |
| |
| 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 *target) |
| |
| 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 | ApplyModUInt64Value (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) |
| |
| bool | HasByteFlag (uint16 index, uint8 offset, uint8 flag) const |
| |
| 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 | BuildFieldsUpdate (Player *, UpdateDataMapType &) |
| |
| void | SetFieldNotifyFlag (uint16 flag) |
| |
| void | RemoveFieldNotifyFlag (uint16 flag) |
| |
| void | ForceValuesUpdateAtIndex (uint32) |
| |
| bool | IsPlayer () const |
| |
| Player * | ToPlayer () |
| |
| Player const * | ToPlayer () const |
| |
| bool | IsCreature () const |
| |
| Creature * | ToCreature () |
| |
| Creature const * | ToCreature () const |
| |
| bool | IsUnit () const |
| |
| Unit * | ToUnit () |
| |
| Unit const * | ToUnit () const |
| |
| bool | IsGameObject () const |
| |
| GameObject * | ToGameObject () |
| |
| GameObject const * | ToGameObject () const |
| |
| bool | IsCorpse () const |
| |
| Corpse * | ToCorpse () |
| |
| Corpse const * | ToCorpse () const |
| |
| bool | IsDynamicObject () const |
| |
| DynamicObject * | ToDynObject () |
| |
| DynamicObject const * | ToDynObject () const |
| |
| bool | IsItem () const |
| |
| virtual void | Heartbeat () |
| |
| template<typename... T> |
| bool | EntryEquals (T... entries) const |
| |
| | WorldLocation (uint32 _mapId=MAPID_INVALID, float x=0.f, float y=0.f, float z=0.f, float o=0.f) |
| |
| | WorldLocation (uint32 mapId, Position const &position) |
| |
| void | WorldRelocate (const WorldLocation &loc) |
| |
| void | WorldRelocate (uint32 mapId=MAPID_INVALID, float x=0.f, float y=0.f, float z=0.f, float o=0.f) |
| |
| void | SetMapId (uint32 mapId) |
| |
| uint32 | GetMapId () const |
| |
| void | GetWorldLocation (uint32 &mapId, float &x, float &y) const |
| |
| void | GetWorldLocation (uint32 &mapId, float &x, float &y, float &z) const |
| |
| void | GetWorldLocation (uint32 &mapId, float &x, float &y, float &z, float &o) const |
| |
| void | GetWorldLocation (WorldLocation *location) const |
| |
| WorldLocation | GetWorldLocation () const |
| |
| std::string | GetDebugInfo () const |
| |
| | Position (float x=0, float y=0, float z=0, float o=0) |
| |
| | Position (Position const &loc) |
| |
| | Position (Position &&)=default |
| |
| Position & | operator= (const Position &)=default |
| |
| Position & | operator= (Position &&)=default |
| |
| bool | operator== (Position const &a) const |
| |
| bool | operator!= (Position const &a) |
| |
| bool | operator!= (Position const &a) const |
| |
| | operator G3D::Vector3 () const |
| |
| void | Relocate (float x, float y) |
| |
| void | Relocate (float x, float y, float z) |
| |
| void | Relocate (float x, float y, float z, float orientation) |
| |
| void | Relocate (const Position &pos) |
| |
| void | Relocate (const Position *pos) |
| |
| void | RelocatePolarOffset (float angle, float dist, float z=0.0f) |
| |
| void | RelocateOffset (const Position &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 |
| |
| Position::PositionXYZStreamer | PositionXYZStream () |
| |
| Position::PositionXYZOStreamer | PositionXYZOStream () |
| |
| 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 (const Position &endPos, Position &retOffset) const |
| |
| Position | GetPositionWithOffset (Position const &offset) const |
| |
| float | GetAngle (const Position *pos) const |
| |
| float | GetAngle (float x, float y) const |
| |
| float | GetAbsoluteAngle (float x, float y) const |
| |
| float | GetAbsoluteAngle (Position const &pos) const |
| |
| float | GetAbsoluteAngle (Position const *pos) const |
| |
| float | GetRelativeAngle (const Position *pos) const |
| |
| float | GetRelativeAngle (float x, float y) const |
| |
| float | ToAbsoluteAngle (float relAngle) const |
| |
| void | GetSinCos (float x, float y, float &vsin, float &vcos) const |
| |
| bool | IsInDist2d (float x, float y, float dist) const |
| |
| bool | IsInDist2d (const Position *pos, float dist) const |
| |
| bool | IsInDist (float x, float y, float z, float dist) const |
| |
| bool | IsInDist (const Position *pos, float dist) const |
| |
| bool | IsWithinBox (const Position ¢er, float xradius, float yradius, float zradius) const |
| |
| bool | HasInArc (float arcangle, const Position *pos, float targetRadius=0.0f) const |
| |
| bool | HasInLine (Position const *pos, float width) const |
| |
| bool | HasInLine (Position const *pos, float objSize, float width) const |
| |
| std::string | ToString () const |
| |
| bool | IsInGrid () const |
| |
| void | AddToGrid (GridRefMgr< Player > &m) |
| |
| void | RemoveFromGrid () |
| |