![]() |
TrinityCore
|
#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) | |
| 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 | |
| Packet & | operator= (Packet const &right)=delete |
| WorldPacket const * | GetRawPacket () const |
| size_t | GetSize () 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. | |
| uint32 | MinIncrement = 0 |
| the sum of outbid is (1% of current bid) * 5, if the bid is too small, then this value is 1 copper. | |
| uint32 | Money = 0 |
| the amount of money that the player bid in copper | |
Additional Inherited Members | |
Protected Attributes inherited from WorldPackets::Packet | |
| WorldPacket | _worldPacket |
Definition at line 50 of file AuctionHousePackets.h.
|
inlineexplicit |
Definition at line 53 of file AuctionHousePackets.h.
|
overridevirtual |
Implements WorldPackets::Packet.
Definition at line 37 of file AuctionHousePackets.cpp.
References WorldPackets::Packet::_worldPacket, AUCTION_PLACE_BID, AuctionID, BagResult, Command, ERR_AUCTION_HIGHER_BID, ERR_AUCTION_INVENTORY, ERR_AUCTION_OK, ErrorCode, Guid, MinIncrement, and Money.
Referenced by WorldSession::SendAuctionCommandResult().
| int32 WorldPackets::AuctionHouse::AuctionCommandResult::AuctionID = 0 |
the id of the auction that triggered this notification
Definition at line 57 of file AuctionHousePackets.h.
Referenced by WorldSession::SendAuctionCommandResult(), and Write().
| int32 WorldPackets::AuctionHouse::AuctionCommandResult::BagResult = 0 |
the bid error. Possible values are AuctionError
Definition at line 60 of file AuctionHousePackets.h.
Referenced by WorldSession::SendAuctionCommandResult(), and Write().
| int32 WorldPackets::AuctionHouse::AuctionCommandResult::Command = 0 |
the type of action that triggered this notification. Possible values are AuctionAction
Definition at line 58 of file AuctionHousePackets.h.
Referenced by WorldSession::SendAuctionCommandResult(), and Write().
| 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 59 of file AuctionHousePackets.h.
Referenced by WorldSession::SendAuctionCommandResult(), and Write().
| ObjectGuid WorldPackets::AuctionHouse::AuctionCommandResult::Guid |
the GUID of the bidder for this auction.
Definition at line 61 of file AuctionHousePackets.h.
Referenced by WorldSession::SendAuctionCommandResult(), and Write().
| uint32 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 62 of file AuctionHousePackets.h.
Referenced by WorldSession::SendAuctionCommandResult(), and Write().
| uint32 WorldPackets::AuctionHouse::AuctionCommandResult::Money = 0 |
the amount of money that the player bid in copper
Definition at line 63 of file AuctionHousePackets.h.
Referenced by WorldSession::SendAuctionCommandResult(), and Write().