Navigation
API > API/Plugins > API/Plugins/NetworkPrediction
GlobalCueTypeTable: Cue types register with this to get a Type ID assigned (TCue::ID). That ID is used in net serialization to talk about types. -Assigns deterministic ID to TCue::ID for all cue types -Provides allocation function to instantiate TCue from a NetSerialize ID
| Name | FGlobalCueTypeTable |
| Type | class |
| Header File | /Engine/Plugins/Runtime/NetworkPrediction/Source/NetworkPrediction/Public/NetworkPredictionCues.h |
| Include Path | #include "NetworkPredictionCues.h" |
Syntax
class FGlobalCueTypeTable
Structs
| Name | Remarks |
|---|---|
| FRegisteredCueTypeInfo | |
| FTypeInfo |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| Singleton | FGlobalCueTypeTable | NetworkPredictionCues.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| TypeInfoMap | TMap< FNetSimCueTypeId, FTypeInfo > | NetworkPredictionCues.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FNetSimCueWrapperBase * Allocate
(
FNetSimCueTypeId ID |
NetworkPredictionCues.h | ||
void FinalizeCueTypes() |
NetworkPredictionCues.h | ||
FString GetTypeName
(
FNetSimCueTypeId ID |
NetworkPredictionCues.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FGlobalCueTypeTable & Get() |
Runtime functions | NetworkPredictionCues.h | |
static FRegisteredCueTypeInfo & GetRegistedTypeInfo() |
The registered type info lives in its own inlined static function to avoid static variable initialization order conflicts. | NetworkPredictionCues.h | |
static bool IsRegisterationTypeInfoDirty() |
NetworkPredictionCues.h | ||
static void RegisterCueType
(
const FString& TypeName |
Type Registration functions: called at startup, module load/unload. Not during runtime. | NetworkPredictionCues.h | |
static FDelegateHandle RegisterDispatchTableCallback
(
const TFunction< void()>& RegisterFunc |
NetworkPredictionCues.h | ||
static void UnregisterCueType() |
NetworkPredictionCues.h | ||
static void UnregisterDispatchTableCallback
(
FDelegateHandle Handle |
NetworkPredictionCues.h |