6528 packet >>
Data.floatData;
6531 packet >>
Data.floatData2;
6534 packet >>
Data.byteData;
6537 packet >>
Data.extraInt32Data;
6575 packet <<
Data.floatData;
6578 packet <<
Data.floatData2;
6581 packet <<
Data.byteData;
6584 packet <<
Data.extraInt32Data;
6597 SF_LOG_ERROR(
"entities.unit",
"Incorrect sequence element %d detected at %s", element, function);
6606 _selfOpcode = playerControl;
6607 _broadcast = broadcast;
6611 _selfOpcode = NULL_OPCODE;
6612 _broadcast = serverControl;
6618 bool isPlayerMovement =
false;
6626 player->SendDirectMessage(&data);
6638 _unit->SendMessageToSet(&data, !isPlayerMovement);
#define SF_LOG_ERROR(filterType__,...)
MovementStatusElements const MovementStartStrafeRight[]
MovementStatusElements const MovementHeartBeat[]
MovementStatusElements const MovementForceSwimSpeedChangeAck[]
MovementStatusElements const MovementForceTurnRateChangeAck[]
MovementStatusElements const SplineMoveSetFlying[]
MovementStatusElements const MovementUpdateFlightBackSpeed[]
MovementStatusElements const MoveSetSwimBackSpeed[]
MovementStatusElements const MovementUpdateSwimSpeed[]
MovementStatusElements const SplineMoveSetRunMode[]
MovementStatusElements const MoveSetCanFly[]
MovementStatusElements const SplineMoveSetRunSpeed[]
MovementStatusElements const MoveUnsetHover[]
MovementStatusElements const MovementForceWalkSpeedChangeAck[]
MovementStatusElements const MovementForceRunSpeedChangeAck[]
MovementStatusElements const MovementHoverAck[]
MovementStatusElements const MovementForceRunBackSpeedChangeAck[]
MovementStatusElements const ForceMoveRootAck[]
MovementStatusElements const SplineMoveGravityDisable[]
MovementStatusElements const MovementUpdateTurnRate[]
MovementStatusElements const MoveSetRunBackSpeed[]
MovementStatusElements const SplineMoveStartSwim[]
MovementStatusElements const MovementStartDescend[]
MovementStatusElements const MovementStartForward[]
MovementStatusElements const SplineMoveSetHover[]
MovementStatusElements const MoveNotActiveMover[]
MovementStatusElements const MovementSetRunMode[]
MovementStatusElements const MovementFeatherFallAck[]
MovementStatusElements const MovementKnockBackAck[]
MovementStatusElements const MovementStartAscend[]
MovementStatusElements const MovementSetWalkMode[]
MovementStatusElements const MovementStopTurn[]
MovementStatusElements const DismissControlledVehicle[]
MovementStatusElements const MovementSetCanFlyAck[]
MovementStatusElements const MoveUnroot[]
MovementStatusElements const MoveLandWalk[]
MovementStatusElements const MovementUpdateKnockBack[]
MovementStatusElements const MoveGravityEnable[]
MovementStatusElements const MovementStopStrafe[]
MovementStatusElements const MoveSetTurnRate[]
MovementStatusElements const SetVehicleRecIdAck[]
MovementStatusElements const MoveSetFlightBackSpeed[]
MovementStatusElements const MoveSetHover[]
MovementStatusElements const MovementSetPitch[]
MovementStatusElements const MoveFeatherFall[]
MovementStatusElements const MoveTeleport[]
MovementStatusElements const MovementStartPitchUp[]
MovementStatusElements const MovementStopSwim[]
MovementStatusElements const CastSpellEmbeddedMovement[]
MovementStatusElements const MoveUnsetCanFly[]
MovementStatusElements const MovementStartTurnLeft[]
MovementStatusElements const SplineMoveSetFlightSpeed[]
MovementStatusElements const MovementForcePitchRateChangeAck[]
MovementStatusElements const SplineMoveStopSwim[]
MovementStatusElements const MoveNormalFall[]
MovementStatusElements const MovementSetFacing[]
MovementStatusElements const MovementSetCanTransitionBetweenSwimAndFlyAck[]
MovementStatusElements const SplineMoveSetNormalFall[]
MovementStatusElements const SplineMoveSetWalkMode[]
MovementStatusElements const MoveRoot[]
MovementStatusElements const MovementStopPitch[]
MovementStatusElements const SplineMoveSetWaterWalk[]
MovementStatusElements const MoveChngTransport[]
MovementStatusElements const SplineMoveSetSwimSpeed[]
MovementStatusElements const MoveSetFlightSpeed[]
MovementStatusElements const MoveSetPitchRate[]
MovementStatusElements const SplineMoveSetPitchRate[]
MovementStatusElements const SplineMoveSetLandWalk[]
MovementStatusElements const SplineMoveRoot[]
MovementStatusElements const MovementStartTurnRight[]
MovementStatusElements const MovementJump[]
MovementStatusElements const SplineMoveSetWalkSpeed[]
MovementStatusElements const SplineMoveUnsetHover[]
MovementStatusElements const MovementFallReset[]
MovementStatusElements const MovementSetCanFly[]
MovementStatusElements const MovementUpdateSwimBackSpeed[]
MovementStatusElements const MovementForceFlightBackSpeedChangeAck[]
MovementStatusElements const MoveSetRunSpeed[]
MovementStatusElements const SplineMoveSetTurnRate[]
MovementStatusElements const * GetMovementStatusElementsSequence(Opcodes opcode)
MovementStatusElements const MoveWaterWalk[]
MovementStatusElements const SplineMoveUnsetFlying[]
MovementStatusElements const MovementForceSwimBackSpeedChangeAck[]
MovementStatusElements const MovementFallLand[]
MovementStatusElements const MoveSplineDone[]
MovementStatusElements const MoveUpdateTeleport[]
MovementStatusElements const MovementStop[]
MovementStatusElements const SplineMoveUnroot[]
MovementStatusElements const MovementStartStrafeLeft[]
MovementStatusElements const MovementUpdatePitchBack[]
MovementStatusElements const MovementApplyMovementForceAck[]
MovementStatusElements const MovementStartSwim[]
MovementStatusElements const SplineMoveSetSwimBackSpeed[]
MovementStatusElements const MovementUpdateWalkSpeed[]
MovementStatusElements const MoveSetSwimSpeed[]
MovementStatusElements const MovementRemoveMovementForceAck[]
MovementStatusElements const MovementStartBackward[]
MovementStatusElements const MovementSetFly[]
MovementStatusElements const MovementStopAscend[]
MovementStatusElements const MovementUpdateRunSpeed[]
MovementStatusElements const MovementUpdateRunBackSpeed[]
MovementStatusElements const PlayerMove[]
MovementStatusElements const MovementUpdateCollisionHeight[]
MovementStatusElements const SplineMoveGravityEnable[]
MovementStatusElements const MovementWaterWalkAck[]
MovementStatusElements const MoveSetWalkSpeed[]
MovementStatusElements const MoveGravityDisable[]
MovementStatusElements const MovementSetCollisionHeightAck[]
MovementStatusElements const MovementGravityDisableAck[]
MovementStatusElements const MovementForceFlightSpeedChangeAck[]
MovementStatusElements const MovementGravityEnableAck[]
MovementStatusElements const ForceMoveUnrootAck[]
MovementStatusElements const SplineMoveSetFeatherFall[]
MovementStatusElements const MoveSetCollisionHeight[]
MovementStatusElements const MovementStartPitchDown[]
MovementStatusElements const ChangeSeatsOnControlledVehicle[]
MovementStatusElements const MovementUpdateFlightSpeed[]
MovementStatusElements const SplineMoveSetFlightBackSpeed[]
MovementStatusElements const SplineMoveSetRunBackSpeed[]
@ MSEMountDisplayIdWithCheck
@ MSEHasTransportGuidByte5
@ MSEMountDisplayIdWithoutCheck
@ MSEHasTransportGuidByte3
@ MSEHasTransportGuidByte6
@ MSEHasTransportGuidByte2
@ MSEHasTransportGuidByte1
@ MSEHasTransportGuidByte7
@ MSEOrientationWithoutCheck
@ MSETransportOrientation
@ MSEHasTransportGuidByte4
@ MSEHasTransportGuidByte0
bool WriteBit(uint32 bit)
uint32 ReadBits(size_t bits)
void ReadByteSeq(uint8 &b)
void WriteBits(T value, size_t bits)
void WriteByteSeq(uint8 b)
ExtraMovementStatusElement * _extraElements
PacketSender(Unit *unit, Opcodes serverControl, Opcodes playerControl, Opcodes broadcast=SMSG_PLAYER_MOVE, ExtraMovementStatusElement *extras=NULL)
@ SMSG_MOVE_SET_FLIGHT_SPEED
@ SMSG_MOVE_SET_FLIGHT_BACK_SPEED
@ SMSG_SPLINE_MOVE_STOP_SWIM
@ MSG_MOVE_START_BACKWARD
@ SMSG_MOVE_UPDATE_PITCH_RATE
@ CMSG_MOVE_GRAVITY_ENABLE_ACK
@ MSG_MOVE_START_TURN_RIGHT
@ SMSG_MOVE_SET_RUN_BACK_SPEED
@ SMSG_SPLINE_MOVE_START_SWIM
@ SMSG_SPLINE_MOVE_SET_RUN_MODE
@ CMSG_MOVE_SET_CAN_FLY_ACK
@ CMSG_MOVE_FORCE_SWIM_SPEED_CHANGE_ACK
@ SMSG_SPLINE_MOVE_GRAVITY_DISABLE
@ SMSG_SPLINE_MOVE_SET_RUN_SPEED
@ CMSG_MOVE_APPLY_MOVEMENT_FORCE_ACK
@ SMSG_MOVE_UPDATE_TELEPORT
@ MSG_MOVE_START_TURN_LEFT
@ SMSG_SPLINE_MOVE_SET_PITCH_RATE
@ CMSG_MOVE_REMOVE_MOVEMENT_FORCE_ACK
@ SMSG_SPLINE_MOVE_SET_FLIGHT_SPEED
@ CMSG_MOVE_FORCE_TURN_RATE_CHANGE_ACK
@ SMSG_SPLINE_MOVE_SET_NORMAL_FALL
@ SMSG_MOVE_UPDATE_FLIGHT_SPEED
@ SMSG_MOVE_SET_PITCH_RATE
@ SMSG_MOVE_SET_COLLISION_HEIGHT
@ SMSG_MOVE_GRAVITY_DISABLE
@ CMSG_MOVE_FORCE_WALK_SPEED_CHANGE_ACK
@ SMSG_MOVE_UPDATE_FLIGHT_BACK_SPEED
@ SMSG_MOVE_UPDATE_WALK_SPEED
@ CMSG_MOVE_FORCE_FLIGHT_SPEED_CHANGE_ACK
@ SMSG_SPLINE_MOVE_SET_LAND_WALK
@ CMSG_MOVE_FEATHER_FALL_ACK
@ CMSG_MOVE_WATER_WALK_ACK
@ MSG_MOVE_START_STRAFE_RIGHT
@ SMSG_MOVE_GRAVITY_ENABLE
@ SMSG_MOVE_UPDATE_SWIM_SPEED
@ SMSG_SPLINE_MOVE_SET_WALK_SPEED
@ MSG_MOVE_START_PITCH_DOWN
@ CMSG_MOVE_FORCE_RUN_SPEED_CHANGE_ACK
@ SMSG_MOVE_UPDATE_TURN_RATE
@ CMSG_MOVE_FORCE_RUN_BACK_SPEED_CHANGE_ACK
@ SMSG_SPLINE_MOVE_SET_HOVER
@ SMSG_SPLINE_MOVE_SET_FLYING
@ CMSG_SET_VEHICLE_REC_ID_ACK
@ SMSG_MOVE_SET_TURN_RATE
@ SMSG_SPLINE_MOVE_UNSET_HOVER
@ CMSG_MOVE_FORCE_SWIM_BACK_SPEED_CHANGE_ACK
@ SMSG_SPLINE_MOVE_SET_TURN_RATE
@ CMSG_MOVE_CHNG_TRANSPORT
@ CMSG_MOVE_KNOCK_BACK_ACK
@ SMSG_MOVE_SET_SWIM_SPEED
@ SMSG_MOVE_UPDATE_RUN_SPEED
@ CMSG_FORCE_MOVE_ROOT_ACK
@ SMSG_MOVE_SET_WALK_SPEED
@ SMSG_SPLINE_MOVE_UNROOT
@ CMSG_MOVE_FORCE_PITCH_RATE_CHANGE_ACK
@ CMSG_DISMISS_CONTROLLED_VEHICLE
@ CMSG_MOVE_SET_COLLISION_HEIGHT_ACK
@ CMSG_CHANGE_SEATS_ON_CONTROLLED_VEHICLE
@ SMSG_SPLINE_MOVE_SET_WATER_WALK
@ CMSG_FORCE_MOVE_UNROOT_ACK
@ SMSG_SPLINE_MOVE_SET_SWIM_SPEED
@ SMSG_MOVE_UPDATE_SWIM_BACK_SPEED
@ SMSG_SPLINE_MOVE_SET_WALK_MODE
@ SMSG_SPLINE_MOVE_GRAVITY_ENABLE
@ SMSG_SPLINE_MOVE_UNSET_FLYING
@ SMSG_SPLINE_MOVE_SET_RUN_BACK_SPEED
@ SMSG_MOVE_UNSET_CAN_FLY
@ MSG_MOVE_START_PITCH_UP
@ SMSG_MOVE_UPDATE_RUN_BACK_SPEED
@ MSG_MOVE_START_STRAFE_LEFT
@ SMSG_MOVE_SET_SWIM_BACK_SPEED
@ SMSG_MOVE_SET_RUN_SPEED
@ SMSG_MOVE_UPDATE_KNOCK_BACK
@ SMSG_MOVE_UPDATE_COLLISION_HEIGHT
@ SMSG_SPLINE_MOVE_SET_FEATHER_FALL
@ CMSG_MOVE_GRAVITY_DISABLE_ACK
@ SMSG_SPLINE_MOVE_SET_SWIM_BACK_SPEED
@ SMSG_SPLINE_MOVE_SET_FLIGHT_BACK_SPEED
@ CMSG_MOVE_FORCE_FLIGHT_BACK_SPEED_CHANGE_ACK
bool PrintInvalidSequenceElement(MovementStatusElements element, char const *function)