TrinityCore
Loading...
Searching...
No Matches
AzeriteItem Class Referencefinal

#include <AzeriteItem.h>

+ Inheritance diagram for AzeriteItem:

Classes

struct  ValuesUpdateForPlayerWithMaskSender
 

Public Member Functions

 AzeriteItem ()
 
bool Create (ObjectGuid::LowType guidlow, uint32 itemId, ItemContext context, Player const *owner) override
 
void SaveToDB (CharacterDatabaseTransaction trans) override
 
void LoadAzeriteItemData (Player const *owner, AzeriteItemData &azeriteItem)
 
void DeleteFromDB (CharacterDatabaseTransaction trans) override
 
uint32 GetLevel () const
 
uint32 GetEffectiveLevel () const
 
void GiveXP (uint64 xp)
 
bool CanUseEssences () const
 
bool HasUnlockedEssenceSlot (uint8 slot) const
 
bool HasUnlockedEssenceMilestone (uint32 azeriteItemMilestonePowerId) const
 
void AddUnlockedEssenceMilestone (uint32 azeriteItemMilestonePowerId)
 
uint32 GetEssenceRank (uint32 azeriteEssenceId) const
 
void SetEssenceRank (uint32 azeriteEssenceId, uint32 rank)
 
UF::SelectedAzeriteEssences const * GetSelectedAzeriteEssences () const
 
void SetSelectedAzeriteEssences (uint32 specializationId)
 
void CreateSelectedAzeriteEssences (uint32 specializationId)
 
void SetSelectedAzeriteEssence (uint8 slot, uint32 azeriteEssenceId)
 
void BuildValuesUpdateWithFlag (UF::UpdateFieldFlag flags, ByteBuffer &data, Player const *target) const override
 
void BuildValuesUpdateForPlayerWithMask (UpdateData *data, UF::ObjectData::Mask const &requestedObjectMask, UF::ItemData::Mask const &requestedItemMask, UF::AzeriteItemData::Mask const &requestedAzeriteItemMask, Player const *target, bool ignoreNestedChangesMask) const
 
- Public Member Functions inherited from Item
Item * CloneItem (uint32 count, Player const *player=nullptr) const
 
 Item ()
 
 ~Item ()
 
std::string GetNameForLocaleIdx (LocaleConstant locale) const override
 
ItemTemplate const * GetTemplate () const
 
BonusData const * GetBonus () const
 
ObjectGuid GetOwnerGUID () const
 
void SetOwnerGUID (ObjectGuid guid)
 
ObjectGuid GetContainedIn () const
 
void SetContainedIn (ObjectGuid guid)
 
ObjectGuid GetCreator () const
 
void SetCreator (ObjectGuid guid)
 
ObjectGuid GetGiftCreator () const
 
void SetGiftCreator (ObjectGuid guid)
 
Player * GetOwner () const
 
void SetExpiration (uint32 expiration)
 
ItemBondingType GetBonding () const
 
void SetBinding (bool val)
 
bool HasItemFlag (ItemFieldFlags flag) const
 
void SetItemFlag (ItemFieldFlags flags)
 
void RemoveItemFlag (ItemFieldFlags flags)
 
void ReplaceAllItemFlags (ItemFieldFlags flags)
 
bool HasItemZoneFlag (ItemZoneFlags flag) const
 
void SetItemZoneFlag (ItemZoneFlags flags)
 
void RemoveItemZoneFlag (ItemZoneFlags flags)
 
void ReplaceAllItemZoneFlags (ItemZoneFlags flags)
 
bool IsSoulBound () const
 
bool IsBoundAccountWide () const
 
bool IsBattlenetAccountBound () const
 
bool IsBindedNotWith (Player const *player) const
 
bool IsBoundByEnchant () const
 
virtual bool LoadFromDB (ObjectGuid::LowType guid, ObjectGuid ownerGuid, Field *fields, uint32 entry)
 
void LoadAdditionalDataFromDB (Player const *owner, ItemAdditionalLoadInfo *addionalData)
 
