Wrapper for opaque type FUniqueNetId 更多...
#include <OnlineReplStructs.h>
继承自 FUniqueNetIdWrapper .
Public 成员函数 | |
| bool | ExportTextItem (FString &ValueStr, FUniqueNetIdRepl const &DefaultValue, UObject *Parent, int32 PortFlags, UObject *ExportRootScope) const |
| Export contents of this struct as a string | |
| ENGINE_API void | FromJson (const FString &InValue) |
| Create a unique id from a json string | |
| bool | ImportTextItem (const TCHAR *&Buffer, int32 PortFlags, UObject *Parent, FOutputDevice *ErrorText) |
| Import string contexts and try to map them into a unique id | |
| ENGINE_API bool | NetSerialize (FArchive &Ar, class UPackageMap *Map, bool &bOutSuccess) |
| Network serialization | |
| bool | Serialize (FArchive &Ar) |
| Serialization to any FArchive | |
| ENGINE_API TSharedRef< FJsonValue > | ToJson () const |
| Convert this unique id to a json value | |
Protected 成员函数 | |
| void | MakeReplicationData () |
| Helper to make network serializable representation | |
| void | UniqueIdFromString (FName Type, const FString &Contents) |
| Helper to create an FUniqueNetId from a string and its type | |
Protected 属性 | |
| TArray< uint8 > | ReplicationBytes |
| Network serialized data cache | |
友元 | |
| uint32 | GetTypeHash (FUniqueNetIdRepl const &Value) |
| For FUniqueNetIdRepl objects, we use the same hashing function as any other wrapper. | |
| ENGINE_API friend FArchive & | operator<< (FArchive &Ar, FUniqueNetIdRepl &UniqueNetId) |
| Serialization to any FArchive | |
Wrapper for opaque type FUniqueNetId
Makes sure that the opaque aspects of FUniqueNetId are properly handled/serialized over network RPC and actor replication