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

#include <CharacterPackets.h>

Public Member Functions

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

uint8 ServerExpansionTier = 0
 
uint8 ServerExpansionLevel = 0
 
time_t RaidOrigin = time_t(1135753200)
 
int32 ServerRegionID = 3
 

Additional Inherited Members

- Protected Attributes inherited from WorldPackets::Packet
WorldPacket _worldPacket
 

Constructor & Destructor Documentation

WorldPackets::Character::InitialSetup::InitialSetup ( )
inline
520 : ServerPacket(SMSG_INITIAL_SETUP, 1 + 1 + 4 + 4) { }
ServerPacket(OpcodeServer opcode, size_t initialSize=200, ConnectionType connection=CONNECTION_TYPE_DEFAULT)
Definition: Packet.h:49
Definition: Opcodes.h:1121

Member Function Documentation

WorldPacket const * WorldPackets::Character::InitialSetup::Write ( )
overridevirtual

Implements WorldPackets::Packet.

407 {
412 
413  return &_worldPacket;
414 }
int32 ServerRegionID
Definition: CharacterPackets.h:527
uint8 ServerExpansionLevel
Definition: CharacterPackets.h:525
uint8 ServerExpansionTier
Definition: CharacterPackets.h:524
WorldPacket _worldPacket
Definition: Packet.h:43
time_t RaidOrigin
Definition: CharacterPackets.h:526
uint8_t uint8
Definition: g3dmath.h:164
int32_t int32
Definition: g3dmath.h:167
uint32_t uint32
Definition: g3dmath.h:168

Member Data Documentation

time_t WorldPackets::Character::InitialSetup::RaidOrigin = time_t(1135753200)
uint8 WorldPackets::Character::InitialSetup::ServerExpansionLevel = 0
uint8 WorldPackets::Character::InitialSetup::ServerExpansionTier = 0
int32 WorldPackets::Character::InitialSetup::ServerRegionID = 3

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