void LoadArtifactData (Player const *owner, uint64 xp, uint32 artifactAppearanceId, uint32 artifactTier, std::vector< ArtifactPowerData > &powers)
 
void CheckArtifactRelicSlotUnlock (Player const *owner)
 
void AddBonuses (uint32 bonusListID)
 
std::vector< int32 > const & GetBonusListIDs () const
 
void SetBonuses (std::vector< int32 > bonusListIDs)
 
void ClearBonuses ()
 
void DeleteFromInventoryDB (CharacterDatabaseTransaction trans)
 
void SaveRefundDataToDB ()
 
void DeleteRefundDataFromDB (CharacterDatabaseTransaction *trans)
 
Bag * ToBag ()
 
Bag const * ToBag () const
 
AzeriteItem * ToAzeriteItem ()
 
AzeriteItem const * ToAzeriteItem () const
 
AzeriteEmpoweredItem * ToAzeriteEmpoweredItem ()
 
AzeriteEmpoweredItem const * ToAzeriteEmpoweredItem () const
 
bool IsRefundable () const
 
bool IsBOPTradeable () const
 
bool IsWrapped () const
 
bool IsLocked () const
 
bool IsBag () const
 
bool IsAzeriteItem () const
 
bool IsAzeriteEmpoweredItem () const
 
bool IsCurrencyToken () const
 
bool IsNotEmptyBag () const
 
bool IsBroken () const
 
void SetDurability (uint32 durability)
 
void SetMaxDurability (uint32 maxDurability)
 
bool CanBeTraded (bool mail=false, bool trade=false) const
 
void SetInTrade (bool b=true)
 
bool IsInTrade () const
 
uint64 CalculateDurabilityRepairCost (float discount, bool useRateConfig=true) const
 
bool HasEnchantRequiredSkill (Player const *player) const
 
uint32 GetEnchantRequiredLevel () const
 
bool IsFitToSpellRequirements (SpellInfo const *spellInfo) const
 
bool IsLimitedToAnotherMapOrZone (uint32 cur_mapId, uint32 cur_zoneId) const
 
bool GemsFitSockets () const
 
uint32 GetCount () const
 
void SetCount (uint32 value)
 
uint32 GetMaxStackCount () const
 
uint8 GetGemCountWithID (uint32 GemID) const
 
uint8 GetGemCountWithLimitCategory (uint32 limitCategory) const
 
InventoryResult CanBeMergedPartlyWith (ItemTemplate const *proto) const
 
uint8 GetSlot () const
 
Bag * GetContainer ()
 
uint8 GetBagSlot () const
 
void SetSlot (uint8 slot)
 
uint16 GetPos () const
 
void SetContainer (Bag *container)
 
bool IsInBag () const
 
bool IsEquipped () const
 
uint32 GetSkill ()
 
ItemRandomBonusListId GetItemRandomBonusListId () const
 
void SetItemRandomBonusList (ItemRandomBonusListId bonusListId)
 
void SetEnchantment (EnchantmentSlot slot, uint32 id, uint32 duration, uint32 charges, ObjectGuid caster=ObjectGuid::Empty)
 
void SetEnchantmentDuration (EnchantmentSlot slot, uint32 duration, Player *owner)
 
void SetEnchantmentCharges (EnchantmentSlot slot, uint32 charges)
 
void ClearEnchantment (EnchantmentSlot slot)
 
uint32 GetEnchantmentId (EnchantmentSlot slot) const
 
uint32 GetEnchantmentDuration (EnchantmentSlot slot) const
 
uint32 GetEnchantmentCharges (EnchantmentSlot slot) const
 
UF::SocketedGem const * GetGem (uint16 slot) const
 
void SetGem (uint16 slot, ItemDynamicFieldGems const *gem, uint32 gemScalingLevel)
 
std::string const & GetText () const
 
void SetText (std::string const &text)
 
void SendUpdateSockets ()
 
void SendTimeUpdate (Player *owner)
 
void UpdateDuration (Player *owner, uint32 diff)
 
