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

#include <CharacterPackets.h>

Public Member Functions

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

uint8 FactionIndex = 0
 

Additional Inherited Members

- Protected Attributes inherited from WorldPackets::Packet
WorldPacket _worldPacket
 

Constructor & Destructor Documentation

WorldPackets::Character::SetFactionAtWar::SetFactionAtWar ( WorldPacket &&  packet)
inline
644 : ClientPacket(CMSG_SET_FACTION_AT_WAR, std::move(packet)) { }
Definition: Opcodes.h:617
ClientPacket(WorldPacket &&packet)
Definition: Packet.h:62

Member Function Documentation

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

Implements WorldPackets::Packet.

488 {
490 }
uint8 FactionIndex
Definition: CharacterPackets.h:648
WorldPacket _worldPacket
Definition: Packet.h:43

Member Data Documentation

uint8 WorldPackets::Character::SetFactionAtWar::FactionIndex = 0

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