Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Serialization
Inheritance Hierarchy
- FArchiveState
- FArchive
- FArchiveProxy
- FNameAsStringIndexProxyArchive
References
Module | Core |
Header | /Engine/Source/Runtime/Core/Public/Serialization/NameAsStringIndexProxyArchive.h |
Include | #include "Serialization/NameAsStringIndexProxyArchive.h" |
Syntax
struct FNameAsStringIndexProxyArchive : public FArchiveProxy
Remarks
Implements a proxy archive that serializes FNames as string data or an index (if the same name is repeated).
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
TArray< FName > | NamesLoaded | Table of names that is populated as the archive is being loaded. |
![]() |
TSet< FName > | NamesSeenOnSave | When FName is first encountered, it is added to the table and saved as a string, otherwise, its index is written. |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
FNameAsStringIndexProxyArchive
(
FArchive& InInnerArchive |
Creates and initializes a new instance. |
Operators
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
FArchive & | operator<<
(
FName& N |
Serialize the given FName as an FString or an index (if we encountered it again) |