273 data <<
uint32(moveSpline.GetId());
275 if (!moveSpline.isCyclic())
276 data << moveSpline.FinalDestination().xyz();
280 if (data.
WriteBit(!moveSpline.Finalized()))
286 data.
WriteBits(moveSpline.splineflags.raw(), 28);
305 data <<
int32(moveSpline.timePassed());
306 data <<
uint32(moveSpline.Duration());
310 uint32 PointsCount = moveSpline.getPath().size();
311 data <<
uint32(PointsCount);
316 data << moveSpline.facing.f;
319 data << moveSpline.facing.target;
322 data << moveSpline.facing.angle;
327 data << float(moveSpline.vertical_acceleration);
330 data <<
uint32(moveSpline.effect_start_time);
Definition: MovementTypedefs.h:39
Definition: MoveSplineFlag.h:57
void FlushBits()
Definition: ByteBuffer.h:150
bool WriteBit(uint32 bit)
Definition: ByteBuffer.h:170
bool final_point
Definition: MoveSplineFlag.h:136
static const Vector3 & zero()
Definition: Vector3.cpp:119
uint32_t uint32
Definition: Define.h:150
Definition: MoveSplineFlag.h:58
void append(T value)
Definition: ByteBuffer.h:143
Definition: MoveSplineFlag.h:28
uint8_t uint8
Definition: g3dmath.h:164
int32_t int32
Definition: g3dmath.h:167
uint8_t uint8
Definition: Define.h:152
uint32_t uint32
Definition: g3dmath.h:168
bool final_target
Definition: MoveSplineFlag.h:137
Definition: MovementTypedefs.h:37
Definition: MovementTypedefs.h:38
void WriteBits(T value, int32 bits)
Definition: ByteBuffer.h:198
bool final_angle
Definition: MoveSplineFlag.h:138
Definition: MovementTypedefs.h:40