Module |
|
Header |
/Engine/Plugins/Runtime/NetworkPrediction/Source/NetworkPrediction/Public/NetworkedSimulationModelRepControllers.h |
Include |
#include "NetworkedSimulationModelRepControllers.h" |
template<typename Model>
void TryGenerateLocalInput
(
typename TNetSimModelTraits< Model >::Driver * Driver,
TNetworkSimBufferContainer< Model > & Buffers,
TSimulationTicker< typename Model::TickSettings > & Ticker,
bool bProduceInputViaDriver
)
Helper to generate a local input cmd if we have simulation time to spend and advance the simulation's MaxAllowedFrame so that it can be processed.