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

#include <CharacterPackets.h>

Public Member Functions

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

int32 MapID = -1
 
Position Pos
 
uint32 Reason = 0
 

Additional Inherited Members

- Protected Attributes inherited from WorldPackets::Packet
WorldPacket _worldPacket
 

Constructor & Destructor Documentation

WorldPackets::Character::LoginVerifyWorld::LoginVerifyWorld ( )
inline
426 : ServerPacket(SMSG_LOGIN_VERIFY_WORLD, 4 + 4 * 4 + 4) { }
ServerPacket(OpcodeServer opcode, size_t initialSize=200, ConnectionType connection=CONNECTION_TYPE_DEFAULT)
Definition: Packet.h:49
Definition: Opcodes.h:1193

Member Function Documentation

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

Implements WorldPackets::Packet.

373 {
375  _worldPacket << Pos.PositionXYZOStream();
377  return &_worldPacket;
378 }
WorldPacket _worldPacket
Definition: Packet.h:43
int32_t int32
Definition: g3dmath.h:167
uint32 Reason
Definition: CharacterPackets.h:432
uint32_t uint32
Definition: g3dmath.h:168
Pos
Definition: boss_gothik.cpp:115
int32 MapID
Definition: CharacterPackets.h:430

+ Here is the caller graph for this function:

Member Data Documentation

int32 WorldPackets::Character::LoginVerifyWorld::MapID = -1
Position WorldPackets::Character::LoginVerifyWorld::Pos
uint32 WorldPackets::Character::LoginVerifyWorld::Reason = 0

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