Navigation
API > API/Runtime > API/Runtime/IrisCore
Simple token store used to store string tokens When the PackageMapRefactor is complete we will most likely rely on NetTagManager for persistent storage
| Name | FStringTokenStore |
| Type | class |
| Header File | /Engine/Source/Runtime/Net/Iris/Public/Iris/ReplicationSystem/StringTokenStore.h |
| Include Path | #include "Iris/ReplicationSystem/StringTokenStore.h" |
Syntax
class FStringTokenStore : public UE::Net::FNetTokenDataStore
Inheritance Hierarchy
- FNetTokenDataStore → FStringTokenStore
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Iris/ReplicationSystem/StringTokenStore.h | |||
FStringTokenStore
(
const FStringTokenStore& |
Iris/ReplicationSystem/StringTokenStore.h | ||
FStringTokenStore
(
FNetTokenStore& TokenStore |
Iris/ReplicationSystem/StringTokenStore.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| StringTokenStoreName | FName | Iris/ReplicationSystem/StringTokenStore.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Allocator | FMemStackBase | Iris/ReplicationSystem/StringTokenStore.h | ||
| HashToKey | TMap< uint64, FNetTokenStoreKey > | Iris/ReplicationSystem/StringTokenStore.h | ||
| StoredStrings | TArray< const TCHAR * > | Iris/ReplicationSystem/StringTokenStore.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FNetToken GetOrCreateToken
(
const FString& String |
Create a string token for the provided string. | Iris/ReplicationSystem/StringTokenStore.h | |
FNetToken GetOrCreateToken
(
const TCHAR* Name, |
Iris/ReplicationSystem/StringTokenStore.h | ||
const TCHAR * ResolveRemoteToken
(
FNetToken Token, |
Resolve a token received from remote. | Iris/ReplicationSystem/StringTokenStore.h | |
const TCHAR * ResolveToken
(
FNetToken Token, |
Resolve NetToken, to resolve remote tokens RemoteTokenStoreState must be valid. | Iris/ReplicationSystem/StringTokenStore.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FNetTokenStoreKey GetOrCreatePersistentString
(
const TCHAR* Name, |
Create a persistent string. | Iris/ReplicationSystem/StringTokenStore.h |
Overridden from FNetTokenDataStore
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FNetTokenStoreKey ReadTokenData
(
FNetSerializationContext& Context, |
Read data for a token, returns a valid StoreKey if successful read. | Iris/ReplicationSystem/StringTokenStore.h | |
virtual FNetTokenStoreKey ReadTokenData
(
FArchive& Archive, |
Iris/ReplicationSystem/StringTokenStore.h | ||
virtual void WriteTokenData
(
FNetSerializationContext& Context, |
Serialize data for a token, note there is not validation in this function. | Iris/ReplicationSystem/StringTokenStore.h | |
virtual void WriteTokenData
(
FArchive& Ar, |
Do not export things through the UPackageMap. This will break things. | Iris/ReplicationSystem/StringTokenStore.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FName GetTokenStoreName() |
Iris/ReplicationSystem/StringTokenStore.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FStringTokenStore & operator=
(
const FStringTokenStore& |
Iris/ReplicationSystem/StringTokenStore.h | ||
| Iris/ReplicationSystem/StringTokenStore.h |