Navigation
API > API/Runtime > API/Runtime/IrisCore > API/Runtime/IrisCore/Iris > API/Runtime/IrisCore/Iris/ReplicationSystem
Inheritance Hierarchy
- FNetTokenDataStore
- FStringTokenStore
References
| Module | IrisCore |
| Header | /Engine/Source/Runtime/Experimental/Iris/Core/Public/Iris/ReplicationSystem/StringTokenStore.h |
| Include | #include "Iris/ReplicationSystem/StringTokenStore.h" |
Syntax
class FStringTokenStore : public UE::Net::FNetTokenDataStore
Remarks
Simple token store used to store string tokens When the PackageMapRefactor is complete we will most likely rely on NetTagManager for persistent storage
Constructors
| Type | Name | Description | |
|---|---|---|---|
FStringTokenStore
(
FNetTokenStore& TokenStore |
Functions
| Type | Name | Description | |
|---|---|---|---|
| FNetTokenStoreKey | GetOrCreatePersistentString
(
const TCHAR* Name, |
Create a persistent string. | |
| FNetToken | GetOrCreateToken
(
const FString& String |
Create a string token for the provided string. | |
| FNetToken | GetOrCreateToken
(
const TCHAR* Name, |
||
| const TCHAR * | ResolveRemoteToken
(
FNetToken Token, |
Resolve a token received from remote. | |
| const TCHAR * | ResolveToken
(
FNetToken Token |
Resolve a local token. |
Overridden from FNetTokenDataStore
| Type | Name | Description | |
|---|---|---|---|
| FNetTokenStoreKey | ReadTokenData
(
FNetSerializationContext& Context |
Read data for a token, returns a valid StoreKey if successful read. | |
| void | WriteTokenData
(
FNetSerializationContext& Context, |
Serialize data for a token, note there is not validation in this function. |