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

#include <GarrisonPackets.h>

Public Member Functions

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

uint32 Result = 0
 
GarrisonBuildingInfo BuildingInfo
 
bool PlayActivationCinematic = false
 

Additional Inherited Members

- Protected Attributes inherited from WorldPackets::Packet
WorldPacket _worldPacket
 

Constructor & Destructor Documentation

WorldPackets::Garrison::GarrisonPlaceBuildingResult::GarrisonPlaceBuildingResult ( )
inline
ServerPacket(OpcodeServer opcode, size_t initialSize=200, ConnectionType connection=CONNECTION_TYPE_DEFAULT)
Definition: Packet.h:49
Definition: Opcodes.h:1030

Member Function Documentation

WorldPacket const * WorldPackets::Garrison::GarrisonPlaceBuildingResult::Write ( )
overridevirtual

Implements WorldPackets::Packet.

187 {
192 
193  return &_worldPacket;
194 }
void FlushBits()
Definition: ByteBuffer.h:150
WorldPacket _worldPacket
Definition: Packet.h:43
bool PlayActivationCinematic
Definition: GarrisonPackets.h:178
bool WriteBit(uint32 bit)
Definition: ByteBuffer.h:170
uint32_t uint32
Definition: g3dmath.h:168
GarrisonBuildingInfo BuildingInfo
Definition: GarrisonPackets.h:177
uint32 Result
Definition: GarrisonPackets.h:176

+ Here is the caller graph for this function:

Member Data Documentation

GarrisonBuildingInfo WorldPackets::Garrison::GarrisonPlaceBuildingResult::BuildingInfo
bool WorldPackets::Garrison::GarrisonPlaceBuildingResult::PlayActivationCinematic = false
uint32 WorldPackets::Garrison::GarrisonPlaceBuildingResult::Result = 0

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