Module |
|
Header |
/Engine/Plugins/Runtime/NetworkPrediction/Source/NetworkPrediction/Public/Services/NetworkPredictionInstanceMap.h |
Include |
#include "Services/NetworkPredictionInstanceMap.h" |
template<typename T>
struct TInstanceMap
Generic associative container for instance data keyed off of the FNetworkPredictionID SortedMap + SparseArray provides: -O(log n) add/remove. -Stable index that can be cached for O(1) lookup in various service acceleration structures -Data* are not stable out of this data structure
Name | Description | ||
---|---|---|---|
|
T * |
Find ( |
|
|
T & |
FindOrAdd ( |
|
|
T & |
GetByIndexChecked ( |
|
|
GetIndex ( |
||
|
GetIndexChecked ( |
||
|
Remove ( |