![]() |
TrinityCore
|
Inheritance diagram for Guild::MoveItemData:Public Member Functions | |
| 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 |
| InventoryResult | 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 |
| void | SendEquipError (InventoryResult result, Item const *item) |
| Item * | GetItem (bool isCloned=false) const |
| uint8 | GetContainer () const |
| uint8 | GetSlotId () const |
Protected Member Functions | |
| virtual InventoryResult | CanStore (Item *pItem, bool swap)=0 |
Protected Attributes | |
| Guild * | m_pGuild |
| Player * | m_pPlayer |
| uint8 | m_container |
| uint8 | m_slotId |
| Item * | m_pItem |
| Item * | m_pClonedItem |
| std::vector< ItemPosCount > | m_vec |
|
protectedpure virtual |
Implemented in Guild::PlayerMoveItemData, and Guild::BankMoveItemData.
| InventoryResult Guild::MoveItemData::CanStore | ( | Item * | pItem, |
| bool | swap, | ||
| bool | sendError | ||
| ) |
Definition at line 799 of file Guild.cpp.
References EQUIP_ERR_OK.
Referenced by Guild::_DoItemsMove().
|
virtual |
| bool Guild::MoveItemData::CloneItem | ( | uint32 | count | ) |
Definition at line 808 of file Guild.cpp.
References ASSERT, and EQUIP_ERR_ITEM_NOT_FOUND.
Referenced by Guild::_MoveItems().
|
inline |
Definition at line 829 of file Guild.cpp.
Referenced by Guild::_SendBankContentUpdate().
|
inline |
Definition at line 686 of file Guild.h.
Referenced by Guild::_SendBankContentUpdate(), Guild::BankMoveItemData::HasStoreRights(), Guild::BankMoveItemData::HasWithdrawRights(), LogAction(), Guild::PlayerMoveItemData::LogBankEvent(), Guild::BankMoveItemData::LogBankEvent(), and Guild::BankMoveItemData::RemoveItem().
|
inline |
Definition at line 685 of file Guild.h.
Referenced by Guild::_DoItemsMove(), Guild::_MoveItems(), LogAction(), Guild::BankMoveItemData::LogAction(), Guild::PlayerMoveItemData::LogBankEvent(), and Guild::BankMoveItemData::LogBankEvent().
|
inline |
Definition at line 687 of file Guild.h.
Referenced by Guild::_SendBankContentUpdate(), and LogAction().
|
inlinevirtual |
Reimplemented in Guild::BankMoveItemData.
Definition at line 665 of file Guild.h.
Referenced by Guild::_MoveItems().
|
inlinevirtual |
Reimplemented in Guild::BankMoveItemData.
Definition at line 667 of file Guild.h.
Referenced by Guild::_MoveItems().
|
pure virtual |
Implemented in Guild::PlayerMoveItemData, and Guild::BankMoveItemData.
Referenced by Guild::_MoveItems().
|
pure virtual |
Implemented in Guild::PlayerMoveItemData, and Guild::BankMoveItemData.
Referenced by Guild::_SendBankContentUpdate(), Guild::BankMoveItemData::HasStoreRights(), Guild::BankMoveItemData::HasWithdrawRights(), LogAction(), Guild::BankMoveItemData::LogAction(), Guild::BankMoveItemData::LogBankEvent(), and Guild::BankMoveItemData::RemoveItem().
|
virtual |
Reimplemented in Guild::BankMoveItemData.
Definition at line 820 of file Guild.cpp.
References ASSERT, GetContainer(), GetItem(), GetSlotId(), IsBank(), and sScriptMgr.
Referenced by Guild::_DoItemsMove(), and Guild::BankMoveItemData::LogAction().
|
pure virtual |
Implemented in Guild::PlayerMoveItemData, and Guild::BankMoveItemData.
Referenced by Guild::_DoItemsMove().
|
pure virtual |
Implemented in Guild::BankMoveItemData, and Guild::PlayerMoveItemData.
Referenced by Guild::_DoItemsMove().
| void Guild::MoveItemData::SendEquipError | ( | InventoryResult | result, |
| Item const * | item | ||
| ) |
Definition at line 835 of file Guild.cpp.
Referenced by Guild::_MoveItems().
|
pure virtual |
Implemented in Guild::PlayerMoveItemData, and Guild::BankMoveItemData.
Referenced by Guild::_DoItemsMove().
|
protected |