|
| 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 (SQLTransaction &trans, MoveItemData *pOther, uint32 splitedAmount=0)=0 |
|
virtual Item * | StoreItem (SQLTransaction &trans, Item *pItem)=0 |
|
virtual void | LogBankEvent (SQLTransaction &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 |
|
arena_t NULL
Definition: jemalloc_internal.h:624
Item * m_pItem
Definition: Guild.h:702
Player * m_pPlayer
Definition: Guild.h:699
Item * m_pClonedItem
Definition: Guild.h:703
uint8 m_slotId
Definition: Guild.h:701
uint8 m_container
Definition: Guild.h:700
Guild * m_pGuild
Definition: Guild.h:698
virtual Guild::MoveItemData::~MoveItemData |
( |
| ) |
|
|
inlinevirtual |
Player * m_pPlayer
Definition: Guild.h:699
ItemPosCountVec m_vec
Definition: Guild.h:704
InventoryResult
Definition: Item.h:46
bool CanStore(Item *pItem, bool swap, bool sendError)
Definition: Guild.cpp:724
bool Guild::MoveItemData::CheckItem |
( |
uint32 & |
splitedAmount | ) |
|
|
virtual |
uint32 GetCount() const
Definition: Item.h:322
Item * m_pItem
Definition: Guild.h:702
#define ASSERT
Definition: Errors.h:55
bool Guild::MoveItemData::CloneItem |
( |
uint32 |
count | ) |
|
Item * CloneItem(uint32 count, Player const *player=NULL) const
Definition: Item.cpp:1095
Item * m_pItem
Definition: Guild.h:702
Player * m_pPlayer
Definition: Guild.h:699
Item * m_pClonedItem
Definition: Guild.h:703
#define ASSERT
Definition: Errors.h:55
void Guild::MoveItemData::CopySlots |
( |
SlotIds & |
ids | ) |
const |
|
inline |
756 for (ItemPosCountVec::const_iterator itr =
m_vec.begin(); itr !=
m_vec.end(); ++itr)
757 ids.insert(
uint8(itr->pos));
ItemPosCountVec m_vec
Definition: Guild.h:704
uint8_t uint8
Definition: Define.h:152
uint8 Guild::MoveItemData::GetContainer |
( |
| ) |
const |
|
inline |
uint8 m_container
Definition: Guild.h:700
Item* Guild::MoveItemData::GetItem |
( |
bool |
isCloned = false | ) |
const |
|
inline |
Item * m_pItem
Definition: Guild.h:702
Item * m_pClonedItem
Definition: Guild.h:703
uint8 Guild::MoveItemData::GetSlotId |
( |
| ) |
const |
|
inline |
uint8 m_slotId
Definition: Guild.h:701
virtual bool Guild::MoveItemData::InitItem |
( |
| ) |
|
|
pure virtual |
virtual bool Guild::MoveItemData::IsBank |
( |
| ) |
const |
|
pure virtual |
void Guild::MoveItemData::LogAction |
( |
MoveItemData * |
pFrom | ) |
const |
|
virtual |
Reimplemented in Guild::BankMoveItemData.
750 pFrom->IsBank(), pFrom->GetContainer(), pFrom->GetSlotId(),
Player * m_pPlayer
Definition: Guild.h:699
uint8 GetSlotId() const
Definition: Guild.h:693
uint8 GetContainer() const
Definition: Guild.h:692
#define ASSERT
Definition: Errors.h:55
#define sScriptMgr
Definition: ScriptMgr.h:837
virtual bool IsBank() const =0
Guild * m_pGuild
Definition: Guild.h:698
uint8 Guild::MoveItemData::m_container |
|
protected |
Item* Guild::MoveItemData::m_pClonedItem |
|
protected |
Guild* Guild::MoveItemData::m_pGuild |
|
protected |
Item* Guild::MoveItemData::m_pItem |
|
protected |
Player* Guild::MoveItemData::m_pPlayer |
|
protected |
uint8 Guild::MoveItemData::m_slotId |
|
protected |
ItemPosCountVec Guild::MoveItemData::m_vec |
|
protected |
The documentation for this class was generated from the following files: