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

#include <MiscPackets.h>

Public Member Functions

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

int32 AreaTriggerID = 0
 
bool Entered = false
 
bool FromClient = false
 

Additional Inherited Members

- Protected Attributes inherited from WorldPackets::Packet
WorldPacket _worldPacket
 

Constructor & Destructor Documentation

WorldPackets::Misc::AreaTrigger::AreaTrigger ( WorldPacket &&  packet)
inline
252 : ClientPacket(CMSG_AREA_TRIGGER, std::move(packet)) { }
Definition: Opcodes.h:61
ClientPacket(WorldPacket &&packet)
Definition: Packet.h:62

Member Function Documentation

void AreaTrigger::Read ( )
overridevirtual

Implements WorldPackets::Packet.

183 {
187 }
bool FromClient
Definition: MiscPackets.h:258
WorldPacket _worldPacket
Definition: Packet.h:43
bool Entered
Definition: MiscPackets.h:257
int32 AreaTriggerID
Definition: MiscPackets.h:256
bool ReadBit()
Definition: ByteBuffer.h:186

Member Data Documentation

int32 WorldPackets::Misc::AreaTrigger::AreaTriggerID = 0
bool WorldPackets::Misc::AreaTrigger::Entered = false
bool WorldPackets::Misc::AreaTrigger::FromClient = false

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