AzerothCore 3.3.5a
OpenSource WoW Emulator
|
Public Member Functions | |
PlayerMoveItemData (Guild *guild, Player *player, uint8 container, uint8 slotId) | |
bool | IsBank () const override |
bool | InitItem () override |
void | RemoveItem (CharacterDatabaseTransaction trans, MoveItemData *pOther, uint32 splitedAmount=0) override |
Item * | StoreItem (CharacterDatabaseTransaction trans, Item *pItem) override |
void | LogBankEvent (CharacterDatabaseTransaction trans, MoveItemData *pFrom, uint32 count) const override |
Public Member Functions inherited from Guild::MoveItemData | |
MoveItemData (Guild *guild, Player *player, uint8 container, uint8 slotId) | |
virtual | ~MoveItemData () |
virtual bool | IsBank () const =0 |
virtual bool | InitItem ()=0 |
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 | RemoveItem (CharacterDatabaseTransaction trans, MoveItemData *pOther, uint32 splitedAmount=0)=0 |
virtual Item * | StoreItem (CharacterDatabaseTransaction trans, Item *pItem)=0 |
virtual void | LogBankEvent (CharacterDatabaseTransaction trans, MoveItemData *pFrom, uint32 count) const =0 |
virtual void | LogAction (MoveItemData *pFrom) const |
void | CopySlots (SlotIds &ids) const |
Item * | GetItem (bool isCloned=false) const |
uint8 | GetContainer () const |
uint8 | GetSlotId () const |
Protected Member Functions | |
InventoryResult | CanStore (Item *pItem, bool swap) override |
virtual InventoryResult | CanStore (Item *pItem, bool swap)=0 |
Additional Inherited Members | |
Protected Attributes inherited from Guild::MoveItemData | |
Guild * | m_pGuild |
Player * | m_pPlayer |
uint8 | m_container |
uint8 | m_slotId |
Item * | m_pItem |
Item * | m_pClonedItem |
ItemPosCountVec | m_vec |
|
inline |
|
inlineoverrideprotectedvirtual |
Implements Guild::MoveItemData.
|
overridevirtual |
Implements Guild::MoveItemData.
References EQUIP_ERR_CAN_ONLY_DO_WITH_EMPTY_BAGS, and EQUIP_ERR_ITEMS_CANT_BE_SWAPPED.
|
inlineoverridevirtual |
Implements Guild::MoveItemData.
|
overridevirtual |
Implements Guild::MoveItemData.
References ASSERT, Guild::MoveItemData::GetContainer(), Object::GetEntry(), Guild::MoveItemData::GetItem(), and GUILD_BANK_LOG_WITHDRAW_ITEM.
|
overridevirtual |
Implements Guild::MoveItemData.
References ITEM_CHANGED.
|
overridevirtual |
Implements Guild::MoveItemData.
References ASSERT.