212 data << movementSpline.Flags;
213 data << movementSpline.AnimTier;
214 data << movementSpline.TierTransStartTime;
215 data << movementSpline.Elapsed;
216 data << movementSpline.MoveTime;
217 data << movementSpline.JumpGravity;
218 data << movementSpline.SpecialTime;
219 data <<
int32(movementSpline.Points.size());
220 data << movementSpline.Mode;
221 data << movementSpline.VehicleExitVoluntary;
222 data << movementSpline.TransportGUID;
223 data << movementSpline.VehicleSeat;
224 data <<
int32(movementSpline.PackedDeltas.size());
227 for (
G3D::Vector3 const& pos : movementSpline.PackedDeltas)
230 data.
WriteBit(movementSpline.SplineFilter.is_initialized());
233 switch (movementSpline.Face)
236 data << movementSpline.FaceSpot;
239 data << movementSpline.FaceDirection;
240 data << movementSpline.FaceGUID;
243 data << movementSpline.FaceDirection;
247 if (movementSpline.SplineFilter)
248 data << *movementSpline.SplineFilter;
float x
Definition: Vector3.h:62
Definition: MovementTypedefs.h:39
void FlushBits()
Definition: ByteBuffer.h:150
bool WriteBit(uint32 bit)
Definition: ByteBuffer.h:170
float y
Definition: Vector3.h:62
void appendPackXYZ(float x, float y, float z)
Definition: ByteBuffer.h:638
float z
Definition: Vector3.h:62
int32_t int32
Definition: g3dmath.h:167
Definition: MovementTypedefs.h:38
void WriteBits(T value, int32 bits)
Definition: ByteBuffer.h:198
Definition: MovementTypedefs.h:40