TNetSimInput

Input state: const references to the InputCmd/SyncState/AuxStates.

Windows
MacOS
Linux

References

Module

NetworkPrediction

Header

/Engine/Plugins/Runtime/NetworkPrediction/Source/NetworkPrediction/Public/NetworkedSimulationModelTypes.h

Include

#include "NetworkedSimulationModelTypes.h"

Syntax

template<typename TBufferTypes>
struct TNetSimInput

Remarks

Simulation Input/Output parameters. These are the data structures passed into the simulation code each frame

Variables

Name Description

Public variable

const TBufferTy...

 

Aux

Public variable

const TBufferTy...

 

Cmd

Public variable

const TBufferTy...

 

Sync

Constructors

Name Description

Public function

TNetSimInput

(
    const TNetSimInput< T >& Other
)

Allows implicit downcasting to a parent simulation class's input types.

Public function

TNetSimInput

(
    const typename TBufferTypes::TInput...,
    const typename TBufferTypes::TSyncS...,
    const typename TBufferTypes::TAuxSt...
)

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