Navigation
API > API/Plugins > API/Plugins/NetworkPrediction
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- USubsystem
- UWorldSubsystem
- UNetworkPredictionWorldManager
References
| Module | NetworkPrediction |
| Header | /Engine/Plugins/Runtime/NetworkPrediction/Source/NetworkPrediction/Public/NetworkPredictionWorldManager.h |
| Include | #include "NetworkPredictionWorldManager.h" |
Syntax
UCLASS&40;&41;
class UNetworkPredictionWorldManager : public UWorldSubsystem
Variables
| Type | Name | Description | |
|---|---|---|---|
| TObjectPtr< ANetworkPredictionReplicatedManager > | ReplicatedManager | Server created, replicated manager (only used for centralized/system wide data replication) |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | Is the engine currently setup to fix tick physics. | ||
| void | ConfigureInstance
(
FNetworkPredictionID ID, |
This is the function that takes the config and current network state (role/connection) and subscribes to the appropriate internal NetworkPrediction services. | |
| FNetworkPredictionID | CreateSimulationID
(
const bool bForClient |
Returns unique ID for a new simulation instance regardless of type. | |
| const FNetworkPredictionSettings & | GetSettings () |
||
| ENetworkPredictionTickingPolicy | |||
| void | RegisterInstance
(
FNetworkPredictionID ID, |
||
| void | RemapClientSimulationID
(
FNetworkPredictionID ClientID, |
||
| void | SyncNetworkPredictionSettings
(
const UNetworkPredictionSettingsObject* Settings |
||
| void |
Overridden from USubsystem
| Type | Name | Description | |
|---|---|---|---|
| void | Deinitialize () |
Implement this for deinitialization of instances of the system | |
| void | Initialize
(
FSubsystemCollectionBase& Collection |
Subsystem Init/Deinit. |
Typedefs
| Name | Description |
|---|---|
| FOnHandleDeferredServiceConfig | Callbacks to change subscribed services, that couldn't be made inline. |
Constants
| Name | Description |
|---|---|
| ActiveInstance |