TrinityCore
Loading...
Searching...
No Matches
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 () 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
 
Packet & operator= (Packet const &right)=delete
 
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
 
int32 Command = 0
 the type of action that triggered this notification. Possible values are AuctionAction
 
int32 ErrorCode = 0
 the error code that was generated when trying to perform the action. Possible values are AuctionError
 
int32 BagResult = 0
 the bid error. Possible values are AuctionError
 
ObjectGuid Guid
 the GUID of the bidder for this auction.
 
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.
 
uint64 Money = 0
 the amount of money that the player bid in copper
 
uint32 DesiredDelay = 0
 

Additional Inherited Members

- Protected Attributes inherited from WorldPackets::Packet
WorldPacket _worldPacket
 

Detailed Description

Definition at line 379 of file AuctionHousePackets.h.

Constructor & Destructor Documentation

◆ AuctionCommandResult()

WorldPackets::AuctionHouse::AuctionCommandResult::AuctionCommandResult ( )
inlineexplicit

Definition at line 382 of file AuctionHousePackets.h.

Member Function Documentation

◆ Write()

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

Member Data Documentation

◆ AuctionID

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

the id of the auction that triggered this notification

Definition at line 386 of file AuctionHousePackets.h.

Referenced by WorldSession::SendAuctionCommandResult(), and Write().

◆ BagResult

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

the bid error. Possible values are AuctionError

Definition at line 389 of file AuctionHousePackets.h.

Referenced by WorldSession::SendAuctionCommandResult(), and Write().

◆ Command

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

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

Definition at line 387 of file AuctionHousePackets.h.

Referenced by WorldSession::SendAuctionCommandResult(), and Write().

◆ DesiredDelay

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

Definition at line 393 of file AuctionHousePackets.h.

Referenced by WorldSession::SendAuctionCommandResult(), and Write().

◆ 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 388 of file AuctionHousePackets.h.

Referenced by WorldSession::SendAuctionCommandResult(), and Write().

◆ Guid

ObjectGuid WorldPackets::AuctionHouse::AuctionCommandResult::Guid

the GUID of the bidder for this auction.

Definition at line 390 of file AuctionHousePackets.h.

Referenced by Write().

◆ 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 391 of file AuctionHousePackets.h.

Referenced by Write().

◆ Money

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

the amount of money that the player bid in copper

Definition at line 392 of file AuctionHousePackets.h.

Referenced by Write().


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