Navigation
API > API/Plugins > API/Plugins/NetworkPrediction
| Name | UNetworkPredictionWorldManager |
| Type | class |
| Header File | /Engine/Plugins/Runtime/NetworkPrediction/Source/NetworkPrediction/Public/NetworkPredictionWorldManager.h |
| Include Path | #include "NetworkPredictionWorldManager.h" |
Syntax
UCLASS (MinimalAPI)
class UNetworkPredictionWorldManager : public UWorldSubsystem
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → USubsystem → UWorldSubsystem → UNetworkPredictionWorldManager
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UNetworkPredictionWorldManager() |
NetworkPredictionWorldManager.h |
Structs
| Name | Remarks |
|---|---|
| FPhysics |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FOnHandleDeferredServiceConfig | TMulticastDelegate_OneParam< void, UNetworkPredictionWorldManager * > | Callbacks to change subscribed services, that couldn't be made inline. | NetworkPredictionWorldManager.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| ActiveInstance | UNetworkPredictionWorldManager * | NetworkPredictionWorldManager.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ReplicatedManager | TObjectPtr< ANetworkPredictionReplicatedManager > | Server created, replicated manager (only used for centralized/system wide data replication) | NetworkPredictionWorldManager.h |
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bLockServices | bool | NetworkPredictionWorldManager.h | ||
| DeferredServiceConfigDelegate | FOnHandleDeferredServiceConfig | NetworkPredictionWorldManager.h | ||
| FixedTickState | FFixedTickState | NetworkPredictionWorldManager.h | ||
| InstanceSpawnCounter | int32 | NetworkPredictionWorldManager.h | ||
| LastFixedTickOffset | int32 | NetworkPredictionWorldManager.h | ||
| Physics | FPhysics | NetworkPredictionWorldManager.h | ||
| PostTickDispatchHandle | FDelegateHandle | NetworkPredictionWorldManager.h | ||
| PreTickDispatchHandle | FDelegateHandle | NetworkPredictionWorldManager.h | ||
| PreWorldActorTickHandle | FDelegateHandle | NetworkPredictionWorldManager.h | ||
| Services | FNetworkPredictionServiceRegistry | NetworkPredictionWorldManager.h | ||
| Settings | FNetworkPredictionSettings | NetworkPredictionWorldManager.h | ||
| TempClientSpawnCount | int32 | NetworkPredictionWorldManager.h | ||
| VariableTickState | FVariableTickState | NetworkPredictionWorldManager.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool CanPhysicsFixTick() |
Is the engine currently setup to fix tick physics. | NetworkPredictionWorldManager.h | |
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. | NetworkPredictionWorldManager.h | |
FNetworkPredictionID CreateSimulationID
(
const bool bForClient |
Returns unique ID for a new simulation instance regardless of type. | NetworkPredictionWorldManager.h | |
const FFixedTickState & GetFixedTickState() |
NetworkPredictionWorldManager.h | ||
const FNetworkPredictionSettings & GetSettings() |
NetworkPredictionWorldManager.h | ||
const FVariableTickState & GetVariableTickState() |
NetworkPredictionWorldManager.h | ||
ENetworkPredictionTickingPolicy PreferredDefaultTickingPolicy() |
NetworkPredictionWorldManager.h | ||
void RegisterInstance
(
FNetworkPredictionID ID, |
NetworkPredictionWorldManager.h | ||
void RemapClientSimulationID
(
FNetworkPredictionID ClientID, |
NetworkPredictionWorldManager.h | ||
void SyncNetworkPredictionSettings
(
const UNetworkPredictionSettingsObject* Settings |
NetworkPredictionWorldManager.h | ||
void UnregisterInstance
(
FNetworkPredictionID ID |
NetworkPredictionWorldManager.h |
Overridden from USubsystem
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void Deinitialize() |
NetworkPredictionWorldManager.h | ||
virtual void Initialize
(
FSubsystemCollectionBase& Collection |
Subsystem Init/Deinit. | NetworkPredictionWorldManager.h |