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

#include <CharacterPackets.h>

Public Member Functions

 PlayerLogin (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 Guid
 Guid of the player that is logging in. More...
 
float FarClip = 0.0f
 Visibility distance (for terrain) More...
 

Additional Inherited Members

- Protected Attributes inherited from WorldPackets::Packet
WorldPacket _worldPacket
 

Constructor & Destructor Documentation

WorldPackets::Character::PlayerLogin::PlayerLogin ( WorldPacket &&  packet)
inline
415 : ClientPacket(CMSG_PLAYER_LOGIN, std::move(packet)) { }
Definition: Opcodes.h:509
ClientPacket(WorldPacket &&packet)
Definition: Packet.h:62

Member Function Documentation

void WorldPackets::Character::PlayerLogin::Read ( )
overridevirtual

Implements WorldPackets::Packet.

367 {
368  _worldPacket >> Guid;
370 }
ObjectGuid Guid
Guid of the player that is logging in.
Definition: CharacterPackets.h:419
float FarClip
Visibility distance (for terrain)
Definition: CharacterPackets.h:420
WorldPacket _worldPacket
Definition: Packet.h:43

Member Data Documentation

float WorldPackets::Character::PlayerLogin::FarClip = 0.0f

Visibility distance (for terrain)

ObjectGuid WorldPackets::Character::PlayerLogin::Guid

Guid of the player that is logging in.


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