#include <TradeData.h>
|
void | Update (bool for_trader=true) const |
|
Definition at line 34 of file TradeData.h.
◆ TradeData()
◆ GetClientStateIndex()
uint32 TradeData::GetClientStateIndex |
( |
| ) |
const |
|
inline |
◆ GetItem()
◆ GetMoney()
uint64 TradeData::GetMoney |
( |
| ) |
const |
|
inline |
◆ GetServerStateIndex()
uint32 TradeData::GetServerStateIndex |
( |
| ) |
const |
|
inline |
◆ GetSpell()
uint32 TradeData::GetSpell |
( |
| ) |
const |
|
inline |
◆ GetSpellCastItem()
Item * TradeData::GetSpellCastItem |
( |
| ) |
const |
◆ GetTrader()
Player * TradeData::GetTrader |
( |
| ) |
const |
|
inline |
◆ GetTraderData()
TradeData * TradeData::GetTraderData |
( |
| ) |
const |
◆ GetTradeSlotForItem()
◆ HasItem()
bool TradeData::HasItem |
( |
ObjectGuid |
itemGuid | ) |
const |
◆ HasSpellCastItem()
bool TradeData::HasSpellCastItem |
( |
| ) |
const |
|
inline |
◆ IsAccepted()
bool TradeData::IsAccepted |
( |
| ) |
const |
|
inline |
◆ IsInAcceptProcess()
bool TradeData::IsInAcceptProcess |
( |
| ) |
const |
|
inline |
◆ SetAccepted()
void TradeData::SetAccepted |
( |
bool |
state, |
|
|
bool |
forTrader = false |
|
) |
| |
◆ SetInAcceptProcess()
void TradeData::SetInAcceptProcess |
( |
bool |
state | ) |
|
|
inline |
◆ SetItem()
void TradeData::SetItem |
( |
TradeSlots |
slot, |
|
|
Item * |
item, |
|
|
bool |
update = false |
|
) |
| |
◆ SetMoney()
void TradeData::SetMoney |
( |
uint64 |
money | ) |
|
◆ SetSpell()
void TradeData::SetSpell |
( |
uint32 |
spell_id, |
|
|
Item * |
castItem = nullptr |
|
) |
| |
◆ Update()
void TradeData::Update |
( |
bool |
for_trader = true | ) |
const |
|
private |
◆ UpdateClientStateIndex()
void TradeData::UpdateClientStateIndex |
( |
| ) |
|
|
inline |
◆ UpdateServerStateIndex()
void TradeData::UpdateServerStateIndex |
( |
| ) |
|
◆ _accepted
bool TradeData::_accepted |
|
private |
◆ _acceptProccess
bool TradeData::_acceptProccess |
|
private |
◆ _clientStateIndex
uint32 TradeData::_clientStateIndex |
|
private |
◆ _items
◆ _money
◆ _player
◆ _serverStateIndex
uint32 TradeData::_serverStateIndex |
|
private |
◆ _spell
◆ _spellCastItem
◆ _trader
The documentation for this class was generated from the following files: