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

#include <MovementPackets.h>

Public Member Functions

 MoveSetCollisionHeightAck (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 Data
 
UpdateCollisionHeightReason Reason = UPDATE_COLLISION_HEIGHT_MOUNT
 
uint32 MountDisplayID = 0
 
float Height = 1.0f
 

Additional Inherited Members

- Protected Attributes inherited from WorldPackets::Packet
WorldPacket _worldPacket
 

Constructor & Destructor Documentation

WorldPackets::Movement::MoveSetCollisionHeightAck::MoveSetCollisionHeightAck ( WorldPacket &&  packet)
inline
398 : ClientPacket(CMSG_MOVE_SET_COLLISION_HEIGHT_ACK, std::move(packet)) { }
Definition: Opcodes.h:441
ClientPacket(WorldPacket &&packet)
Definition: Packet.h:62

Member Function Documentation

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

Implements WorldPackets::Packet.

674 {
675  _worldPacket >> Data;
676  _worldPacket >> Height;
679 }
uint32 MountDisplayID
Definition: MovementPackets.h:404
UpdateCollisionHeightReason Reason
Definition: MovementPackets.h:403
uint32 ReadBits(int32 bits)
Definition: ByteBuffer.h:204
WorldPacket _worldPacket
Definition: Packet.h:43
MovementAck Data
Definition: MovementPackets.h:402
float Height
Definition: MovementPackets.h:405
UpdateCollisionHeightReason
Definition: MovementPackets.h:361

Member Data Documentation

MovementAck WorldPackets::Movement::MoveSetCollisionHeightAck::Data
float WorldPackets::Movement::MoveSetCollisionHeightAck::Height = 1.0f
uint32 WorldPackets::Movement::MoveSetCollisionHeightAck::MountDisplayID = 0
UpdateCollisionHeightReason WorldPackets::Movement::MoveSetCollisionHeightAck::Reason = UPDATE_COLLISION_HEIGHT_MOUNT

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