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

#include <MovementPackets.h>

Public Member Functions

 MoveSetCollisionHeight ()
 
WorldPacket constWrite () override
 
- Public Member Functions inherited from WorldPackets::ServerPacket
 ServerPacket (OpcodeServer opcode, size_t initialSize=200, ConnectionType connection=CONNECTION_TYPE_DEFAULT)
 
void Read () overridefinal
 
void Clear ()
 
WorldPacket && Move ()
 
OpcodeServer 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

float Scale = 1.0f
 
ObjectGuid MoverGUID
 
uint32 MountDisplayID = 0
 
UpdateCollisionHeightReason Reason = UPDATE_COLLISION_HEIGHT_MOUNT
 
uint32 SequenceIndex = 0
 
float Height = 1.0f
 

Additional Inherited Members

- Protected Attributes inherited from WorldPackets::Packet
WorldPacket _worldPacket
 

Constructor & Destructor Documentation

WorldPackets::Movement::MoveSetCollisionHeight::MoveSetCollisionHeight ( )
inline
371 : ServerPacket(SMSG_MOVE_SET_COLLISION_HEIGHT, 4 + 16 + 4 + 1 + 4 + 4) { }
ServerPacket(OpcodeServer opcode, size_t initialSize=200, ConnectionType connection=CONNECTION_TYPE_DEFAULT)
Definition: Packet.h:49
Definition: Opcodes.h:1238

Member Function Documentation

WorldPacket const * WorldPackets::Movement::MoveSetCollisionHeight::Write ( )
overridevirtual

Implements WorldPackets::Packet.

652 {
655  _worldPacket << float(Height);
656  _worldPacket << float(Scale);
660 
661  return &_worldPacket;
662 }
float Scale
Definition: MovementPackets.h:375
float Height
Definition: MovementPackets.h:380
uint32 MountDisplayID
Definition: MovementPackets.h:377
UpdateCollisionHeightReason Reason
Definition: MovementPackets.h:378
ObjectGuid MoverGUID
Definition: MovementPackets.h:376
void FlushBits()
Definition: ByteBuffer.h:150
WorldPacket _worldPacket
Definition: Packet.h:43
uint32 SequenceIndex
Definition: MovementPackets.h:379
uint32_t uint32
Definition: g3dmath.h:168
void WriteBits(T value, int32 bits)
Definition: ByteBuffer.h:198

Member Data Documentation

float WorldPackets::Movement::MoveSetCollisionHeight::Height = 1.0f
uint32 WorldPackets::Movement::MoveSetCollisionHeight::MountDisplayID = 0
ObjectGuid WorldPackets::Movement::MoveSetCollisionHeight::MoverGUID
UpdateCollisionHeightReason WorldPackets::Movement::MoveSetCollisionHeight::Reason = UPDATE_COLLISION_HEIGHT_MOUNT
float WorldPackets::Movement::MoveSetCollisionHeight::Scale = 1.0f
uint32 WorldPackets::Movement::MoveSetCollisionHeight::SequenceIndex = 0

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