376 TC_LOG_ERROR(
"guild",
"Invalid slot for item (GUID: " UI64FMTD ", id: %u) in guild bank, skipped.", itemGuid, itemEntry);
383 TC_LOG_ERROR(
"guild",
"Unknown item (GUID: " UI64FMTD ", id: %u) in guild bank, skipped.", itemGuid, itemEntry);
390 TC_LOG_ERROR(
"guild",
"Item (GUID " UI64FMTD ", id: %u) not found in item_instance, deleting from guild bank!", itemGuid, itemEntry);
void Execute(const char *sql)
Definition: DatabaseWorkerPool.h:87
static ObjectGuid const Empty
Definition: ObjectGuid.h:196
uint64 GetUInt64() const
Definition: Field.h:184
void setUInt8(const uint8 index, const uint8 value)
Definition: PreparedStatement.cpp:97
virtual bool LoadFromDB(ObjectGuid::LowType guid, ObjectGuid ownerGuid, Field *fields, uint32 entry)
Definition: Item.cpp:411
uint64 LowType
Definition: ObjectGuid.h:199
ObjectGuid::LowType m_guildId
Definition: Guild.h:650
#define sObjectMgr
Definition: ObjectMgr.h:1567
Definition: PreparedStatement.h:74
uint8 GetUInt8() const
Definition: Field.h:70
uint8 m_tabId
Definition: Guild.h:651
Definition: CharacterDatabase.h:34
Item * NewItemOrBag(ItemTemplate const *proto)
Definition: Bag.h:69
#define UI64FMTD
Definition: Define.h:137
uint32_t uint32
Definition: Define.h:150
PreparedStatement * GetPreparedStatement(PreparedStatementIndex index)
Definition: DatabaseWorkerPool.h:263
virtual void AddToWorld()
Definition: Object.cpp:142
Item * m_items[GUILD_BANK_MAX_SLOTS]
Definition: Guild.h:653
Definition: ItemTemplate.h:647
uint32 GetUInt32() const
Definition: Field.h:146
void setUInt64(const uint8 index, const uint64 value)
Definition: PreparedStatement.cpp:124
uint8_t uint8
Definition: Define.h:152
CharacterDatabaseWorkerPool CharacterDatabase
Accessor to the character database.
Definition: DatabaseEnv.cpp:21
#define TC_LOG_ERROR(filterType__,...)
Definition: Log.h:207