void SetCreatePlayedTime (uint32 createPlayedTime)
 
void SetCreateTime (int64 createTime)
 
int32 GetSpellCharges (ItemEffectEntry const *effect=nullptr) const
 
void SetSpellCharges (ItemEffectEntry const *effect, int32 value)
 
Loot * GetLootForPlayer (Player const *) const override
 
ItemUpdateState GetState () const
 
void SetState (ItemUpdateState state, Player *forplayer=nullptr)
 
bool IsInUpdateQueue () const
 
uint16 GetQueuePos () const
 
void FSetState (ItemUpdateState state)
 
bool hasQuest (uint32 quest_id) const override
 
bool hasInvolvedQuest (uint32) const override
 
bool IsVellum () const
 
bool IsConjuredConsumable () const
 
uint32 GetQuality () const
 
uint32 GetItemLevel (Player const *owner) const
 
int32 GetRequiredLevel () const
 
int32 GetItemStatType (uint32 index) const
 
float GetItemStatValue (uint32 index, Player const *owner) const
 
uint32 GetSocketColor (uint32 index) const
 
uint32 GetAppearanceModId () const
 
void SetAppearanceModId (uint32 appearanceModId)
 
uint32 GetDisplayId (Player const *owner) const
 
ItemModifiedAppearanceEntry const * GetItemModifiedAppearance () const
 
float GetRepairCostMultiplier () const
 
uint32 GetScalingContentTuningId () const
 
Optional< uint32 > GetDisenchantLootId () const
 
Optional< uint16 > GetDisenchantSkillRequired () const
 
void SetFixedLevel (uint8 level)
 
std::span< ItemEffectEntry const *const > GetEffects () const
 
uint32 GetItemLimitCategory () const
 
void SetNotRefundable (Player *owner, bool changestate=true, CharacterDatabaseTransaction *trans=nullptr, bool addToCollection=true)
 
void SetRefundRecipient (ObjectGuid const &guid)
 
void SetPaidMoney (uint64 money)
 
void SetPaidExtendedCost (uint32 iece)
 
ObjectGuid const & GetRefundRecipient () const
 
uint64 GetPaidMoney () const
 
uint32 GetPaidExtendedCost () const
 
uint32 GetPlayedTime () const
 
bool IsRefundExpired () const
 
void SetSoulboundTradeable (GuidSet const &allowedLooters)
 
void ClearSoulboundTradeable (Player *currentOwner)
 
bool CheckSoulboundTradeExpire ()
 
void BuildUpdate (UpdateDataMapType &) override
 
void BuildValuesUpdateWithFlag (UF::UpdateFieldFlag flags, ByteBuffer &data, Player const *target) const override
 
void BuildValuesUpdateForPlayerWithMask (UpdateData *data, UF::ObjectData::Mask const &requestedObjectMask, UF::ItemData::Mask const &requestedItemMask, Player const *target, bool ignoreNestedChangesMask) const
 
bool AddToObjectUpdate () override
 
void RemoveFromObjectUpdate () override
 
uint32 GetScriptId () const
 
bool IsValidTransmogrificationTarget () const
 
uint32 GetBuyPrice (Player const *owner, bool &standardPrice) const
 
uint32 GetSellPrice (Player const *owner, bool forVendor=false) const
 
uint32 GetVisibleEntry (Player const *owner) const
 
uint16 GetVisibleAppearanceModId (Player const *owner) const
 
uint32 GetVisibleModifiedAppearanceId (Player const *owner) const
 
int32 GetVisibleSecondaryModifiedAppearanceId (Player const *owner) const
 
uint32 GetVisibleEnchantmentId (Player const *owner) const
 
uint16 GetVisibleItemVisual (Player const *owner) const
 
uint32 GetModifier (ItemModifier modifier) const
 
void SetModifier (ItemModifier modifier, uint32 value)
 
ObjectGuid GetChildItem () const
 
void SetChildItem (ObjectGuid childItem)
 
bool IsArtifactDisabled () const
 
UF::ArtifactPower const * GetArtifactPower (uint32 artifactPowerId) const
 
