FMockSyncState

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

Choose your operating system:

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
)