Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/GameFramework
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/GameFramework/CharacterMovementReplication.h |
| Include | #include "GameFramework/CharacterMovementReplication.h" |
Syntax
struct FCharacterMoveResponseDataContainer
Remarks
Response from the server to the client about a move that is being acknowledged. Internally it mainly copies the FClientAdjustment from the UCharacterMovementComponent indicating the response, as well as setting a few relevant flags about the response and serializing the response to and from an FArchive for handling the variable-size payload over the network.
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bHasBase | ||
| bool | bHasRotation | ||
| bool | bRootMotionMontageCorrection | ||
| bool | bRootMotionSourceCorrection | ||
| FClientAdjustment | ClientAdjustment | Client adjustment. All data other than bAckGoodMove and TimeStamp is only valid if this is a correction (not an ack). | |
| FVector_NetQuantizeNormal | RootMotionRotation | ||
| float | RootMotionTrackPosition |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| FRootMotionSourceGroup * | GetRootMotionSourceGroup
(
UCharacterMovementComponent& CharacterMovement |
||
| bool | IsCorrection () |
||
| bool | IsGoodMove () |
||
| bool | Serialize
(
UCharacterMovementComponent& CharacterMovement, |
Serialize the FClientAdjustment data and other internal flags. | |
| void | ServerFillResponseData
(
const UCharacterMovementComponent& CharacterMovement, |
Copy the FClientAdjustment and set a few flags relevant to that data. |