Navigation
API > API/Plugins > API/Plugins/NetworkPrediction
| Name | TStableInstanceMap |
| Type | struct |
| Header File | /Engine/Plugins/Runtime/NetworkPrediction/Source/NetworkPrediction/Public/Services/NetworkPredictionInstanceMap.h |
| Include Path | #include "Services/NetworkPredictionInstanceMap.h" |
Syntax
template<typename T>
struct TStableInstanceMap
Structs
| Name | Remarks |
|---|---|
| FIndex |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Data | TSparseArray< TUniqueObj< T > > | Services/NetworkPredictionInstanceMap.h | ||
| LastFreeIndex | int32 | Services/NetworkPredictionInstanceMap.h | ||
| Lookup | TSortedMap< int32, FIndex > | Services/NetworkPredictionInstanceMap.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
T * Find
(
const FNetworkPredictionID& ID |
Services/NetworkPredictionInstanceMap.h | ||
T & FindOrAdd
(
const FNetworkPredictionID& ID |
Services/NetworkPredictionInstanceMap.h | ||
T & GetByIndexChecked
(
int32 idx |
Services/NetworkPredictionInstanceMap.h | ||
int32 GetIndex
(
const FNetworkPredictionID& ID |
Services/NetworkPredictionInstanceMap.h | ||
int32 GetIndexChecked
(
const FNetworkPredictionID& ID |
Services/NetworkPredictionInstanceMap.h | ||
void Remove
(
const FNetworkPredictionID& ID |
Services/NetworkPredictionInstanceMap.h |