TrinityCore
Loading...
Searching...
No Matches
Item.h File Reference
#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)
 

Variables

ItemModifier const AppearanceModifierSlotBySpec [MAX_SPECIALIZATIONS]
 
ItemModifier const IllusionModifierSlotBySpec [MAX_SPECIALIZATIONS]
 
ItemModifier const SecondaryAppearanceModifierSlotBySpec [MAX_SPECIALIZATIONS]
 
int32 const ItemTransmogrificationSlots [MAX_INVTYPE]
 

Macro Definition Documentation

◆ MAX_ENCHANTMENT_OFFSET

#define MAX_ENCHANTMENT_OFFSET   3

Definition at line 42 of file Item.h.

◆ MAX_GEM_SOCKETS

#define MAX_GEM_SOCKETS   MAX_ITEM_PROTO_SOCKETS

Definition at line 40 of file Item.h.

◆ MAX_ITEM_SPELLS

#define MAX_ITEM_SPELLS   5

Definition at line 52 of file Item.h.

Enumeration Type Documentation

◆ ItemUpdateState

Enumerator
ITEM_UNCHANGED 
ITEM_CHANGED 
ITEM_NEW 
ITEM_REMOVED 

Definition at line 44 of file Item.h.

Function Documentation

◆ ItemCanGoIntoBag()

◆ NewItemOrBag()

Variable Documentation

◆ AppearanceModifierSlotBySpec

◆ IllusionModifierSlotBySpec

ItemModifier const IllusionModifierSlotBySpec[MAX_SPECIALIZATIONS]
extern

◆ ItemTransmogrificationSlots

int32 const ItemTransmogrificationSlots[MAX_INVTYPE]
extern

◆ SecondaryAppearanceModifierSlotBySpec

ItemModifier const SecondaryAppearanceModifierSlotBySpec[MAX_SPECIALIZATIONS]
extern