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

#include <TaxiPackets.h>

Public Member Functions

 EnableTaxiNode (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 Unit
 

Additional Inherited Members

- Protected Attributes inherited from WorldPackets::Packet
WorldPacket _worldPacket
 

Constructor & Destructor Documentation

WorldPackets::Taxi::EnableTaxiNode::EnableTaxiNode ( WorldPacket &&  packet)
inline
70 : ClientPacket(CMSG_ENABLE_TAXI_NODE, std::move(packet)) { }
ClientPacket(WorldPacket &&packet)
Definition: Packet.h:62
Definition: Opcodes.h:261

Member Function Documentation

void WorldPackets::Taxi::EnableTaxiNode::Read ( )
overridevirtual

Implements WorldPackets::Packet.

53 {
54  _worldPacket >> Unit;
55 }
WorldPacket _worldPacket
Definition: Packet.h:43
ObjectGuid Unit
Definition: TaxiPackets.h:74

Member Data Documentation

ObjectGuid WorldPackets::Taxi::EnableTaxiNode::Unit

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