void AddArtifactPower (ArtifactPowerData const *artifactPower)
 
void SetArtifactPower (uint16 artifactPowerId, uint8 purchasedRank, uint8 currentRankWithBonus)
 
void InitArtifactPowers (uint8 artifactId, uint8 artifactTier)
 
uint32 GetTotalUnlockedArtifactPowers () const
 
uint32 GetTotalPurchasedArtifactPowers () const
 
void ApplyArtifactPowerEnchantmentBonuses (EnchantmentSlot slot, uint32 enchantId, bool apply, Player *owner)
 
void CopyArtifactDataFromParent (Item *parent)
 
void SetArtifactXP (uint64 xp)
 
void GiveArtifactXp (uint64 amount, Item *sourceItem, uint32 artifactCategoryId)
 
ItemContext GetContext () const
 
void SetContext (ItemContext context)
 
void SetPetitionId (uint32 petitionId)
 
void SetPetitionNumSignatures (uint32 signatures)
 
std::string GetDebugInfo () const override
 
- Public Member Functions inherited from Object
virtual ~Object ()
 
void AddToWorld () override
 
void RemoveFromWorld () override
 
uint32 GetEntry () const
 
void SetEntry (uint32 entry)
 
float GetObjectScale () const
 
virtual void SetObjectScale (float scale)
 
uint32 GetDynamicFlags () const
 
bool HasDynamicFlag (uint32 flag) const
 
void SetDynamicFlag (uint32 flag)
 
void RemoveDynamicFlag (uint32 flag)
 
void ReplaceAllDynamicFlags (uint32 flag)
 
void BuildValuesUpdateBlockForPlayerWithFlag (UpdateData *data, UF::UpdateFieldFlag flags, Player const *target) const
 
WorldObject * ToWorldObject ()
 
WorldObject const * ToWorldObject () const
 
Item * ToItem ()
 
Item const * ToItem () const
 
Unit * ToUnit ()
 
Unit const * ToUnit () const
 
Creature * ToCreature ()
 
Creature const * ToCreature () const
 
Player * ToPlayer ()
 
Player const * ToPlayer () const
 
GameObject * ToGameObject ()
 
GameObject const * ToGameObject () const
 
Corpse * ToCorpse ()
 
Corpse const * ToCorpse () const
 
DynamicObject * ToDynObject ()
 
DynamicObject const * ToDynObject () const
 
AreaTrigger * ToAreaTrigger ()
 
AreaTrigger const * ToAreaTrigger () const
 
SceneObject * ToSceneObject ()
 
SceneObject const * ToSceneObject () const
 
Conversation * ToConversation ()
 
Conversation const * ToConversation () const
 
std::string GetDebugInfo () const override
 
Trinity::unique_weak_ptr< Object > GetWeakPtr () const
 
virtual SpawnTrackingStateData const * GetSpawnTrackingStateDataForPlayer (Player const *player) const
 
- Public Member Functions inherited from BaseEntity
virtual ~BaseEntity ()
 
bool IsInWorld () const
 
ObjectGuid const & GetGUID () const
 
TypeID GetTypeId () const
 
bool isType (TypeMask mask) const
 
bool IsWorldObject () const
 
bool IsItem () const
 
bool IsUnit () const
 
bool IsCreature () const
 
bool IsPlayer () const
 
bool IsGameObject () const
 
bool IsDynObject () const
 
bool IsCorpse () const
 
bool IsAreaTrigger () const
 
bool IsSceneObject () const
 
bool IsConversation () const
 
bool IsMeshObject () const
 
virtual void BuildCreateUpdateBlockForPlayer (UpdateData *data, Player *target) const
 
void SendUpdateToPlayer (Player *player) const
 
void BuildValuesUpdateBlockForPlayer (UpdateData *data, Player const *target) const
 
void BuildDestroyUpdateBlock (UpdateData *data) const
 
void BuildOutOfRangeUpdateBlock (UpdateData *data) const
 
ByteBuffer & PrepareValuesUpdateBuffer (UpdateData *data) const
 
virtual void DestroyForPlayer (Player const *target) const
 
void SendOutOfRangeForPlayer (Player const *target) const
 
void ClearUpdateMask (bool remove)
 
void SetIsNewObject (bool enable)
 
bool IsDestroyedObject () const
 
void SetDestroyedObject (bool destroyed)
 
void BuildUpdateChangesMask ()
 
void BuildFieldsUpdate (Player *player, UpdateDataMapType &data_map) const
 
template<typename T >
void ForceUpdateFieldChange (UF::UpdateFieldPrivateSetter< T > const &)
 

Static Public Member Functions

static void DeleteFromDB (CharacterDatabaseTransaction trans, ObjectGuid::LowType itemGuid)
 
static uint32 GetCurrentKnowledgeLevel ()
 
static uint64 CalcTotalXPToNextLevel (uint32 level, uint32 knowledgeLevel)
 
static GameObject const * FindHeartForge (Player const *owner)
 
- Static Public Member Functions inherited from Item
static Item * CreateItem (uint32 itemEntry, uint32 count, ItemContext context, Player const *player=nullptr, bool addDefaultBonuses=true)
 
static void DeleteFromDB (CharacterDatabaseTransaction trans, ObjectGuid::LowType itemGuid)
 
static void DeleteFromInventoryDB (CharacterDatabaseTransaction trans, ObjectGuid::LowType itemGuid)
 
static uint32 GetItemLevel (ItemTemplate const *itemTemplate, BonusData const &bonusData, uint32 level, uint32 fixedLevel, int32 minItemLevel, int32 minItemLevelCutoff, int32 maxItemLevel, bool pvpBonus, uint32 azeriteLevel, uint32 overrideContentTuningId)
 
static ItemDisenchantLootEntry const * GetBaseDisenchantLoot (ItemTemplate const *itemTemplate, uint32 quality, uint32 itemLevel)
 
static bool CanTransmogrifyItemWithItem (Item const *item, ItemModifiedAppearanceEntry const *itemModifiedAppearance)
 
static uint32 GetBuyPrice (ItemTemplate const *proto, uint32 quality, uint32 itemLevel, bool &standardPrice)
 
static uint32 GetSellPrice (ItemTemplate const *proto, uint32 quality, uint32 itemLevel)
 
- Static Public Member Functions inherited from Object
static WorldObject * ToWorldObject (Object *o)
 
static WorldObject const * ToWorldObject (Object const *o)
 
static Item * ToItem (Object *o)
 
static Item const * ToItem (Object const *o)
 
static Unit * ToUnit (Object *o)
 
static Unit const * ToUnit (Object const *o)
 
static Creature * ToCreature (Object *o)
 
static Creature const * ToCreature (Object const *o)
 
static Player * ToPlayer (Object *o)
 
static Player const * ToPlayer (Object const *o)
 
static GameObject * ToGameObject (Object *o)
 
static GameObject const * ToGameObject (Object const *o)
 
static Corpse * ToCorpse (Object *o)
 
static Corpse const * ToCorpse (Object const *o)
 
static DynamicObject * ToDynObject (Object *o)
 
static DynamicObject const * ToDynObject (Object const *o)
 
static AreaTrigger * ToAreaTrigger (Object *o)
 
static AreaTrigger const * ToAreaTrigger (Object const *o)
 
static SceneObject * ToSceneObject (Object *o)
 
static SceneObject const * ToSceneObject (Object const *o)
 
static Conversation * ToConversation (Object *o)
 
static Conversation const * ToConversation (Object const *o)
 
- Static Public Member Functions inherited from BaseEntity
static ObjectGuid GetGUID (BaseEntity const *o)
 

Public Attributes

UF::UpdateField< UF::AzeriteItemData, int32(WowCS::EntityFragment::CGObject), TYPEID_AZERITE_ITEM > m_azeriteItemData
 
- Public Attributes inherited from Item
std::unique_ptr< Loot > m_loot
 
bool m_lootGenerated
 
UF::UpdateField< UF::ItemData, uint32(WowCS::EntityFragment::CGObject), TYPEID_ITEM > m_itemData
 
- Public Attributes inherited from Object
UF::UpdateField< UF::ObjectData, int32(WowCS::EntityFragment::CGObject), TYPEID_OBJECT > m_objectData
 
- Public Attributes inherited from BaseEntity
UF::UpdateFieldHolder m_values
 

Protected Member Functions

void BuildValuesCreate (UF::UpdateFieldFlag flags, ByteBuffer &data, Player const *target) const override
 
void BuildValuesUpdate (UF::UpdateFieldFlag flags, ByteBuffer &data, Player const *target) const override
 
void ClearValuesChangesMask () override
 
- Protected Member Functions inherited from Item
UF::UpdateFieldFlag GetUpdateFieldFlagsFor (Player const *target) const final
 
void BuildValuesCreate (UF::UpdateFieldFlag flags, ByteBuffer &data, Player const *target) const override
 
void BuildValuesUpdate (UF::UpdateFieldFlag flags, ByteBuffer &data, Player const *target) const override
 
void ClearValuesChangesMask () override
 
- Protected Member Functions inherited from Object
 Object ()
 
void BuildEntityFragmentsForValuesUpdateForPlayerWithMask (ByteBuffer &data, EnumFlag< UF::UpdateFieldFlag > flags) const
 
- Protected Member Functions inherited from BaseEntity
 BaseEntity ()
 
void _Create (ObjectGuid const &guid)
 
template<typename T >
void SetUpdateFieldValue (UF::UpdateFieldPrivateSetter< T > setter, typename UF::UpdateFieldPrivateSetter< T >::value_type value)
 
template<typename T >
void SetUpdateFieldFlagValue (UF::UpdateFieldPrivateSetter< T > setter, typename UF::UpdateFieldPrivateSetter< T >::value_type flag)
 
template<typename T >
void RemoveUpdateFieldFlagValue (UF::UpdateFieldPrivateSetter< T > setter, typename UF::UpdateFieldPrivateSetter< T >::value_type flag)
 
template<typename T >
UF::DynamicUpdateFieldSetter< T >::insert_result AddDynamicUpdateFieldValue (UF::DynamicUpdateFieldSetter< T > setter)
 
template<typename T >
UF::DynamicUpdateFieldSetter< T >::insert_result InsertDynamicUpdateFieldValue (UF::DynamicUpdateFieldSetter< T > setter, uint32 index)
 
template<typename T >
void RemoveDynamicUpdateFieldValue (UF::DynamicUpdateFieldSetter< T > setter, uint32 index)
 
template<typename T >
void ClearDynamicUpdateFieldValues (UF::DynamicUpdateFieldSetter< T > setter)
 
template<typename K , typename V >
void RemoveMapUpdateFieldValue (UF::MapUpdateFieldSetter< K, V > setter, std::type_identity_t< K > const &key)
 
template<typename T >
void InsertSetUpdateFieldValue (UF::SetUpdateFieldSetter< T > setter, std::type_identity_t< T > const &key)
 
template<typename T >
void RemoveSetUpdateFieldValue (UF::SetUpdateFieldSetter< T > setter, std::type_identity_t< T > const &key)
 
template<typename T >
void RemoveOptionalUpdateFieldValue (UF::OptionalUpdateFieldSetter< T > setter)
 
template<typename T >
void SetUpdateFieldStatValue (UF::UpdateFieldPrivateSetter< T > setter, typename UF::UpdateFieldPrivateSetter< T >::value_type value)
 
template<typename T >
void ApplyModUpdateFieldValue (UF::UpdateFieldPrivateSetter< T > setter, typename UF::UpdateFieldPrivateSetter< T >::value_type mod, bool apply)
 
template<typename T >
void ApplyPercentModUpdateFieldValue (UF::UpdateFieldPrivateSetter< T > setter, float percent, bool apply)
 
template<typename Action >
void DoWithSuppressingObjectUpdates (Action &&action)
 
