Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/GameFramework
Inheritance Hierarchy
- FUniqueNetIdWrapper
- FUniqueNetIdRepl
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/GameFramework/OnlineReplStructs.h |
| Include | #include "GameFramework/OnlineReplStructs.h" |
Syntax
USTRUCT (BlueprintType , DisplayName="Unique Net Id")
struct FUniqueNetIdRepl : public FUniqueNetIdWrapper
Remarks
Wrapper for opaque type FUniqueNetId
Makes sure that the opaque aspects of FUniqueNetId are properly handled/serialized over network RPC and actor replication
Variables
Constructors
| Type | Name | Description | |
|---|---|---|---|
FUniqueNetIdRepl
(
const FUniqueNetIdRepl& InWrapper |
|||
FUniqueNetIdRepl
(
const FUniqueNetIdWrapper& InWrapper |
|||
FUniqueNetIdRepl
(
const FUniqueNetIdRef& InUniqueNetId |
|||
FUniqueNetIdRepl
(
const FUniqueNetIdPtr& InUniqueNetId |
|||
FUniqueNetIdRepl
(
const FUniqueNetId& InUniqueNetId |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | ExportTextItem
(
FString& ValueStr, |
Export contents of this struct as a string | |
| void | Create a unique id from a json string | ||
| bool | ImportTextItem
(
const TCHAR*& Buffer, |
Import string contexts and try to map them into a unique id | |
| void | Helper to make network serializable representation | ||
| void | |||
| void | |||
| bool | NetSerialize
(
FArchive& Ar, |
Network serialization | |
| void | NetSerializeLoadV1Encoded
(
FArchive& Ar, |
||
| void | NetSerializeLoadV1Unencoded
(
FArchive& Ar, |
||
| void | NetSerializeLoadV2
(
FArchive& Ar, |
||
| bool | Serialization to any FArchive | ||
| bool | ShouldExportTextItemAsQuotedString
(
const FString& NetIdStr |
||
| TSharedRef< FJsonValue > | ToJson () |
Convert this unique id to a json value | |
| void | UniqueIdFromString
(
FName Type, |
Helper to create an FUniqueNetId from a string and its type |
Overridden from FUniqueNetIdWrapper
| Type | Name | Description | |
|---|---|---|---|
| void | SetAccountId
(
const UE::Online::FAccountId& AccountId |
||
| void | SetUniqueNetId
(
const FUniqueNetIdPtr& UniqueNetId |
Assign a unique id to this wrapper object |