TrinityCore
WorldPackets::Trade::TradeStatus Class Referencefinal

#include <TradePackets.h>

+ Inheritance diagram for WorldPackets::Trade::TradeStatus:

Public Member Functions

 TradeStatus ()
 
WorldPacket const * Write () override
 
- Public Member Functions inherited from WorldPackets::ServerPacket
 ServerPacket (OpcodeServer opcode, size_t initialSize=200, ConnectionType connection=CONNECTION_TYPE_DEFAULT)
 
void Read () override final
 
void Clear ()
 
WorldPacket && Move ()
 
void ShrinkToFit ()
 
OpcodeServer GetOpcode () const
 
- Public Member Functions inherited from WorldPackets::Packet
 Packet (WorldPacket &&worldPacket)
 
virtual ~Packet ()=default
 
 Packet (Packet const &right)=delete
 
Packetoperator= (Packet const &right)=delete
 
virtual WorldPacket const * Write ()=0
 
virtual void Read ()=0
 
WorldPacket const * GetRawPacket () const
 
size_t GetSize () const
 
ConnectionType GetConnection () const
 

Public Attributes

::TradeStatus Status = TRADE_STATUS_INITIATED
 
uint8 TradeSlot = 0
 
ObjectGuid PartnerAccount
 
ObjectGuid Partner
 
int32 CurrencyType = 0
 
int32 CurrencyQuantity = 0
 
bool FailureForYou = false
 
int32 BagResult = 0
 
uint32 ItemID = 0
 
uint32 ID = 0
 
bool PartnerIsSameBnetAccount = false
 

Additional Inherited Members

- Protected Attributes inherited from WorldPackets::Packet
WorldPacket _worldPacket
 

Detailed Description

Definition at line 133 of file TradePackets.h.

Constructor & Destructor Documentation

◆ TradeStatus()

WorldPackets::Trade::TradeStatus::TradeStatus ( )
inline

Definition at line 136 of file TradePackets.h.

Member Function Documentation

◆ Write()

WorldPacket const * WorldPackets::Trade::TradeStatus::Write ( )
overridevirtual

Implements WorldPackets::Packet.

Definition at line 50 of file TradePackets.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ BagResult

int32 WorldPackets::Trade::TradeStatus::BagResult = 0

Definition at line 147 of file TradePackets.h.

◆ CurrencyQuantity

int32 WorldPackets::Trade::TradeStatus::CurrencyQuantity = 0

Definition at line 145 of file TradePackets.h.

◆ CurrencyType

int32 WorldPackets::Trade::TradeStatus::CurrencyType = 0

Definition at line 144 of file TradePackets.h.

◆ FailureForYou

bool WorldPackets::Trade::TradeStatus::FailureForYou = false

Definition at line 146 of file TradePackets.h.

◆ ID

uint32 WorldPackets::Trade::TradeStatus::ID = 0

Definition at line 149 of file TradePackets.h.

◆ ItemID

uint32 WorldPackets::Trade::TradeStatus::ItemID = 0

Definition at line 148 of file TradePackets.h.

◆ Partner

ObjectGuid WorldPackets::Trade::TradeStatus::Partner

Definition at line 143 of file TradePackets.h.

◆ PartnerAccount

ObjectGuid WorldPackets::Trade::TradeStatus::PartnerAccount

Definition at line 142 of file TradePackets.h.

◆ PartnerIsSameBnetAccount

bool WorldPackets::Trade::TradeStatus::PartnerIsSameBnetAccount = false

Definition at line 150 of file TradePackets.h.

◆ Status

::TradeStatus WorldPackets::Trade::TradeStatus::Status = TRADE_STATUS_INITIATED

Definition at line 140 of file TradePackets.h.

◆ TradeSlot

uint8 WorldPackets::Trade::TradeStatus::TradeSlot = 0

Definition at line 141 of file TradePackets.h.


The documentation for this class was generated from the following files: