Ark Server API (ASA) - Wiki
Loading...
Searching...
No Matches
FNameAsStringIndexProxyArchive Struct Reference

#include <NameAsStringIndexProxyArchive.h>

+ Inheritance diagram for FNameAsStringIndexProxyArchive:
+ Collaboration diagram for FNameAsStringIndexProxyArchive:

Public Member Functions

 FNameAsStringIndexProxyArchive (FArchive &InInnerArchive)
 
virtual FArchiveoperator<< (FName &N)
 
- Public Member Functions inherited from FArchiveProxy
 FArchiveProxy (FArchive &InInnerArchive)
 
 ~FArchiveProxy ()
 
 FArchiveProxy (FArchiveProxy &&)=delete
 
 FArchiveProxy (const FArchiveProxy &)=delete
 
FArchiveProxyoperator= (FArchiveProxy &&)=delete
 
FArchiveProxyoperator= (const FArchiveProxy &)=delete
 
virtual FArchiveoperator<< (FText &Value) override
 
virtual FArchiveoperator<< (UObject *&Value) override
 
virtual FArchiveoperator<< (FObjectPtr &Value) override
 
virtual FArchiveoperator<< (FLazyObjectPtr &Value) override
 
virtual FArchiveoperator<< (FSoftObjectPath &Value) override
 
virtual FArchiveoperator<< (FSoftObjectPtr &Value) override
 
virtual FArchiveoperator<< (FWeakObjectPtr &Value) override
 
virtual FArchiveoperator<< (FField *&Value) override
 
virtual void Serialize (void *V, int64 Length) override
 
virtual void SerializeBits (void *Bits, int64 LengthBits) override
 
virtual void SerializeInt (uint32 &Value, uint32 Max) override
 
virtual void SerializeIntPacked (uint32 &Value) override
 
virtual void Preload (UObject *Object) override
 
virtual void CountBytes (SIZE_T InNum, SIZE_T InMax) override
 
virtual FString GetArchiveName () const override
 
virtual FLinkerGetLinker () override
 
virtual int64 Tell () override
 
virtual int64 TotalSize () override
 
virtual bool AtEnd () override
 
virtual void Seek (int64 InPos) override
 
virtual void AttachBulkData (UObject *Owner, FBulkData *BulkData) override
 
virtual void DetachBulkData (FBulkData *BulkData, bool bEnsureBulkDataIsLoaded) override
 
virtual bool SerializeBulkData (class FBulkData &BulkData, const struct FBulkDataSerializationParams &Params) override
 
virtual bool Precache (int64 PrecacheOffset, int64 PrecacheSize) override
 
virtual bool SetCompressionMap (TArray< FCompressedChunk > *CompressedChunks, ECompressionFlags CompressionFlags) override
 
virtual void Flush () override
 
virtual bool Close () override
 
virtual void MarkScriptSerializationStart (const UObject *Obj) override
 
virtual void MarkScriptSerializationEnd (const UObject *Obj) override
 
virtual const FCustomVersionContainerGetCustomVersions () const override
 
virtual void SetCustomVersions (const FCustomVersionContainer &NewVersions) override
 
virtual void ResetCustomVersions () override
 
virtual void MarkSearchableName (const UObject *TypeObject, const FName &ValueName) const override
 
virtual UObjectGetArchetypeFromLoader (const UObject *Obj) override
 
virtual bool AttachExternalReadDependency (FExternalReadCallback &ReadCallback) override
 
virtual bool ShouldSkipProperty (const FProperty *InProperty) const override
 
virtual bool UseToResolveEnumerators () const override
 
virtual void FlushCache () override
 
virtual void ForceBlueprintFinalization () override
 
virtual void SetFilterEditorOnly (bool InFilterEditorOnly) override
 
FORCEINLINE void SetSerializedProperty (FProperty *InProperty) override
 
void SetSerializedPropertyChain (const FArchiveSerializedPropertyChain *InSerializedPropertyChain, struct FProperty *InSerializedPropertyOverride=nullptr) override
 
virtual FORCEINLINE void PushSerializedProperty (struct FProperty *InProperty, const bool bIsEditorOnlyProperty)
 
virtual FORCEINLINE void PopSerializedProperty (struct FProperty *InProperty, const bool bIsEditorOnlyProperty)
 
virtual FORCEINLINE bool IsProxyOf (FArchive *InOther) const
 
virtual FArchiveGetCacheableArchive () override
 
virtual::FArchiveState & GetInnermostState () override
 
- Public Member Functions inherited from FArchive
 FArchive ()=default
 
 FArchive (const FArchive &)=default
 
FArchiveoperator= (const FArchive &ArchiveToCopy)=default
 
 ~FArchive ()=default
 
template<class T >
FORCEINLINE FArchiveoperator<< (TCheckedObjPtr< T > &Value)
 
FArchiveStateGetArchiveState ()
 
const FArchiveStateGetArchiveState () const
 
virtual void AttachBulkData (UE::Serialization::FEditorBulkData *BulkData)
 
virtual void DetachBulkData (UE::Serialization::FEditorBulkData *BulkData, bool bEnsureBulkDataIsLoaded)
 
void SerializeCompressed (void *V, int64 Length, FName CompressionFormatCannotChange, ECompressionFlags Flags=COMPRESS_NoFlags, bool bTreatBufferAsFileReader=false)
 
void SerializeCompressedNew (void *V, int64 Length, FName CompressionFormatToEncode, FName CompressionFormatToDecodeOldV1Files, ECompressionFlags Flags=COMPRESS_NoFlags, bool bTreatBufferAsFileReader=false, int64 *OutPartialReadLength=nullptr)
 
void SerializeCompressedNew (void *V, int64 Length)
 
void ByteSwap (void *V, int32 Length)
 
FORCEINLINE FArchiveByteOrderSerialize (void *V, int32 Length)
 
void StartSerializingDefaults ()
 
void StopSerializingDefaults ()
 
template<typename FmtType , typename... Types>
void Logf (const FmtType &Fmt, Types... Args)
 
virtual void UsingCustomVersion (const struct FGuid &Guid)
 
template<SIZE_T Size>
FORCEINLINE bool FastPathLoad (void *InDest)
 
virtual void PushFileRegionType (EFileRegionType Type)
 
virtual void PopFileRegionType ()
 
void SetArchiveState (const FArchiveState &InState)
 
void SetError ()
 
void ClearError ()
 
FORCEINLINE bool IsByteSwapping ()
 
void ThisContainsCode ()
 
void ThisContainsMap ()
 
void ThisRequiresLocalizationGather ()
 
FORCEINLINE FPackageFileVersion UEVer () const
 
FORCEINLINE int32 UE4Ver () const
 
FORCEINLINE int32 LicenseeUEVer () const
 
FORCEINLINE FEngineVersionBase EngineVer () const
 
uint32 EngineNetVer () const
 
uint32 GameNetVer () const
 
int32 CustomVer (const struct FGuid &Key) const
 
FORCEINLINE bool IsLoading () const
 
FORCEINLINE bool IsLoadingFromCookedPackage () const
 
FORCEINLINE bool IsSaving () const
 
FORCEINLINE bool IsTransacting () const
 
FORCEINLINE bool IsTextFormat () const
 
FORCEINLINE bool WantBinaryPropertySerialization () const
 
FORCEINLINE bool UseUnversionedPropertySerialization () const
 
FORCEINLINE bool IsForcingUnicode () const
 
FORCEINLINE bool IsPersistent () const
 
FORCEINLINE bool GetError () const
 
FORCEINLINE bool IsError () const
 
FORCEINLINE bool IsCriticalError () const
 
FORCEINLINE bool ContainsCode () const
 
FORCEINLINE bool ContainsMap () const
 
FORCEINLINE bool RequiresLocalizationGather () const
 
FORCEINLINE bool ForceByteSwapping () const
 
FORCEINLINE bool IsSerializingDefaults () const
 
FORCEINLINE bool IsIgnoringArchetypeRef () const
 
FORCEINLINE bool DoDelta () const
 
FORCEINLINE bool DoIntraPropertyDelta () const
 
FORCEINLINE bool IsIgnoringOuterRef () const
 
FORCEINLINE bool IsIgnoringClassGeneratedByRef () const
 
FORCEINLINE bool IsIgnoringClassRef () const
 
FORCEINLINE bool IsAllowingLazyLoading () const
 
FORCEINLINE bool IsObjectReferenceCollector () const
 
FORCEINLINE bool IsModifyingWeakAndStrongReferences () const
 
FORCEINLINE bool IsCountingMemory () const
 
FORCEINLINE uint32 GetPortFlags () const
 
FORCEINLINE bool HasAnyPortFlags (uint32 Flags) const
 
FORCEINLINE bool HasAllPortFlags (uint32 Flags) const
 
FORCEINLINE uint32 GetDebugSerializationFlags () const
 
FORCEINLINE bool ShouldSkipBulkData () const
 
FORCEINLINE int64 GetMaxSerializeSize () const
 
void SetCustomVersion (const struct FGuid &Key, int32 Version, FName FriendlyName)
 
void SetByteSwapping (bool Enabled)
 
void SetPortFlags (uint32 InPortFlags)
 
void SetDebugSerializationFlags (uint32 InCustomFlags)
 
bool IsFilterEditorOnly () const
 
bool IsSaveGame () const
 
FORCEINLINE bool IsNetArchive () const
 
FORCEINLINE bool IsCooking () const
 
FORCEINLINE const ITargetPlatformCookingTarget () const
 
void SetCookData (FArchiveCookData *InCookData)
 
FArchiveCookDataGetCookData ()
 
FORCEINLINE FArchiveCookContextGetCookContext ()
 
FORCEINLINE struct FPropertyGetSerializedProperty () const
 