void BuildMovementUpdate (ByteBuffer &data, CreateObjectBits flags, Player const *target) const
 
void AddToObjectUpdateIfNeeded ()
 

Private Member Functions

void UnlockDefaultMilestones ()
 

Additional Inherited Members

- Static Protected Member Functions inherited from BaseEntity
static void BuildEntityFragments (ByteBuffer &data, std::span< WowCS::EntityFragment const > fragments)
 
- Protected Attributes inherited from Item
BonusData _bonusData
 
- Protected Attributes inherited from BaseEntity
TypeID m_objectTypeId = NUM_CLIENT_OBJECT_TYPES
 
CreateObjectBits m_updateFlag = {}
 
WowCS::EntityFragmentsHolder m_entityFragments
 
bool m_objectUpdated = false
 

Detailed Description

Definition at line 29 of file AzeriteItem.h.

Constructor & Destructor Documentation

◆ AzeriteItem()

Member Function Documentation

◆ AddUnlockedEssenceMilestone()

void AzeriteItem::AddUnlockedEssenceMilestone ( uint32  azeriteItemMilestonePowerId)
inline

◆ BuildValuesCreate()

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

Implements Object.

Definition at line 394 of file AzeriteItem.cpp.

References flags, m_azeriteItemData, Item::m_itemData, and Object::m_objectData.

◆ BuildValuesUpdate()

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

◆ BuildValuesUpdateForPlayerWithMask()

◆ BuildValuesUpdateWithFlag()

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

◆ CalcTotalXPToNextLevel()

uint64 AzeriteItem::CalcTotalXPToNextLevel ( uint32  level,
uint32  knowledgeLevel 
)
static

◆ CanUseEssences()

◆ ClearValuesChangesMask()

void AzeriteItem::ClearValuesChangesMask ( )
overrideprotectedvirtual

◆ Create()

◆ CreateSelectedAzeriteEssences()

◆ DeleteFromDB() [1/2]

void AzeriteItem::DeleteFromDB ( CharacterDatabaseTransaction  trans)
overridevirtual

Reimplemented from Item.

Definition at line 210 of file AzeriteItem.cpp.

References DeleteFromDB(), Item::DeleteFromDB(), and BaseEntity::GetGUID().

◆ DeleteFromDB() [2/2]

◆ FindHeartForge()

GameObject const * AzeriteItem::FindHeartForge ( Player const *  owner)
static

◆ GetCurrentKnowledgeLevel()

uint32 AzeriteItem::GetCurrentKnowledgeLevel ( )
static

Definition at line 216 of file AzeriteItem.cpp.

References GameTime::GetGameTime(), and MAX_AZERITE_ITEM_KNOWLEDGE_LEVEL.

Referenced by Create(), and LoadAzeriteItemData().

◆ GetEffectiveLevel()

uint32 AzeriteItem::GetEffectiveLevel ( ) const
inline

Definition at line 42 of file AzeriteItem.h.

◆ GetEssenceRank()

uint32 AzeriteItem::GetEssenceRank ( uint32  azeriteEssenceId) const

◆ GetLevel()

uint32 AzeriteItem::GetLevel ( ) const
inline

◆ GetSelectedAzeriteEssences()

UF::SelectedAzeriteEssences const * AzeriteItem::GetSelectedAzeriteEssences ( ) const

◆ GiveXP()

◆ HasUnlockedEssenceMilestone()

bool AzeriteItem::HasUnlockedEssenceMilestone ( uint32  azeriteItemMilestonePowerId) const
inline

◆ HasUnlockedEssenceSlot()

bool AzeriteItem::HasUnlockedEssenceSlot ( uint8  slot) const

◆ LoadAzeriteItemData()

◆ SaveToDB()

◆ SetEssenceRank()

◆ SetSelectedAzeriteEssence()

◆ SetSelectedAzeriteEssences()

◆ UnlockDefaultMilestones()

void AzeriteItem::UnlockDefaultMilestones ( )
private

Member Data Documentation

◆ m_azeriteItemData


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