TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
WorldPackets::Garrison::GarrisonPurchaseBuilding Class Referencefinal

#include <GarrisonPackets.h>

Public Member Functions

 GarrisonPurchaseBuilding (WorldPacket &&packet)
 
void Read () override
 
- Public Member Functions inherited from WorldPackets::ClientPacket
 ClientPacket (WorldPacket &&packet)
 
 ClientPacket (OpcodeClient expectedOpcode, WorldPacket &&packet)
 
WorldPacket constWrite () overridefinal
 
OpcodeClient 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

ObjectGuid NpcGUID
 
uint32 BuildingID = 0
 
uint32 PlotInstanceID = 0
 

Additional Inherited Members

- Protected Attributes inherited from WorldPackets::Packet
WorldPacket _worldPacket
 

Constructor & Destructor Documentation

WorldPackets::Garrison::GarrisonPurchaseBuilding::GarrisonPurchaseBuilding ( WorldPacket &&  packet)
inline
160 : ClientPacket(CMSG_GARRISON_PURCHASE_BUILDING, std::move(packet)) { }
Definition: Opcodes.h:275
ClientPacket(WorldPacket &&packet)
Definition: Packet.h:62

Member Function Documentation

void WorldPackets::Garrison::GarrisonPurchaseBuilding::Read ( )
overridevirtual

Implements WorldPackets::Packet.

180 {
184 }
uint32 BuildingID
Definition: GarrisonPackets.h:165
WorldPacket _worldPacket
Definition: Packet.h:43
ObjectGuid NpcGUID
Definition: GarrisonPackets.h:164
uint32 PlotInstanceID
Definition: GarrisonPackets.h:166

Member Data Documentation

uint32 WorldPackets::Garrison::GarrisonPurchaseBuilding::BuildingID = 0
ObjectGuid WorldPackets::Garrison::GarrisonPurchaseBuilding::NpcGUID
uint32 WorldPackets::Garrison::GarrisonPurchaseBuilding::PlotInstanceID = 0

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