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

#include <MovementPackets.h>

Public Member Functions

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

MovementAck Ack
 
float Speed = 0.0f
 

Additional Inherited Members

- Protected Attributes inherited from WorldPackets::Packet
WorldPacket _worldPacket
 

Constructor & Destructor Documentation

WorldPackets::Movement::MovementSpeedAck::MovementSpeedAck ( WorldPacket &&  packet)
inline
309 : ClientPacket(std::move(packet)) { }
ClientPacket(WorldPacket &&packet)
Definition: Packet.h:62

Member Function Documentation

void WorldPackets::Movement::MovementSpeedAck::Read ( )
overridevirtual

Implements WorldPackets::Packet.

616 {
617  _worldPacket >> Ack;
618  _worldPacket >> Speed;
619 }
float Speed
Definition: MovementPackets.h:314
WorldPacket _worldPacket
Definition: Packet.h:43
MovementAck Ack
Definition: MovementPackets.h:313

Member Data Documentation

MovementAck WorldPackets::Movement::MovementSpeedAck::Ack
float WorldPackets::Movement::MovementSpeedAck::Speed = 0.0f

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