TrinityCore
WorldPackets::AuctionHouse::AuctionCommandResult Class Referencefinal

#include <AuctionHousePackets.h>

+ Inheritance diagram for WorldPackets::AuctionHouse::AuctionCommandResult:

Public Member Functions

 AuctionCommandResult ()
 
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

int32 AuctionID = 0
 the id of the auction that triggered this notification More...
 
int32 Command = 0
 the type of action that triggered this notification. Possible values are AuctionAction More...
 
int32 ErrorCode = 0
 the error code that was generated when trying to perform the action. Possible values are AuctionError More...
 
int32 BagResult = 0
 the bid error. Possible values are AuctionError More...
 
ObjectGuid Guid
 the GUID of the bidder for this auction. More...
 
uint64 MinIncrement = 0
 the sum of outbid is (1% of current bid) * 5, if the bid is too small, then this value is 1 copper. More...
 
uint64 Money = 0
 the amount of money that the player bid in copper More...
 
uint32 DesiredDelay = 0
 

Additional Inherited Members

- Protected Attributes inherited from WorldPackets::Packet
WorldPacket _worldPacket
 

Detailed Description

Definition at line 384 of file AuctionHousePackets.h.

Constructor & Destructor Documentation

◆ AuctionCommandResult()

WorldPackets::AuctionHouse::AuctionCommandResult::AuctionCommandResult ( )
inline

Definition at line 387 of file AuctionHousePackets.h.

Member Function Documentation

◆ Write()

WorldPacket const * WorldPackets::AuctionHouse::AuctionCommandResult::Write ( )
overridevirtual

Implements WorldPackets::Packet.

Definition at line 542 of file AuctionHousePackets.cpp.

+ Here is the caller graph for this function:

Member Data Documentation

◆ AuctionID

int32 WorldPackets::AuctionHouse::AuctionCommandResult::AuctionID = 0

the id of the auction that triggered this notification

Definition at line 391 of file AuctionHousePackets.h.

◆ BagResult

int32 WorldPackets::AuctionHouse::AuctionCommandResult::BagResult = 0

the bid error. Possible values are AuctionError

Definition at line 394 of file AuctionHousePackets.h.

◆ Command

int32 WorldPackets::AuctionHouse::AuctionCommandResult::Command = 0

the type of action that triggered this notification. Possible values are AuctionAction

Definition at line 392 of file AuctionHousePackets.h.

◆ DesiredDelay

uint32 WorldPackets::AuctionHouse::AuctionCommandResult::DesiredDelay = 0

Definition at line 398 of file AuctionHousePackets.h.

◆ ErrorCode

int32 WorldPackets::AuctionHouse::AuctionCommandResult::ErrorCode = 0

the error code that was generated when trying to perform the action. Possible values are AuctionError

Definition at line 393 of file AuctionHousePackets.h.

◆ Guid

ObjectGuid WorldPackets::AuctionHouse::AuctionCommandResult::Guid

the GUID of the bidder for this auction.

Definition at line 395 of file AuctionHousePackets.h.

◆ MinIncrement

uint64 WorldPackets::AuctionHouse::AuctionCommandResult::MinIncrement = 0

the sum of outbid is (1% of current bid) * 5, if the bid is too small, then this value is 1 copper.

Definition at line 396 of file AuctionHousePackets.h.

◆ Money

uint64 WorldPackets::AuctionHouse::AuctionCommandResult::Money = 0

the amount of money that the player bid in copper

Definition at line 397 of file AuctionHousePackets.h.


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