23 #define MAX_BAG_SIZE 36 // 2.0.12
41 void StoreItem(
uint8 slot,
Item* pItem,
bool update);
42 void RemoveItem(
uint8 slot,
bool update);
50 uint32 GetFreeSlots()
const;
uint32 GetUInt32Value(uint16 index) const
Definition: Object.cpp:300
Definition: UpdateFields.h:71
#define MAX_BAG_SIZE
Definition: Bag.h:23
Class used to access individual fields of database query result.
Definition: Field.h:56
virtual bool Create(ObjectGuid::LowType guidlow, uint32 itemid, Player const *owner)
Definition: Item.cpp:254
arena_t NULL
Definition: jemalloc_internal.h:624
virtual bool LoadFromDB(ObjectGuid::LowType guid, ObjectGuid ownerGuid, Field *fields, uint32 entry)
Definition: Item.cpp:411
uint64 LowType
Definition: ObjectGuid.h:199
Definition: UpdateData.h:59
virtual void SaveToDB(SQLTransaction &trans)
Definition: Item.cpp:311
InventoryType GetInventoryType() const
Definition: ItemTemplate.h:664
Item * NewItemOrBag(ItemTemplate const *proto)
Definition: Bag.h:69
uint32_t uint32
Definition: Define.h:150
uint32 GetBagSize() const
Definition: Bag.h:51
virtual void RemoveFromWorld()
Definition: Object.cpp:156
Definition: ItemTemplate.h:350
virtual void AddToWorld()
Definition: Object.cpp:142
virtual void BuildCreateUpdateBlockForPlayer(UpdateData *data, Player *target) const
Definition: Object.cpp:167
static void DeleteFromDB(SQLTransaction &trans, ObjectGuid::LowType itemGuid)
Definition: Item.cpp:518
Definition: ItemTemplate.h:647
#define TC_GAME_API
Definition: Define.h:134
uint8_t uint8
Definition: Define.h:152
Definition: ObjectGuid.h:189
std::shared_ptr< Transaction > SQLTransaction
Definition: Transaction.h:58