void GetSerializedPropertyChain (TArray< struct FProperty * > &OutProperties) const
 
FORCEINLINE const FArchiveSerializedPropertyChainGetSerializedPropertyChain () const
 
virtual void SetSerializeContext (FUObjectSerializeContext *InLoadContext)
 
virtual FUObjectSerializeContextGetSerializeContext ()
 
virtual void Reset ()
 
virtual void SetIsLoading (bool bInIsLoading)
 
virtual void SetIsLoadingFromCookedPackage (bool bInIsLoadingFromCookedPackage)
 
virtual void SetIsSaving (bool bInIsSaving)
 
virtual void SetIsTransacting (bool bInIsTransacting)
 
virtual void SetIsTextFormat (bool bInIsTextFormat)
 
virtual void SetWantBinaryPropertySerialization (bool bInWantBinaryPropertySerialization)
 
virtual void SetUseUnversionedPropertySerialization (bool bInUseUnversioned)
 
virtual void SetForceUnicode (bool bInForceUnicode)
 
virtual void SetIsPersistent (bool bInIsPersistent)
 
virtual void SetUEVer (FPackageFileVersion InVer)
 
FORCEINLINE void SetUE4Ver (int32 InVer)
 
virtual void SetLicenseeUEVer (int32 InVer)
 
virtual void SetEngineVer (const FEngineVersionBase &InVer)
 
virtual void SetEngineNetVer (const uint32 InEngineNetVer)
 
virtual void SetGameNetVer (const uint32 InGameNetVer)
 
FORCEINLINE bool ShouldSkipCompilingAssets () const
 

Public Attributes

TSet< FNameNamesSeenOnSave
 
TArray< FNameNamesLoaded
 
- Public Attributes inherited from FArchive
FFastPathLoadBufferActiveFPLB
 
FFastPathLoadBuffer InlineFPLB
 
uint8 ArContainsCode: 1
 
uint8 ArContainsMap: 1
 
uint8 ArRequiresLocalizationGather: 1
 
uint8 ArForceByteSwapping: 1
 
uint8 ArIgnoreArchetypeRef: 1
 
uint8 ArNoDelta: 1
 
uint8 ArNoIntraPropertyDelta: 1
 
uint8 ArIgnoreOuterRef: 1
 
uint8 ArIgnoreClassGeneratedByRef: 1
 
uint8 ArIgnoreClassRef: 1
 
uint8 ArAllowLazyLoading: 1
 
uint8 ArIsObjectReferenceCollector: 1
 
uint8 ArIsModifyingWeakAndStrongReferences: 1
 
uint8 ArIsCountingMemory: 1
 
uint8 ArShouldSkipBulkData: 1
 
uint8 ArIsFilterEditorOnly: 1
 
uint8 ArIsSaveGame: 1
 
uint8 ArIsNetArchive: 1
 
uint8 ArUseCustomPropertyList: 1
 
int32 ArSerializingDefaults
 
uint32 ArPortFlags
 
int64 ArMaxSerializeSize
 
const struct FCustomPropertyListNodeArCustomPropertyList
 

Additional Inherited Members

- Protected Member Functions inherited from FArchive
void SetShouldSkipCompilingAssets (bool Enabled)
 
- Static Protected Member Functions inherited from FArchive
static void LinkProxy (FArchiveState &Inner, FArchiveState &Proxy)
 
static void UnlinkProxy (FArchiveState &Inner, FArchiveState &Proxy)
 
- Protected Attributes inherited from FArchiveProxy
FArchiveInnerArchive
 

Detailed Description

Implements a proxy archive that serializes FNames as string data or an index (if the same name is repeated).

Definition at line 16 of file NameAsStringIndexProxyArchive.h.

Constructor & Destructor Documentation

◆ FNameAsStringIndexProxyArchive()

FNameAsStringIndexProxyArchive::FNameAsStringIndexProxyArchive ( FArchive & InInnerArchive)
inline

Creates and initializes a new instance.

Parameters
InInnerArchiveThe inner archive to proxy.

Definition at line 29 of file NameAsStringIndexProxyArchive.h.

+ Here is the call graph for this function:

Member Function Documentation

◆ operator<<()

virtual FArchive & FNameAsStringIndexProxyArchive::operator<< ( FName & N)
virtual

Serialize the given FName as an FString or an index (if we encountered it again)

Reimplemented from FArchiveProxy.

Member Data Documentation

◆ NamesLoaded

TArray<FName> FNameAsStringIndexProxyArchive::NamesLoaded

Table of names that is populated as the archive is being loaded.

Definition at line 22 of file NameAsStringIndexProxyArchive.h.

◆ NamesSeenOnSave

TSet<FName> FNameAsStringIndexProxyArchive::NamesSeenOnSave

When FName is first encountered, it is added to the table and saved as a string, otherwise, its index is written. Indices can be looked up from this TSet since it is not compacted.

Definition at line 19 of file NameAsStringIndexProxyArchive.h.


The documentation for this struct was generated from the following file: