|
| | Bag () |
| |
| | ~Bag () |
| |
| void | AddToWorld () override |
| |
| void | RemoveFromWorld () override |
| |
| bool | Create (ObjectGuid::LowType guidlow, uint32 itemid, ItemContext context, Player const *owner) override |
| |
| void | StoreItem (uint8 slot, Item *pItem, bool update) |
| |
| void | RemoveItem (uint8 slot, bool update) |
| |
| Item * | GetItemByPos (uint8 slot) const |
| |
| uint8 | GetSlotByItemGUID (ObjectGuid guid) const |
| |
| bool | IsEmpty () const |
| |
| uint32 | GetFreeSlots () const |
| |
| uint32 | GetBagSize () const |
| |
| void | SaveToDB (CharacterDatabaseTransaction trans) override |
| |
| bool | LoadFromDB (ObjectGuid::LowType guid, ObjectGuid owner_guid, Field *fields, uint32 entry) override |
| |
| void | DeleteFromDB (CharacterDatabaseTransaction trans) override |
| |
| void | BuildValuesUpdateForPlayerWithMask (UpdateData *data, UF::ObjectData::Mask const &requestedObjectMask, UF::ItemData::Mask const &requestedItemMask, UF::ContainerData::Mask const &requestedContainerMask, Player const *target, bool ignoreNestedChangesMask) const |
| |
| 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 |
| |
| 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) 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 | IsPotion () const |
| |
| 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) 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 |
| |
| 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 |
| |
| virtual | ~BaseEntity () |
| |
| bool | IsInWorld () const |
| |
| ObjectGuid const & | GetGUID () const |
| |
| TypeID | GetTypeId () const |
| |
| bool | isType (TypeMask mask) const |
| |
| bool | IsWorldObject () const |
| |
| bool | IsItem () const |
| |
| bool | IsUnit () const |
| |
| bool | IsCreature () const |
| |
| bool | IsPlayer () const |
| |
| bool | IsGameObject () const |
| |
| bool | IsDynObject () const |
| |
| bool | IsCorpse () const |
| |
| bool | IsAreaTrigger () const |
| |
| bool | IsSceneObject () const |
| |
| bool | IsConversation () const |
| |
| bool | IsMeshObject () const |
| |
| void | SendUpdateToPlayer (Player *player) const |
| |
| void | BuildValuesUpdateBlockForPlayer (UpdateData *data, Player const *target) const |
| |
| void | BuildDestroyUpdateBlock (UpdateData *data) const |
| |
| void | BuildOutOfRangeUpdateBlock (UpdateData *data) const |
| |
| 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 &) |
| |
|
| void | BuildCreateUpdateBlockForPlayer (UpdateData *data, Player *target) const override |
| |
| void | BuildValuesCreate (UF::UpdateFieldFlag flags, ByteBuffer &data, Player const *target) const override |
| |
| void | BuildValuesUpdate (UF::UpdateFieldFlag flags, ByteBuffer &data, Player const *target) const override |
| |
| void | ClearValuesChangesMask () override |
| |
| void | SetBagSize (uint32 numSlots) |
| |
| void | SetSlot (uint32 slot, ObjectGuid guid) |
| |
| 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 |
| |
| | Object () |
| |
| void | BuildEntityFragmentsForValuesUpdateForPlayerWithMask (ByteBuffer &data, EnumFlag< UF::UpdateFieldFlag > flags) const |
| |
| | BaseEntity () |
| |
| void | _Create (ObjectGuid const &guid) |
| |
| template<typename T > |
| void | SetUpdateFieldValue (UF::UpdateFieldPrivateSetter< T > setter, typename UF::UpdateFieldPrivateSetter< T >::value_type value) |
| |
| template<typename T > |
| void | SetUpdateFieldFlagValue (UF::UpdateFieldPrivateSetter< T > setter, typename UF::UpdateFieldPrivateSetter< T >::value_type flag) |
| |
| template<typename T > |
| void | RemoveUpdateFieldFlagValue (UF::UpdateFieldPrivateSetter< T > setter, typename UF::UpdateFieldPrivateSetter< T >::value_type flag) |
| |
| template<typename T > |
| UF::DynamicUpdateFieldSetter< T >::insert_result | AddDynamicUpdateFieldValue (UF::DynamicUpdateFieldSetter< T > setter) |
| |
| template<typename T > |
| UF::DynamicUpdateFieldSetter< T >::insert_result | InsertDynamicUpdateFieldValue (UF::DynamicUpdateFieldSetter< T > setter, uint32 index) |
| |
| template<typename T > |
| void | RemoveDynamicUpdateFieldValue (UF::DynamicUpdateFieldSetter< T > setter, uint32 index) |
| |
| template<typename T > |
| void | ClearDynamicUpdateFieldValues (UF::DynamicUpdateFieldSetter< T > setter) |
| |
| template<typename K , typename V > |
| void | RemoveMapUpdateFieldValue (UF::MapUpdateFieldSetter< K, V > setter, std::type_identity_t< K > const &key) |
| |
| template<typename T > |
| void | InsertSetUpdateFieldValue (UF::SetUpdateFieldSetter< T > setter, std::type_identity_t< T > const &key) |
| |
| template<typename T > |
| void | RemoveSetUpdateFieldValue (UF::SetUpdateFieldSetter< T > setter, std::type_identity_t< T > const &key) |
| |
| template<typename T > |
| void | RemoveOptionalUpdateFieldValue (UF::OptionalUpdateFieldSetter< T > setter) |
| |
| template<typename T > |
| void | SetUpdateFieldStatValue (UF::UpdateFieldPrivateSetter< T > setter, typename UF::UpdateFieldPrivateSetter< T >::value_type value) |
| |
| template<typename T > |
| void | ApplyModUpdateFieldValue (UF::UpdateFieldPrivateSetter< T > setter, typename UF::UpdateFieldPrivateSetter< T >::value_type mod, bool apply) |
| |
| template<typename T > |
| void | ApplyPercentModUpdateFieldValue (UF::UpdateFieldPrivateSetter< T > setter, float percent, bool apply) |
| |
| template<typename Action > |
| void | DoWithSuppressingObjectUpdates (Action &&action) |
| |
| void | BuildMovementUpdate (ByteBuffer &data, CreateObjectBits flags, Player const *target) const |
| |
| void | AddToObjectUpdateIfNeeded () |
| |
|
| static 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, uint32 minItemLevel, uint32 minItemLevelCutoff, uint32 maxItemLevel, bool pvpBonus, uint32 azeriteLevel) |
| |
| 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 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 ObjectGuid | GetGUID (BaseEntity const *o) |
| |
| static void | BuildEntityFragments (ByteBuffer &data, std::span< WowCS::EntityFragment const > fragments) |
| |
Definition at line 26 of file Bag.h.