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

#include <CharacterPackets.h>

Public Member Functions

 AlterApperance (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

uint32 NewHairStyle = 0
 
uint32 NewHairColor = 0
 
uint32 NewFacialHair = 0
 
uint32 NewSkinColor = 0
 
uint32 NewFace = 0
 

Additional Inherited Members

- Protected Attributes inherited from WorldPackets::Packet
WorldPacket _worldPacket
 

Constructor & Destructor Documentation

WorldPackets::Character::AlterApperance::AlterApperance ( WorldPacket &&  packet)
inline
595 : ClientPacket(CMSG_ALTER_APPEARANCE, std::move(packet)) { }
Definition: Opcodes.h:58
ClientPacket(WorldPacket &&packet)
Definition: Packet.h:62

Member Function Documentation

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

Implements WorldPackets::Packet.

452 {
458 }
uint32 NewHairStyle
Definition: CharacterPackets.h:599
uint32 NewSkinColor
Definition: CharacterPackets.h:602
WorldPacket _worldPacket
Definition: Packet.h:43
uint32 NewFacialHair
Definition: CharacterPackets.h:601
uint32 NewHairColor
Definition: CharacterPackets.h:600
uint32 NewFace
Definition: CharacterPackets.h:603

Member Data Documentation

uint32 WorldPackets::Character::AlterApperance::NewFace = 0
uint32 WorldPackets::Character::AlterApperance::NewFacialHair = 0
uint32 WorldPackets::Character::AlterApperance::NewHairColor = 0
uint32 WorldPackets::Character::AlterApperance::NewHairStyle = 0
uint32 WorldPackets::Character::AlterApperance::NewSkinColor = 0

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