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

#include <ScenePackets.h>

Public Member Functions

 SceneTriggerEvent (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 SceneInstanceID = 0
 
std::string _Event
 

Additional Inherited Members

- Protected Attributes inherited from WorldPackets::Packet
WorldPacket _worldPacket
 

Constructor & Destructor Documentation

WorldPackets::Scenes::SceneTriggerEvent::SceneTriggerEvent ( WorldPacket &&  packet)
inline
46 : ClientPacket(CMSG_SCENE_TRIGGER_EVENT, std::move(packet)) { }
Definition: Opcodes.h:593
ClientPacket(WorldPacket &&packet)
Definition: Packet.h:62

Member Function Documentation

void WorldPackets::Scenes::SceneTriggerEvent::Read ( )
overridevirtual

Implements WorldPackets::Packet.

33 {
34  uint32 len = _worldPacket.ReadBits(6);
37 }
uint32 SceneInstanceID
Definition: ScenePackets.h:50
uint32 ReadBits(int32 bits)
Definition: ByteBuffer.h:204
WorldPacket _worldPacket
Definition: Packet.h:43
std::string _Event
Definition: ScenePackets.h:51
std::string ReadString(uint32 length)
Definition: ByteBuffer.h:524
uint32_t uint32
Definition: Define.h:150

Member Data Documentation

std::string WorldPackets::Scenes::SceneTriggerEvent::_Event
uint32 WorldPackets::Scenes::SceneTriggerEvent::SceneInstanceID = 0

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