|
Project SkyFire Core
SkyFire 5.4.8 server core API documentation
|
#include <MovementStructures.h>
Public Member Functions | |
| ExtraMovementStatusElement (MovementStatusElements const *elements) | |
| void | ReadNextElement (ByteBuffer &packet) |
| void | WriteNextElement (ByteBuffer &packet) |
Public Attributes | |
| struct { | |
| int8 byteData | |
| uint32 extra2BitsData | |
| int32 extraInt32Data | |
| float floatData | |
| float floatData2 | |
| ObjectGuid guid | |
| } | Data |
Protected Member Functions | |
| void | ResetIndex () |
Private Attributes | |
| MovementStatusElements const * | _elements |
| uint32 | _index |
Friends | |
| class | PacketSender |
Definition at line 118 of file MovementStructures.h.
|
inline |
Definition at line 123 of file MovementStructures.h.
| void Movement::ExtraMovementStatusElement::ReadNextElement | ( | ByteBuffer & | packet | ) |
Definition at line 6501 of file MovementStructures.cpp.
References _elements, _index, ASSERT, Data, MSEExtra2Bits, MSEExtraFloat, MSEExtraFloat2, MSEExtraInt32, MSEExtraInt8, MSEGuidByte0, MSEGuidByte1, MSEGuidByte2, MSEGuidByte3, MSEGuidByte4, MSEGuidByte5, MSEGuidByte6, MSEGuidByte7, MSEHasGuidByte0, MSEHasGuidByte1, MSEHasGuidByte2, MSEHasGuidByte3, MSEHasGuidByte4, MSEHasGuidByte5, MSEHasGuidByte6, MSEHasGuidByte7, Movement::PrintInvalidSequenceElement(), ByteBuffer::ReadBit(), ByteBuffer::ReadBits(), and ByteBuffer::ReadByteSeq().
Referenced by Player::ReadMovementInfo().
|
inlineprotected |
Definition at line 139 of file MovementStructures.h.
References _index.
| void Movement::ExtraMovementStatusElement::WriteNextElement | ( | ByteBuffer & | packet | ) |
Definition at line 6548 of file MovementStructures.cpp.
References _elements, _index, ASSERT, Data, MSEExtra2Bits, MSEExtraFloat, MSEExtraFloat2, MSEExtraInt32, MSEExtraInt8, MSEGuidByte0, MSEGuidByte1, MSEGuidByte2, MSEGuidByte3, MSEGuidByte4, MSEGuidByte5, MSEGuidByte6, MSEGuidByte7, MSEHasGuidByte0, MSEHasGuidByte1, MSEHasGuidByte2, MSEHasGuidByte3, MSEHasGuidByte4, MSEHasGuidByte5, MSEHasGuidByte6, MSEHasGuidByte7, Movement::PrintInvalidSequenceElement(), ByteBuffer::WriteBit(), ByteBuffer::WriteBits(), and ByteBuffer::WriteByteSeq().
Referenced by Unit::WriteMovementInfo().
|
friend |
Definition at line 120 of file MovementStructures.h.
References PacketSender.
Referenced by PacketSender.
|
private |
Definition at line 142 of file MovementStructures.h.
Referenced by ExtraMovementStatusElement(), ReadNextElement(), and WriteNextElement().
|
private |
Definition at line 143 of file MovementStructures.h.
Referenced by ExtraMovementStatusElement(), ReadNextElement(), ResetIndex(), and WriteNextElement().
| int8 Movement::ExtraMovementStatusElement::byteData |
Definition at line 131 of file MovementStructures.h.
Referenced by WorldSession::HandleChangeSeatsOnControlledVehicle().
| struct { ... } Movement::ExtraMovementStatusElement::Data |
| uint32 Movement::ExtraMovementStatusElement::extra2BitsData |
Definition at line 133 of file MovementStructures.h.
| int32 Movement::ExtraMovementStatusElement::extraInt32Data |
Definition at line 132 of file MovementStructures.h.
Referenced by WorldSession::HandleMoveSetVehicleRecAck().
| float Movement::ExtraMovementStatusElement::floatData |
Definition at line 134 of file MovementStructures.h.
Referenced by Player::SendMovementSetCollisionHeight(), and Unit::SetSpeed().
| float Movement::ExtraMovementStatusElement::floatData2 |
Definition at line 135 of file MovementStructures.h.
Referenced by Player::SendMovementSetCollisionHeight().
| ObjectGuid Movement::ExtraMovementStatusElement::guid |
Definition at line 130 of file MovementStructures.h.
Referenced by WorldSession::HandleChangeSeatsOnControlledVehicle().