ACharacter::ServerMoveDualNoBase_Implementation
Deprecated: Use ServerMovePacked_Implementation instead.
#include "GameFramework/Character.h"
Access: public
Description
Server-side body for ServerMoveDualNoBase. Processes both batched moves in sequence on the server, forwarding to CharacterMovement with null base parameters for each.
Caveats & Gotchas
- • Deprecated; prefer the packed RPC path for all new work.
- • If the server rejects or corrects the first move, the second move may still be processed with the corrected state, which can cause a double-correction artefact if the client has already applied its own prediction.
Signature
ENGINE_API void ServerMoveDualNoBase_Implementation(float TimeStamp0, FVector_NetQuantize10 InAccel0, uint8 PendingFlags, uint32 View0, float TimeStamp, FVector_NetQuantize10 InAccel, FVector_NetQuantize100 ClientLoc, uint8 NewFlags, uint8 ClientRoll, uint32 View, uint8 ClientMovementMode) Parameters
| Name | Type | Description | Default |
|---|---|---|---|
| TimeStamp0 | float | Timestamp of the older move. | — |
| InAccel0 | FVector_NetQuantize10 | Acceleration for the older move. | — |
| PendingFlags | uint8 | Move flags for the older move. | — |
| View0 | uint32 | View direction for the older move. | — |
| TimeStamp | float | Timestamp of the newer move. | — |
| InAccel | FVector_NetQuantize10 | Acceleration for the newer move. | — |
| ClientLoc | FVector_NetQuantize100 | Client location after the newer move. | — |
| NewFlags | uint8 | Move flags for the newer move. | — |
| ClientRoll | uint8 | Client roll. | — |
| View | uint32 | View direction for the newer move. | — |
| ClientMovementMode | uint8 | Client movement mode. | — |
Return Type
void Example
Override to log both move timestamps C++
void AMyCharacter::ServerMoveDualNoBase_Implementation(
float TimeStamp0, FVector_NetQuantize10 InAccel0, uint8 PendingFlags,
uint32 View0, float TimeStamp, FVector_NetQuantize10 InAccel,
FVector_NetQuantize100 ClientLoc, uint8 NewFlags, uint8 ClientRoll,
uint32 View, uint8 ClientMovementMode)
{
UE_LOG(LogTemp, Verbose, TEXT("DualNoBase: ts0=%.3f ts=%.3f"), TimeStamp0, TimeStamp);
Super::ServerMoveDualNoBase_Implementation(
TimeStamp0, InAccel0, PendingFlags, View0,
TimeStamp, InAccel, ClientLoc, NewFlags, ClientRoll, View, ClientMovementMode);
} Version History
Introduced in: 4.0
| Version | Status | Notes |
|---|---|---|
| 5.6 | stable | — |
Feedback
Was this helpful?