![]() |
TrinityCore
|
#include <Item.h>
Static Public Member Functions | |
| static Item * | CreateItem (uint32 itemEntry, uint32 count, Player const *player=NULL) |
| static void | DeleteFromDB (SQLTransaction &trans, ObjectGuid::LowType itemGuid) |
| static void | DeleteFromInventoryDB (SQLTransaction &trans, ObjectGuid::LowType itemGuid) |
| static int32 | GenerateItemRandomPropertyId (uint32 item_id) |
| static bool | IsValidTransmogrificationSource (WorldPackets::Item::ItemInstance const &transmogrifier, BonusData const *bonus) |
| static bool | HasStats (WorldPackets::Item::ItemInstance const &itemInstance, BonusData const *bonus) |
| static bool | CanTransmogrifyItemWithItem (Item const *transmogrified, WorldPackets::Item::ItemInstance const &transmogrifier, BonusData const *bonus) |
| static uint32 | GetSpecialPrice (ItemTemplate const *proto, uint32 minimumPrice=10000) |
| static uint32 | GetSellPrice (ItemTemplate const *proto, bool &success) |
Public Attributes | |
| Loot | loot |
| bool | m_lootGenerated |
Protected Attributes | |
| BonusData | _bonusData |
Protected Attributes inherited from Object | |
| uint16 | m_objectType |
| TypeID | m_objectTypeId |
| uint32 | m_updateFlag |
| union { | |
| int32 * m_int32Values | |
| uint32 * m_uint32Values | |
| float * m_floatValues | |
| }; | |
| std::vector< uint32 > * | _dynamicValues |
| UpdateMask | _changesMask |
| UpdateMask | _dynamicChangesMask |
| UpdateMask * | _dynamicChangesArrayMask |
| uint16 | m_valuesCount |
| uint16 | _dynamicValuesCount |
| uint16 | _fieldNotifyFlags |
| bool | m_objectUpdated |
Private Attributes | |
| std::string | m_text |
| uint8 | m_slot |
| Bag * | m_container |
| ItemUpdateState | uState |
| int16 | uQueuePos |
| bool | mb_in_trade |
| time_t | m_lastPlayedTimeUpdate |
| ObjectGuid | m_refundRecipient |
| uint32 | m_paidMoney |
| uint32 | m_paidExtendedCost |
| GuidSet | allowedGUIDs |
| uint32 | _modifiers [MAX_ITEM_MODIFIERS] |
Additional Inherited Members | |
Protected Member Functions inherited from Object | |
| Object () | |
| void | _InitValues () |
| void | _Create (ObjectGuid const &guid) |
| std::string | _ConcatFields (uint16 startIndex, uint16 size) const |
| void | _LoadIntoDataField (std::string const &data, uint32 startOffset, uint32 count) |
| uint32 | GetUpdateFieldData (Player const *target, uint32 *&flags) const |
| uint32 | GetDynamicUpdateFieldData (Player const *target, uint32 *&flags) const |
| void | BuildMovementUpdate (ByteBuffer *data, uint32 flags) const |
| virtual void | BuildValuesUpdate (uint8 updatetype, ByteBuffer *data, Player *target) const |
| void | AddToObjectUpdateIfNeeded () |
| Item::Item | ( | ) |
| void Item::AddBonuses | ( | uint32 | bonusListID | ) |
Here is the call graph for this function:
Here is the caller graph for this function:
|
overridevirtual |
| void Item::AddToUpdateQueueOf | ( | Player * | player | ) |
Here is the call graph for this function:
Here is the caller graph for this function:
|
overridevirtual |
Reimplemented from Object.
Here is the call graph for this function:
|
overridevirtual |
Reimplemented from Object.
Here is the call graph for this function:| InventoryResult Item::CanBeMergedPartlyWith | ( | ItemTemplate const * | proto | ) | const |
Here is the call graph for this function:
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Here is the call graph for this function:
Here is the caller graph for this function:| bool Item::CheckSoulboundTradeExpire | ( | ) |
Here is the call graph for this function:| void Item::ClearEnchantment | ( | EnchantmentSlot | slot | ) |
Here is the call graph for this function:
Here is the caller graph for this function:| void Item::ClearSoulboundTradeable | ( | Player * | currentOwner | ) |
Here is the call graph for this function:
Here is the caller graph for this function:
Here is the call graph for this function:
Here is the caller graph for this function:
|
virtual |
Reimplemented in Bag.
Here is the call graph for this function:
Here is the caller graph for this function:
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Here is the call graph for this function:
Here is the caller graph for this function:
|
virtual |
Reimplemented in Bag.
Here is the call graph for this function:
|
static |
Here is the call graph for this function:
Here is the caller graph for this function:| void Item::DeleteFromInventoryDB | ( | SQLTransaction & | trans | ) |
Here is the call graph for this function:| void Item::DeleteRefundDataFromDB | ( | SQLTransaction * | trans | ) |
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Here is the caller graph for this function:| bool Item::GemsFitSockets | ( | ) | const |
Here is the call graph for this function:
Here is the caller graph for this function:
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Here is the caller graph for this function:
Here is the call graph for this function:| uint8 Item::GetBagSlot | ( | ) | const |
Here is the call graph for this function:
Here is the caller graph for this function:
Here is the caller graph for this function:
|
inline |
Here is the caller graph for this function:
|
inline |
Here is the call graph for this function:
Here is the caller graph for this function:
Here is the call graph for this function:| uint32 Item::GetDisplayId | ( | ) | const |
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Here is the call graph for this function:
Here is the caller graph for this function:| uint32 Item::GetEnchantRequiredLevel | ( | ) | const |
Here is the call graph for this function:
Here is the call graph for this function:
Here is the caller graph for this function:
Here is the call graph for this function:
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Here is the call graph for this function:
Here is the caller graph for this function:
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Here is the caller graph for this function:| Player * Item::GetOwner | ( | ) | const |
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Here is the caller graph for this function:
|
inline |
Here is the caller graph for this function:| uint32 Item::GetPlayedTime | ( | ) |
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Here is the caller graph for this function:
|
inline |
Here is the caller graph for this function:
|
inline |
Here is the caller graph for this function:
|
inline |
Here is the caller graph for this function:
|
inline |
|
inline |
|
inline |
Here is the caller graph for this function:
|
inline |
Here is the caller graph for this function:
|
static |
Here is the call graph for this function:
Here is the caller graph for this function:| uint32 Item::GetSkill | ( | ) |
Here is the call graph for this function:
|
inline |
Here is the caller graph for this function:
|
inline |
Here is the caller graph for this function:
|
static |
Here is the call graph for this function:
Here is the caller graph for this function:
Here is the call graph for this function:
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Here is the caller graph for this function:| ItemTemplate const * Item::GetTemplate | ( | ) | const |
Here is the call graph for this function:
|
inline |
| uint32 Item::GetVisibleAppearanceModId | ( | ) | const |
Here is the call graph for this function:| uint32 Item::GetVisibleEntry | ( | ) | const |
Here is the call graph for this function:
Here is the call graph for this function:Reimplemented from Object.
| bool Item::HasStats | ( | ) | const |
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
|
inline |
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Here is the caller graph for this function:
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Here is the caller graph for this function:| bool Item::IsBoundByEnchant | ( | ) | const |
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Here is the call graph for this function:
|
inline |
Here is the call graph for this function:| bool Item::IsEquipped | ( | ) | const |
Here is the call graph for this function:
Here is the caller graph for this function:
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Here is the caller graph for this function:
|
inline |
|
inline |
Here is the caller graph for this function:
|
inline |
Here is the call graph for this function:
Here is the caller graph for this function:| bool Item::IsNotEmptyBag | ( | ) | const |
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Here is the call graph for this function:| bool Item::IsRefundExpired | ( | ) |
Here is the call graph for this function:
|
inline |
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Here is the call graph for this function:
Here is the caller graph for this function:| bool Item::IsValidTransmogrificationTarget | ( | ) | const |
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Here is the call graph for this function:
Here is the caller graph for this function:| void Item::ItemContainerDeleteLootItemFromDB | ( | uint32 | itemID | ) |
Here is the call graph for this function:| void Item::ItemContainerDeleteLootItemsFromDB | ( | ) |
Here is the call graph for this function:
Here is the caller graph for this function:| void Item::ItemContainerDeleteLootMoneyAndLootItemsFromDB | ( | ) |
Here is the call graph for this function:
Here is the caller graph for this function:| void Item::ItemContainerDeleteLootMoneyFromDB | ( | ) |
Here is the call graph for this function:
Here is the caller graph for this function:| bool Item::ItemContainerLoadLootFromDB | ( | ) |
Here is the call graph for this function:| void Item::ItemContainerSaveLootToDB | ( | ) |
Here is the call graph for this function:
|
virtual |
Reimplemented in Bag.
Here is the call graph for this function:
Here is the caller graph for this function:
|
overridevirtual |
| void Item::RemoveFromUpdateQueueOf | ( | Player * | player | ) |
Here is the call graph for this function:
Here is the caller graph for this function:| void Item::SaveRefundDataToDB | ( | ) |
Here is the call graph for this function:
|
virtual |
Reimplemented in Bag.
Here is the call graph for this function:
Here is the caller graph for this function:| void Item::SendTimeUpdate | ( | Player * | owner | ) |
Here is the call graph for this function:| void Item::SendUpdateSockets | ( | ) |
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Here is the caller graph for this function:| void Item::SetCount | ( | uint32 | value | ) |
Here is the call graph for this function:
Here is the caller graph for this function:| void Item::SetEnchantment | ( | EnchantmentSlot | slot, |
| uint32 | id, | ||
| uint32 | duration, | ||
| uint32 | charges, | ||
| ObjectGuid | caster = ObjectGuid::Empty |
||
| ) |
Here is the call graph for this function:
Here is the caller graph for this function:| void Item::SetEnchantmentCharges | ( | EnchantmentSlot | slot, |
| uint32 | charges | ||
| ) |
Here is the call graph for this function:| void Item::SetEnchantmentDuration | ( | EnchantmentSlot | slot, |
| uint32 | duration, | ||
| Player * | owner | ||
| ) |
Here is the call graph for this function:
Here is the caller graph for this function:| void Item::SetItemRandomProperties | ( | int32 | randomPropId | ) |
Here is the call graph for this function:
Here is the caller graph for this function:| void Item::SetModifier | ( | ItemModifier | modifier, |
| uint32 | value | ||
| ) |
Here is the call graph for this function:
Here is the caller graph for this function:| void Item::SetNotRefundable | ( | Player * | owner, |
| bool | changestate = true, |
||
| SQLTransaction * | trans = NULL |
||
| ) |
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Here is the caller graph for this function:
|
inline |
Here is the caller graph for this function:
|
inline |
Here is the caller graph for this function:
|
inline |
Here is the caller graph for this function:
Here is the call graph for this function:
Here is the call graph for this function:
Here is the caller graph for this function:| void Item::SetState | ( | ItemUpdateState | state, |
| Player * | forplayer = NULL |
||
| ) |
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Here is the caller graph for this function:
|
inline |
Here is the call graph for this function:| void Item::UpdateItemSuffixFactor | ( | ) |
Here is the call graph for this function:
Here is the caller graph for this function:| void Item::UpdatePlayedTime | ( | Player * | owner | ) |
Here is the call graph for this function:
|
protected |
|
private |
|
private |
| Loot Item::loot |
|
private |
|
private |
| bool Item::m_lootGenerated |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
1.8.8