Navigation
API > API/Plugins > API/Plugins/NetworkPrediction
Calls ProduceInput on driver to get local input Requires valid FNetworkPredictionDriver::ProduceInput function
| Name | TLocalInputService |
| Type | class |
| Header File | /Engine/Plugins/Runtime/NetworkPrediction/Source/NetworkPrediction/Public/Services/NetworkPredictionService_Input.inl |
| Include Path | #include "Services/NetworkPredictionService_Input.inl" |
Syntax
template<typename InModelDef>
class TLocalInputService : public IInputService
Implements Interfaces
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TLocalInputService
(
TModelDataStore< ModelDef >* InDataStore |
Structs
| Name | Remarks |
|---|---|
| FInstance |
Typedefs
| Name | Type | Remarks | Include Path | | --- | --- | --- | --- |Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers | | --- | --- | --- | --- | --- |Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void RegisterInstance
(
FNetworkPredictionID ID |
|||
void UnregisterInstance
(
FNetworkPredictionID ID |
Overridden from IInputService
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void ProduceInput
(
int32 DeltaTimeMS |