All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
WorldPackets::AuctionHouse::AuctionListPendingSalesResult Class Referencefinal

#include <AuctionHousePackets.h>

Public Member Functions

 AuctionListPendingSalesResult ()
WorldPacket constWrite () override
- Public Member Functions inherited from WorldPackets::ServerPacket
 ServerPacket (OpcodeServer opcode, size_t initialSize=200, ConnectionType connection=CONNECTION_TYPE_DEFAULT)
void Read () overridefinal
void Clear ()
WorldPacket && Move ()
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
WorldPacket constGetRawPacket () const
size_t GetSize () const
ConnectionType GetConnection () const

Public Attributes

std::vector< Mail::MailListEntryMails
int32 TotalNumRecords = 0

Additional Inherited Members

- Protected Attributes inherited from WorldPackets::Packet
WorldPacket _worldPacket

Constructor & Destructor Documentation

WorldPackets::AuctionHouse::AuctionListPendingSalesResult::AuctionListPendingSalesResult ( )
ServerPacket(OpcodeServer opcode, size_t initialSize=200, ConnectionType connection=CONNECTION_TYPE_DEFAULT)
Definition: Packet.h:49

Member Function Documentation

WorldPacket const * WorldPackets::AuctionHouse::AuctionListPendingSalesResult::Write ( )

Implements WorldPackets::Packet.

268 {
269  _worldPacket << int32(Mails.size());
272  for (auto const& mail : Mails)
273  _worldPacket << mail;
275  return &_worldPacket;
276 }
std::vector< Mail::MailListEntry > Mails
Definition: AuctionHousePackets.h:287
int32 TotalNumRecords
Definition: AuctionHousePackets.h:288
WorldPacket _worldPacket
Definition: Packet.h:43
int32_t int32
Definition: g3dmath.h:167

+ Here is the caller graph for this function:

Member Data Documentation

std::vector<Mail::MailListEntry> WorldPackets::AuctionHouse::AuctionListPendingSalesResult::Mails
int32 WorldPackets::AuctionHouse::AuctionListPendingSalesResult::TotalNumRecords = 0

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