|
| PlayerMoveItemData (Guild *guild, Player *player, uint8 container, uint8 slotId) |
|
bool | IsBank () const override |
|
bool | InitItem () override |
|
void | RemoveItem (SQLTransaction &trans, MoveItemData *pOther, uint32 splitedAmount=0) override |
|
Item * | StoreItem (SQLTransaction &trans, Item *pItem) override |
|
void | LogBankEvent (SQLTransaction &trans, MoveItemData *pFrom, uint32 count) const override |
|
| MoveItemData (Guild *guild, Player *player, uint8 container, uint8 slotId) |
|
virtual | ~MoveItemData () |
|
virtual bool | CheckItem (uint32 &splitedAmount) |
|
virtual bool | HasStoreRights (MoveItemData *) const |
|
virtual bool | HasWithdrawRights (MoveItemData *) const |
|
bool | CanStore (Item *pItem, bool swap, bool sendError) |
|
bool | CloneItem (uint32 count) |
|
virtual void | LogAction (MoveItemData *pFrom) const |
|
void | CopySlots (SlotIds &ids) const |
|
Item * | GetItem (bool isCloned=false) const |
|
uint8 | GetContainer () const |
|
uint8 | GetSlotId () const |
|
Guild::PlayerMoveItemData::PlayerMoveItemData |
( |
Guild * |
guild, |
|
|
Player * |
player, |
|
|
uint8 |
container, |
|
|
uint8 |
slotId |
|
) |
| |
|
inline |
MoveItemData(Guild *guild, Player *player, uint8 container, uint8 slotId)
Definition: Guild.h:663
|
inlineoverrideprotectedvirtual |
Implements Guild::MoveItemData.
Player * m_pPlayer
Definition: Guild.h:699
uint8 m_slotId
Definition: Guild.h:701
ItemPosCountVec m_vec
Definition: Guild.h:704
uint8 m_container
Definition: Guild.h:700
bool Guild::PlayerMoveItemData::InitItem |
( |
| ) |
|
|
overridevirtual |
Implements Guild::MoveItemData.
arena_t NULL
Definition: jemalloc_internal.h:624
bool CanBeTraded(bool mail=false, bool trade=false) const
Definition: Item.cpp:769
bool IsNotEmptyBag() const
Definition: Item.cpp:286
Item * m_pItem
Definition: Guild.h:702
Player * m_pPlayer
Definition: Guild.h:699
uint8 m_slotId
Definition: Guild.h:701
uint8 m_container
Definition: Guild.h:700
bool Guild::PlayerMoveItemData::IsBank |
( |
| ) |
const |
|
inlineoverridevirtual |
Implements Guild::MoveItemData.
811 pFrom->GetItem()->GetEntry(), count);
Player * m_pPlayer
Definition: Guild.h:699
#define ASSERT
Definition: Errors.h:55
void _LogBankEvent(SQLTransaction &trans, GuildBankEventLogTypes eventType, uint8 tabId, ObjectGuid::LowType playerGuid, uint64 itemOrMoney, uint16 itemStackCount=0, uint8 destTabId=0)
Definition: Guild.cpp:3023
Guild * m_pGuild
Definition: Guild.h:698
Implements Guild::MoveItemData.
788 m_pPlayer->SaveInventoryAndGoldToDB(trans);
uint32 GetCount() const
Definition: Item.h:322
void SetState(ItemUpdateState state, Player *forplayer=NULL)
Definition: Item.cpp:686
static void DeleteFromInventoryDB(SQLTransaction &trans, ObjectGuid::LowType itemGuid)
Definition: Item.cpp:535
arena_t NULL
Definition: jemalloc_internal.h:624
void SetCount(uint32 value)
Definition: Item.cpp:794
Item * m_pItem
Definition: Guild.h:702
Player * m_pPlayer
Definition: Guild.h:699
uint8 m_slotId
Definition: Guild.h:701
uint8 m_container
Definition: Guild.h:700
Implements Guild::MoveItemData.
802 m_pPlayer->SaveInventoryAndGoldToDB(trans);
Player * m_pPlayer
Definition: Guild.h:699
ItemPosCountVec m_vec
Definition: Guild.h:704
#define ASSERT
Definition: Errors.h:55
The documentation for this class was generated from the following files: