![]() |
TrinityCore
|
Inheritance diagram for Guild::BankMoveItemData:Public Member Functions | |
| BankMoveItemData (Guild *guild, Player *player, uint8 container, uint8 slotId) | |
| bool | IsBank () const override |
| bool | InitItem () override |
| bool | HasStoreRights (MoveItemData *pOther) const override |
| bool | HasWithdrawRights (MoveItemData *pOther) const override |
| void | RemoveItem (CharacterDatabaseTransaction trans, MoveItemData *pOther, uint32 splitedAmount) override |
| Item * | StoreItem (CharacterDatabaseTransaction trans, Item *pItem) override |
| void | LogBankEvent (CharacterDatabaseTransaction trans, MoveItemData *pFrom, uint32 count) const override |
| void | LogAction (MoveItemData *pFrom) const override |
Public Member Functions inherited from Guild::MoveItemData | |
| MoveItemData (Guild *guild, Player *player, uint8 container, uint8 slotId) | |
| virtual | ~MoveItemData () |
| virtual bool | CheckItem (uint32 &splitedAmount) |
| InventoryResult | CanStore (Item *pItem, bool swap, bool sendError) |
| bool | CloneItem (uint32 count) |
| 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 | |
| InventoryResult | CanStore (Item *pItem, bool swap) override |
Private Member Functions | |
| Item * | _StoreItem (CharacterDatabaseTransaction trans, BankTab *pTab, Item *pItem, ItemPosCount &pos, bool clone) const |
| bool | _ReserveSpace (uint8 slotId, Item *pItem, Item *pItemDest, uint32 &count) |
| void | CanStoreItemInTab (Item *pItem, uint8 skipSlotId, bool merge, uint32 &count) |
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 |
| std::vector< ItemPosCount > | m_vec |
|
private |
Definition at line 1031 of file Guild.cpp.
References Item::GetCount(), Object::GetEntry(), Item::GetMaxStackCount(), and ItemPosCount::isContainedIn().
|
private |
Definition at line 998 of file Guild.cpp.
References Item::CloneItem(), ItemPosCount::count, Item::DeleteFromDB(), Guild::BankTab::GetItem(), ITEM_CHANGED, ItemPosCount::pos, Object::RemoveFromWorld(), Item::SetCount(), and Guild::BankTab::SetItem().
|
overrideprotectedvirtual |
Implements Guild::MoveItemData.
Definition at line 1074 of file Guild.cpp.
References EQUIP_ERR_BANK_FULL, EQUIP_ERR_CANT_STACK, EQUIP_ERR_DROP_BOUND_ITEM, EQUIP_ERR_OK, EQUIP_ERR_WRONG_BAG_TYPE, Item::GetCount(), Object::GetEntry(), Item::GetMaxStackCount(), Item::IsSoulBound(), NULL_SLOT, and TC_LOG_DEBUG.
|
private |
Definition at line 1054 of file Guild.cpp.
References GUILD_BANK_MAX_SLOTS.
|
overridevirtual |
Reimplemented from Guild::MoveItemData.
Definition at line 906 of file Guild.cpp.
References ASSERT, Guild::MoveItemData::GetContainer(), GUILD_BANK_RIGHT_DEPOSIT_ITEM, and Guild::MoveItemData::IsBank().
|
overridevirtual |
Reimplemented from Guild::MoveItemData.
Definition at line 915 of file Guild.cpp.
References ASSERT, Guild::MoveItemData::GetContainer(), and Guild::MoveItemData::IsBank().
|
overridevirtual |
Implements Guild::MoveItemData.
|
inlineoverridevirtual |
Implements Guild::MoveItemData.
|
overridevirtual |
Reimplemented from Guild::MoveItemData.
Definition at line 985 of file Guild.cpp.
References Item::GetCount(), ItemTemplate::GetDefaultLocaleName(), Object::GetEntry(), Guild::MoveItemData::GetItem(), Item::GetTemplate(), Guild::MoveItemData::IsBank(), Guild::MoveItemData::LogAction(), rbac::RBAC_PERM_LOG_GM_TRADE, and sLog.
|
overridevirtual |
Implements Guild::MoveItemData.
Definition at line 972 of file Guild.cpp.
References ASSERT, Guild::MoveItemData::GetContainer(), Object::GetEntry(), Guild::MoveItemData::GetItem(), GUILD_BANK_LOG_DEPOSIT_ITEM, GUILD_BANK_LOG_MOVE_ITEM, and Guild::MoveItemData::IsBank().
|
overridevirtual |
Implements Guild::MoveItemData.
Definition at line 929 of file Guild.cpp.
References ASSERT, Guild::MoveItemData::GetContainer(), Guild::MoveItemData::IsBank(), and ITEM_CHANGED.
|
overridevirtual |
Implements Guild::MoveItemData.
Definition at line 948 of file Guild.cpp.
References ASSERT, Item::GetCount(), Object::GetEntry(), and TC_LOG_DEBUG.