Navigation
API > API/Plugins > API/Plugins/NetworkPrediction
Basic ModelDef type registry. ModelDefs are registered and assigned an ID (their ModelDef::ID) based on ModelDef::SortPriority. This ID is used as indices into the various NP service arrays
| Name | FNetworkPredictionModelDefRegistry |
| Type | class |
| Header File | /Engine/Plugins/Runtime/NetworkPrediction/Source/NetworkPrediction/Public/NetworkPredictionModelDefRegistry.h |
| Include Path | #include "NetworkPredictionModelDefRegistry.h" |
Syntax
class FNetworkPredictionModelDefRegistry
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FNetworkPredictionModelDefRegistry() |
Declaring this as private to help avoid sidestepping singleton. | NetworkPredictionModelDefRegistry.h |
Structs
| Name | Remarks |
|---|---|
| FTypeInfo |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bFinalized | bool | NetworkPredictionModelDefRegistry.h | ||
| ModelDefList | TArray< FTypeInfo > | NetworkPredictionModelDefRegistry.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void FinalizeTypes() |
NetworkPredictionModelDefRegistry.h | ||
void RegisterType() |
NetworkPredictionModelDefRegistry.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FNetworkPredictionModelDefRegistry & Get() |
NetworkPredictionModelDefRegistry.h |