UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FCharacterMoveResponseDataContainer Struct Reference

#include <CharacterMovementReplication.h>

Public Member Functions

 FCharacterMoveResponseDataContainer ()
 
virtual ~FCharacterMoveResponseDataContainer ()
 
virtual ENGINE_API void ServerFillResponseData (const UCharacterMovementComponent &CharacterMovement, const FClientAdjustment &PendingAdjustment)
 
virtual ENGINE_API bool Serialize (UCharacterMovementComponent &CharacterMovement, FArchive &Ar, UPackageMap *PackageMap)
 
bool IsGoodMove () const
 
bool IsCorrection () const
 
ENGINE_API FRootMotionSourceGroupGetRootMotionSourceGroup (UCharacterMovementComponent &CharacterMovement) const
 

Public Attributes

bool bHasBase
 
bool bHasRotation
 
bool bRootMotionMontageCorrection
 
bool bRootMotionSourceCorrection
 
FClientAdjustment ClientAdjustment
 
float RootMotionTrackPosition
 
FVector_NetQuantizeNormal RootMotionRotation
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ FCharacterMoveResponseDataContainer()

FCharacterMoveResponseDataContainer::FCharacterMoveResponseDataContainer ( )
inline

◆ ~FCharacterMoveResponseDataContainer()

virtual FCharacterMoveResponseDataContainer::~FCharacterMoveResponseDataContainer ( )
inlinevirtual

Member Function Documentation

◆ GetRootMotionSourceGroup()

FRootMotionSourceGroup * FCharacterMoveResponseDataContainer::GetRootMotionSourceGroup ( UCharacterMovementComponent CharacterMovement) const

◆ IsCorrection()

bool FCharacterMoveResponseDataContainer::IsCorrection ( ) const
inline

◆ IsGoodMove()

bool FCharacterMoveResponseDataContainer::IsGoodMove ( ) const
inline

◆ Serialize()

bool FCharacterMoveResponseDataContainer::Serialize ( UCharacterMovementComponent CharacterMovement,
FArchive Ar,
UPackageMap PackageMap 
)
virtual

Serialize the FClientAdjustment data and other internal flags.

◆ ServerFillResponseData()

void FCharacterMoveResponseDataContainer::ServerFillResponseData ( const UCharacterMovementComponent CharacterMovement,
const FClientAdjustment PendingAdjustment 
)
virtual

Copy the FClientAdjustment and set a few flags relevant to that data.

Member Data Documentation

◆ bHasBase

bool FCharacterMoveResponseDataContainer::bHasBase

◆ bHasRotation

bool FCharacterMoveResponseDataContainer::bHasRotation

◆ bRootMotionMontageCorrection

bool FCharacterMoveResponseDataContainer::bRootMotionMontageCorrection

◆ bRootMotionSourceCorrection

bool FCharacterMoveResponseDataContainer::bRootMotionSourceCorrection

◆ ClientAdjustment

FClientAdjustment FCharacterMoveResponseDataContainer::ClientAdjustment

◆ RootMotionRotation

FVector_NetQuantizeNormal FCharacterMoveResponseDataContainer::RootMotionRotation

◆ RootMotionTrackPosition

float FCharacterMoveResponseDataContainer::RootMotionTrackPosition

The documentation for this struct was generated from the following files: