UCharacterMovementComponent::ServerMoveOld_Implementation
Deprecated: ServerMoveOld_Implementation() is deprecated, use ServerMove_PerformMovement() instead, or define SUPPORT_DEPRECATED_CHARACTER_MOVEMENT_RPCS=1 in the project and set CVar p.NetUsePackedMovementRPCs=0 to use the old code path.
#include "GameFramework/CharacterMovementComponent.h"
Access: public
Specifiers: virtualENGINE_API
Description
The RPC implementation body for the legacy ServerMoveOld(), executed on the server when the deprecated RPC path is active.
Caveats & Gotchas
- • Deprecated since UE 4.26 in favor of ServerMove_PerformMovement(), which is what the packed RPC path calls instead.
- • As a UFUNCTION(Server) implementation, this only runs if ServerMoveOld_Validate() returns true first.
- • Only reachable when SUPPORT_DEPRECATED_CHARACTER_MOVEMENT_RPCS=1 and packed RPCs are disabled via CVar.
Signature
virtual void ServerMoveOld_Implementation(float OldTimeStamp, FVector_NetQuantize10 OldAccel, uint8 OldMoveFlags) Parameters
| Name | Type | Description | Default |
|---|---|---|---|
| OldTimeStamp | float | Timestamp of the older move being resent. | — |
| OldAccel | FVector_NetQuantize10 | Quantized acceleration for the old move. | — |
| OldMoveFlags | uint8 | Compressed input flags for the old move (e.g. jump). | — |
Return Type
void Example
Legacy implementation entry point (engine-internal, deprecated path) C++
// Invoked by the engine's RPC dispatch after ServerMoveOld_Validate() passes:
CharacterMovementComponent->ServerMoveOld_Implementation(OldTimeStamp, OldAccel, OldMoveFlags); See Also
Version History
Introduced in: 4.0
| Version | Status | Notes |
|---|---|---|
| 5.6 | deprecated | Deprecated since 4.26 in favor of packed movement RPCs. |
Feedback
Was this helpful?