![]() |
TrinityCore
|
#include "Object.h"#include "Common.h"#include "DatabaseEnvFwd.h"#include "ItemDefines.h"#include "ItemEnchantmentMgr.h"#include "ItemTemplate.h"
Include dependency graph for Item.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Classes | |
| struct | BonusData |
| struct | ArtifactPowerData |
| struct | ArtifactData |
| struct | AzeriteItemSelectedEssencesData |
| struct | AzeriteItemData |
| struct | AzeriteEmpoweredItemData |
| struct | ItemAdditionalLoadInfo |
| struct | ItemDynamicFieldGems |
| class | Item |
| struct | Item::ValuesUpdateForPlayerWithMaskSender |
Namespaces | |
| namespace | WorldPackets |
| namespace | WorldPackets::Item |
Macros | |
| #define | MAX_GEM_SOCKETS MAX_ITEM_PROTO_SOCKETS |
| #define | MAX_ENCHANTMENT_OFFSET 3 |
| #define | MAX_ITEM_SPELLS 5 |
Enumerations | |
| enum | ItemUpdateState { ITEM_UNCHANGED = 0 , ITEM_CHANGED = 1 , ITEM_NEW = 2 , ITEM_REMOVED = 3 } |
Functions | |
| bool | ItemCanGoIntoBag (ItemTemplate const *proto, ItemTemplate const *pBagProto) |
| Item * | NewItemOrBag (ItemTemplate const *proto) |
| #define MAX_GEM_SOCKETS MAX_ITEM_PROTO_SOCKETS |
| enum ItemUpdateState |
| bool ItemCanGoIntoBag | ( | ItemTemplate const * | proto, |
| ItemTemplate const * | pBagProto | ||
| ) |
Definition at line 250 of file Item.cpp.
References BAG_FAMILY_MASK_ARROWS, BAG_FAMILY_MASK_BULLETS, BAG_FAMILY_MASK_COOKING_SUPP, BAG_FAMILY_MASK_ENCHANTING_SUPP, BAG_FAMILY_MASK_ENGINEERING_SUPP, BAG_FAMILY_MASK_FISHING_SUPP, BAG_FAMILY_MASK_GEMS, BAG_FAMILY_MASK_HERBS, BAG_FAMILY_MASK_INSCRIPTION_SUPP, BAG_FAMILY_MASK_LEATHERWORKING_SUPP, BAG_FAMILY_MASK_MINING_SUPP, BAG_FAMILY_MASK_SOUL_SHARDS, ItemTemplate::GetBagFamily(), ItemTemplate::GetClass(), ItemTemplate::GetSubClass(), ItemTemplate::IsCraftingReagent(), ITEM_CLASS_CONTAINER, ITEM_CLASS_QUIVER, ITEM_SUBCLASS_AMMO_POUCH, ITEM_SUBCLASS_CONTAINER, ITEM_SUBCLASS_COOKING_CONTAINER, ITEM_SUBCLASS_ENCHANTING_CONTAINER, ITEM_SUBCLASS_ENGINEERING_CONTAINER, ITEM_SUBCLASS_GEM_CONTAINER, ITEM_SUBCLASS_HERB_CONTAINER, ITEM_SUBCLASS_INSCRIPTION_CONTAINER, ITEM_SUBCLASS_LEATHERWORKING_CONTAINER, ITEM_SUBCLASS_MINING_CONTAINER, ITEM_SUBCLASS_QUIVER, ITEM_SUBCLASS_REAGENT_CONTAINER, ITEM_SUBCLASS_SOUL_CONTAINER, and ITEM_SUBCLASS_TACKLE_CONTAINER.
Referenced by Player::CanStoreItem_InBag(), Player::CanStoreItem_InSpecificSlot(), Player::CanStoreItems(), and Player::SwapItem().
| Item * NewItemOrBag | ( | ItemTemplate const * | proto | ) |
Definition at line 55 of file Item.cpp.
References ItemTemplate::GetId(), ItemTemplate::GetInventoryType(), INVTYPE_BAG, and sDB2Manager.
Referenced by Player::_LoadItem(), Player::_LoadMailedItem(), Item::CreateItem(), AuctionHouseMgr::LoadAuctions(), and Guild::BankTab::LoadItemFromDB().
|
extern |
Definition at line 325 of file Item.cpp.
Referenced by Item::GetDisplayId(), Item::GetVisibleAppearanceModId(), Item::GetVisibleEntry(), Item::GetVisibleModifiedAppearanceId(), and WorldSession::HandleTransmogrifyItems().
|
extern |
Definition at line 334 of file Item.cpp.
Referenced by Item::GetVisibleEnchantmentId(), and WorldSession::HandleTransmogrifyItems().
|
extern |
Definition at line 2014 of file Item.cpp.
Referenced by CollectionMgr::AddItemAppearance(), Item::CanTransmogrifyItemWithItem(), and CollectionMgr::IsSetCompleted().
|
extern |
Definition at line 343 of file Item.cpp.
Referenced by Item::GetVisibleSecondaryModifiedAppearanceId(), and WorldSession::HandleTransmogrifyItems().