FMockSyncState

State we are evolving frame to frame and keeping in sync.

Windows
MacOS
Linux

References

Module

NetworkPredictionExtras

Header

/Engine/Plugins/Runtime/NetworkPredictionExtras/Source/NetworkPredictionExtras/Public/MockNetworkSimulation.h

Include

#include "MockNetworkSimulation.h"

Syntax

struct FMockSyncState

Remarks

State we are evolving frame to frame and keeping in sync.

Variables

Name Description

Public variable

float

 

Total

Functions

Name Description

Public function

void

 

Interpolate

(
    const FMockSyncState* From,
    const FMockSyncState* To,
    float PCT
)

Public function

void

 

NetSerialize

(
    const FNetSerializeParams& P
)

Public function Const

bool

 

ShouldReconcile

(
    const FMockSyncState& AuthoritySta...
)

Compare this state with AuthorityState. return true if a reconcile (correction) should happen.

Public function Const

void

 

ToString

(
    FAnsiStringBuilderBase& Out
)

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss