engine
 
载入中...
搜索中...
未找到
类 | Public 成员函数 | Public 属性 | 静态 Public 属性 | 友元 | 所有成员列表
FLinkerSave类 参考

Handles saving Unreal package files. 更多...

#include <LinkerSave.h>

+ 类 FLinkerSave 继承关系图:

类

struct  FBulkDataStorageInfo
 List of bulkdata that needs to be stored at the end of the file 更多...
 

Public 成员函数

bool CloseAndDestroySaver ()
 Closes and deletes the Saver (file, memory or custom writer) which will close any associated file handle. 更多...
 
 FLinkerSave (UPackage *InParent, bool bForceByteSwapping, bool bInSaveUnversioned=false)
 Constructor for memory writer
 
 FLinkerSave (UPackage *InParent, const TCHAR *InFilename, bool bForceByteSwapping, bool bInSaveUnversioned=false)
 Constructor for file writer
 
 FLinkerSave (UPackage *InParent, FArchive *InSaver, bool bForceByteSwapping, bool bInSaveUnversioned=false)
 Constructor for custom savers. 更多...
 
virtual FLinker * GetLinker ()
 If this archive is a FLinkerLoad or FLinkerSave, returns a pointer to the FLinker portion.
 
int32 MapName (FNameEntryId Name) const
 Returns the appropriate name index for the source name, or 0 if not found in NameIndices
 
FPackageIndex MapObject (const UObject *Object) const
 Returns the appropriate package index for the source object, or default value if not found in ObjectIndicesMap
 
virtual FArchive & operator<< (FField *&Value)
 Serializes a Field value from or into this archive. 更多...
 
FArchive & operator<< (FLazyObjectPtr &LazyObjectPtr)
 Serializes a lazy object pointer value from or into this archive. 更多...
 
virtual FArchive & operator<< (FLazyObjectPtr &Value) override
 Serializes a lazy object pointer value from or into this archive. 更多...
 
FArchive & operator<< (FName &InName)
 Serializes an FName value from or into this archive. 更多...
 
virtual FArchive & operator<< (FName &Value)
 Serializes an FName value from or into this archive. 更多...
 
virtual FArchive & operator<< (FSoftObjectPath &Value) override
 Serializes soft object paths from or into this archive. 更多...
 
virtual FArchive & operator<< (FSoftObjectPtr &Value) override
 Serializes asset pointer from or into this archive. 更多...
 
virtual FArchive & operator<< (FText &Value)
 Serializes an FText value from or into an archive. 更多...
 
virtual FArchive & operator<< (FWeakObjectPtr &Value) override
 Serializes FWeakObjectPtr value from or into this archive. 更多...
 
virtual FArchive & operator<< (struct FLazyObjectPtr &Value)
 Serializes a lazy object pointer value from or into this archive. 更多...
 
virtual FArchive & operator<< (struct FSoftObjectPath &Value)
 Serializes soft object paths from or into this archive. 更多...
 
virtual FArchive & operator<< (struct FSoftObjectPtr &Value)
 Serializes asset pointer from or into this archive. 更多...
 
virtual FArchive & operator<< (struct FWeakObjectPtr &Value)
 Serializes FWeakObjectPtr value from or into this archive. 更多...
 
template<class T >
FORCEINLINE FArchive & operator<< (TCheckedObjPtr< T > &Value)
 Serializes a UObject wrapped in a TCheckedObjPtr container, using the above operator, and verifies the serialized object is derived from the correct base class, to prevent illegal casting. 更多...
 
FArchive & operator<< (UObject *&Obj)
 Serializes an UObject value from or into this archive. 更多...
 
virtual FArchive & operator<< (UObject *&Value)
 Serializes an UObject value from or into this archive. 更多...
 
void Seek (int64 InPos)
 Attempts to set the current offset into backing data storage, this will do nothing if there is no storage.
 
void Serialize (FArchive &Ar)
 I/O function 更多...
 
void ThisRequiresLocalizationGather ()
 Sets a flag indicating that this archive contains data required to be gathered for localization.
 
virtual void UsingCustomVersion (const struct FGuid &Guid) override
 Registers the custom version to the archive. 更多...
 
- Public 成员函数 继承自 FLinker
bool AnyExportIsInImport (int32 ImportIndex) const
 Return if any export is in the import 更多...
 
bool AnyExportShareOuterWithImport (int32 ImportIndex) const
 Return if any export share an outer with the import 更多...
 
bool DoResourcesShareOutermost (FPackageIndex LinkerIndexLHS, FPackageIndex LinkerIndexRHS) const
 Return if two resources share the same outermost 更多...
 
bool FilterExport (const FObjectExport &Export)
 Test and object against the load flag filters 更多...
 
 FLinker (ELinkerType::Type InType, UPackage *InRoot, const TCHAR *InFilename)
 Constructor.
 
FName GetClassName (FPackageIndex PackageIndex)
 Gets the class name for the specified package index.
 
FName GetExportClassName (FPackageIndex PackageIndex)
 Gets the class name for the specified index in the import map.
 
COREUOBJECT_API FName GetExportClassName (int32 ExportIdx)
 Gets the class name for the specified index in the export map.
 
FString GetExportFullName (FPackageIndex PackageIndex, const TCHAR *FakeRoot=NULL, bool bResolveForcedExports=false)
 Return the full name of the UObject represented by the specified package index 更多...
 
COREUOBJECT_API FString GetExportFullName (int32 ExportIndex, const TCHAR *FakeRoot=NULL, bool bResolveForcedExports=false)
 Return the full name of the UObject represented by the specified export. 更多...
 
FString GetExportPathName (FPackageIndex PackageIndex, const TCHAR *FakeRoot=NULL, bool bResolveForcedExports=false)
 Return the path name of the UObject represented by the specified export. 更多...
 
COREUOBJECT_API FString GetExportPathName (int32 ExportIndex, const TCHAR *FakeRoot=NULL, bool bResolveForcedExports=false)
 Return the path name of the UObject represented by the specified export. 更多...
 
FString GetFullImpExpName (FPackageIndex PackageIndex)
 Return the full name of the UObject represented by the specified export. 更多...
 
FName GetImportClassName (FPackageIndex PackageIndex)
 Gets the class name for the specified index in the import map.
 
FName GetImportClassName (int32 ImportIdx)
 Gets the class name for the specified index in the import map.
 
FString GetImportFullName (FPackageIndex PackageIndex)
 Return the full name of the UObject represented by the specified package index 更多...
 
COREUOBJECT_API FString GetImportFullName (int32 ImportIndex)
 Return the full name of the UObject represented by the specified import. 更多...
 
FString GetImportPathName (FPackageIndex PackageIndex)
 Return the path name of the UObject represented by the specified import. 更多...
 
COREUOBJECT_API FString GetImportPathName (int32 ImportIndex)
 Return the path name of the UObject represented by the specified import. 更多...
 
FString GetPathName (FPackageIndex PackageIndex)
 Return the path name of the UObject represented by the specified import. 更多...
 
void GetScriptSHAKey (uint8 *OutKey)
 After generating the SHA key for all of the 更多...
 
bool ImportIsInAnyExport (int32 ImportIndex) const
 Return if the import is in any export 更多...
 
FPackageIndex ResourceGetOutermost (FPackageIndex LinkerIndex) const
 Return the outermost resource package index of the resource pointed by LinkerIndex 更多...
 
bool ResourceIsIn (FPackageIndex LinkerIndex, FPackageIndex OuterIndex) const
 Return if a resource has the specified other resource in its outer chain 更多...
 
void Serialize (FArchive &Ar)
 I/O function 更多...
 
void StartScriptSHAGeneration ()
 Tell this linker to start SHA calculations
 
void UpdateScriptSHAKey (const TArray< uint8 > &ScriptCode)
 If generating a script SHA key, update the key with this script code 更多...
 
- Public 成员函数 继承自 FArchiveUObject
virtual FArchive & operator<< (FField *&Value)
 Serializes a Field value from or into this archive. 更多...
 
virtual FArchive & operator<< (FLazyObjectPtr &Value) override
 Serializes a lazy object pointer value from or into this archive. 更多...
 
virtual FArchive & operator<< (FName &Value)
 Serializes an FName value from or into this archive. 更多...
 
virtual FArchive & operator<< (FSoftObjectPath &Value) override
 Serializes soft object paths from or into this archive. 更多...
 
virtual FArchive & operator<< (FSoftObjectPtr &Value) override
 Serializes asset pointer from or into this archive. 更多...
 
virtual FArchive & operator<< (FText &Value)
 Serializes an FText value from or into an archive. 更多...
 
virtual FArchive & operator<< (FWeakObjectPtr &Value) override
 Serializes FWeakObjectPtr value from or into this archive. 更多...
 
virtual FArchive & operator<< (struct FLazyObjectPtr &Value)
 Serializes a lazy object pointer value from or into this archive. 更多...
 
virtual FArchive & operator<< (struct FSoftObjectPath &Value)
 Serializes soft object paths from or into this archive. 更多...
 
virtual FArchive & operator<< (struct FSoftObjectPtr &Value)
 Serializes asset pointer from or into this archive. 更多...
 
virtual FArchive & operator<< (struct FWeakObjectPtr &Value)
 Serializes FWeakObjectPtr value from or into this archive. 更多...
 
template<class T >
FORCEINLINE FArchive & operator<< (TCheckedObjPtr< T > &Value)
 Serializes a UObject wrapped in a TCheckedObjPtr container, using the above operator, and verifies the serialized object is derived from the correct base class, to prevent illegal casting. 更多...
 
virtual FArchive & operator<< (UObject *&Value)
 Serializes an UObject value from or into this archive. 更多...
 
- Public 成员函数 继承自 FArchive
virtual void AttachBulkData (UObject *Owner, FUntypedBulkData *BulkData)
 Attaches/ associates the passed in bulk data object with the linker. 更多...
 
virtual bool AttachExternalReadDependency (FExternalReadCallback &ReadCallback)
 Adds external read dependency 更多...
 
FORCEINLINE FArchive & ByteOrderSerialize (void *V, int32 Length)
 Serialize data of Length bytes, taking into account byte swapping if needed.
 
void ByteSwap (void *V, int32 Length)
 Used to do byte swapping on small items. 更多...
 
virtual bool Close ()
 Attempts to close and finalize any handles used for backing data storage, returns true if it succeeded.
 
virtual void DetachBulkData (FUntypedBulkData *BulkData, bool bEnsureBulkDataIsLoaded)
 Detaches the passed in bulk data object from the linker. 更多...
 
virtual void Flush ()
 Attempts to finish writing any buffered data to disk/permanent storage.
 
virtual void FlushCache ()
 Flushes cache and frees internal data.
 
virtual void ForceBlueprintFinalization ()
 Inform the archive that a blueprint would like to force finalization, normally this is triggered by CDO load, but if there's no CDO we force finalization.
 
FArchiveState & GetArchiveState ()
 Returns the low level archive state for this archive.
 
virtual FArchive * GetCacheableArchive ()
 Returns a pointer to an archive that represents the same data that the current archive covers, but that can be cached and reused later In the case of standard archives, this function will just return a pointer to itself. 更多...
 
virtual bool IsProxyOf (FArchive *InOther) const
 Determine if the given archive is a valid "child" of this archive. 更多...
 
virtual void MarkScriptSerializationEnd (const UObject *Obj)
 Called when an object stops serializing property data using script serialization.
 
virtual void MarkScriptSerializationStart (const UObject *Obj)
 Called when an object begins serializing property data using script serialization.
 
virtual void MarkSearchableName (const UObject *TypeObject, const FName &ValueName) const
 Called to register a reference to a specific name value, of type TypeObject (UEnum or UStruct normally). 更多...
 
virtual FArchive & operator<< (FField *&Value)
 Serializes a Field value from or into this archive. 更多...
 
virtual FArchive & operator<< (FName &Value)
 Serializes an FName value from or into this archive. 更多...
 
virtual FArchive & operator<< (FText &Value)
 Serializes an FText value from or into an archive. 更多...
 
virtual FArchive & operator<< (struct FLazyObjectPtr &Value)
 Serializes a lazy object pointer value from or into this archive. 更多...
 
virtual FArchive & operator<< (struct FSoftObjectPath &Value)
 Serializes soft object paths from or into this archive. 更多...
 
virtual FArchive & operator<< (struct FSoftObjectPtr &Value)
 Serializes asset pointer from or into this archive. 更多...
 
virtual FArchive & operator<< (struct FWeakObjectPtr &Value)
 Serializes FWeakObjectPtr value from or into this archive. 更多...
 
template<class T >
FORCEINLINE FArchive & operator<< (TCheckedObjPtr< T > &Value)
 Serializes a UObject wrapped in a TCheckedObjPtr container, using the above operator, and verifies the serialized object is derived from the correct base class, to prevent illegal casting. 更多...
 
virtual FArchive & operator<< (UObject *&Value)
 Serializes an UObject value from or into this archive. 更多...
 
virtual void PopSerializedProperty (class FProperty *InProperty, const bool bIsEditorOnlyProperty)
 Pop a property that was previously being serialized off the property stack 更多...
 
virtual bool Precache (int64 PrecacheOffset, int64 PrecacheSize)
 Hint the archive that the region starting at passed in offset and spanning the passed in size is going to be read soon and should be precached. 更多...
 
virtual void Preload (UObject *Object)
 Tells the archive to attempt to preload the specified object so data can be loaded out of it.
 
virtual void PushFileRegionType (EFileRegionType Type)
 Called whilst cooking to provide file region hints to the cooker.
 
virtual void PushSerializedProperty (class FProperty *InProperty, const bool bIsEditorOnlyProperty)
 Push a property that is currently being serialized onto the property stack 更多...
 
virtual void Seek (int64 InPos)
 Attempts to set the current offset into backing data storage, this will do nothing if there is no storage.
 
void SerializeCompressed (void *V, int64 Length, FName CompressionFormat, ECompressionFlags Flags=COMPRESS_NoFlags, bool bTreatBufferAsFileReader=false)
 Serializes and compresses/ uncompresses data. 更多...
 
virtual void SerializeIntPacked (uint32 &Value)
 Packs int value into bytes of 7 bits with 8th bit for 'more'
 
virtual bool SetCompressionMap (TArray< struct FCompressedChunk > *CompressedChunks, ECompressionFlags CompressionFlags)
 Sets mapping from offsets/ sizes that are going to be used for seeking and serialization to what is actually stored on disk. 更多...
 
void StartSerializingDefaults ()
 Sets a flag indicating that this archive is currently serializing class/struct defaults.
 
void StopSerializingDefaults ()
 Indicate that this archive is no longer serializing class/struct defaults.
 
virtual void UsingCustomVersion (const struct FGuid &Guid)
 Registers the custom version to the archive. 更多...
 

Public 属性

TMap< FNameEntryId, int32 > NameIndices
 Index array - location of the name in the NameMap array for each FName is stored in the NameIndices array using the FName's Index
 
TMap< UObject *, FPackageIndex > ObjectIndicesMap
 Index array - location of the resource for a UObject is stored in the ObjectIndices array using the UObject's Index
 
TRefCountPtr< FUObjectSerializeContext > SaveContext
 Save context associated with this linker
 
FArchive * Saver
 The archive that actually writes the data to disk.
 
TMap< const UObject *, TArray< FName > > SearchableNamesObjectMap
 List of Searchable Names, by object containing them. 更多...
 
- Public 属性 继承自 FLinker
FString Filename
 The name of the file for this package
 
bool FilterClientButNotServer
 If true, filter out exports that are for clients but not servers
 
bool FilterServerButNotClient
 If true, filter out exports that are for servers but not clients
 
TArray< FGatherableTextData > GatherableTextDataMap
 Gatherable text data contained within this package
 
UPackage * LinkerRoot
 The top-level UPackage object for the package associated with this linker
 
TArray< FNameEntryId > NameMap
 Names used by objects contained within this package
 
class FSHA1 * ScriptSHA
 The SHA1 key generator for this package, if active
 
FPackageFileSummary Summary
 Table of contents for this package's file
 

静态 Public 属性

static COREUOBJECT_API TMap< FString, TArray< uint8 > > PackagesToScriptSHAMap
 A mapping of package name to generated script SHA keys
 

友元

FORCEINLINE friend FArchive & operator<< (FArchive &Ar, ANSICHAR &Value)
 Serializes an ANSICHAR value from or into an archive. 更多...
 
FORCEINLINE friend FArchive & operator<< (FArchive &Ar, bool &D)
 Serializes a Boolean value from or into an archive. 更多...
 
FORCEINLINE friend FArchive & operator<< (FArchive &Ar, double &Value)
 Serializes a double precision floating point value from or into an archive. 更多...
 
template<typename EnumType , typename = typename TEnableIf<TIsEnumClass<EnumType>::Value>::Type>
FORCEINLINE friend FArchive & operator<< (FArchive &Ar, EnumType &Value)
 Serializes enum classes as their underlying type. 更多...
 
FORCEINLINE friend FArchive & operator<< (FArchive &Ar, float &Value)
 Serializes a single precision floating point value from or into an archive. 更多...
 
CORE_API FArchive & operator<< (FArchive &Ar, FString &Value)
 Serializes an FString value from or into an archive. 更多...
 
FORCEINLINE friend FArchive & operator<< (FArchive &Ar, int16 &Value)
 Serializes a signed 16-bit integer value from or into an archive. 更多...
 
FORCEINLINE friend FArchive & operator<< (FArchive &Ar, int32 &Value)
 Serializes a signed 32-bit integer value from or into an archive. 更多...
 
FArchive & operator<< (FArchive &Ar, int64 &Value)
 Serializes a signed 64-bit integer value from or into an archive. 更多...
 
FORCEINLINE friend FArchive & operator<< (FArchive &Ar, int8 &Value)
 Serializes a signed 8-bit integer value from or into an archive. 更多...
 
FArchive & operator<< (FArchive &Ar, struct FIntRect &Value)
 Serializes an FIntRect value from or into an archive. 更多...
 
template<class TEnum >
FORCEINLINE friend FArchive & operator<< (FArchive &Ar, TEnumAsByte< TEnum > &Value)
 Serializes an enumeration value from or into an archive. 更多...
 
FORCEINLINE friend FArchive & operator<< (FArchive &Ar, uint16 &Value)
 Serializes an unsigned 16-bit integer value from or into an archive. 更多...
 
FORCEINLINE friend FArchive & operator<< (FArchive &Ar, uint32 &Value)
 Serializes an unsigned 32-bit integer value from or into an archive. 更多...
 
FORCEINLINE friend FArchive & operator<< (FArchive &Ar, uint64 &Value)
 Serializes a unsigned 64-bit integer value from or into an archive. 更多...
 
FORCEINLINE friend FArchive & operator<< (FArchive &Ar, uint8 &Value)
 Serializes an unsigned 8-bit integer value from or into an archive. 更多...
 
FORCEINLINE friend FArchive & operator<< (FArchive &Ar, WIDECHAR &Value)
 Serializes a WIDECHAR value from or into an archive. 更多...
 

详细描述

Handles saving Unreal package files.

构造及析构函数说明

◆ FLinkerSave()

FLinkerSave::FLinkerSave ( UPackage *  InParent,
FArchive *  InSaver,
bool  bForceByteSwapping,
bool  bInSaveUnversioned = false 
)

Constructor for custom savers.

The linker assumes ownership of the custom saver.

成员函数说明

◆ CloseAndDestroySaver()

bool FLinkerSave::CloseAndDestroySaver ( )

Closes and deletes the Saver (file, memory or custom writer) which will close any associated file handle.

Returns false if the owned saver contains errors after closing it, true otherwise.

◆ operator<<() [1/16]

virtual FArchive & FArchive::operator<< ( FField *&  Value)
inlinevirtual

Serializes a Field value from or into this archive.

This operator can be implemented by sub-classes that wish to serialize UObject instances.

参数
ValueThe value to serialize.
返回
This instance.

重载 FArchiveUObject .

◆ operator<<() [2/16]

FArchive & FLinkerSave::operator<< ( FLazyObjectPtr &  Value)
virtual

Serializes a lazy object pointer value from or into this archive.

Most of the time, FLazyObjectPtrs are serialized as UObject*, but some archives need to override this.

参数
ValueThe value to serialize.
返回
This instance.

重载 FArchiveUObject .

◆ operator<<() [3/16]

virtual FArchive & FArchiveUObject::operator<< ( FLazyObjectPtr &  Value)
inlineoverridevirtual

Serializes a lazy object pointer value from or into this archive.

Most of the time, FLazyObjectPtrs are serialized as UObject*, but some archives need to override this.

参数
ValueThe value to serialize.
返回
This instance.

重载 FArchiveUObject .

◆ operator<<() [4/16]

FArchive & FLinkerSave::operator<< ( FName &  Value)
virtual

Serializes an FName value from or into this archive.

This operator can be implemented by sub-classes that wish to serialize FName instances.

参数
ValueThe value to serialize.
返回
This instance.

重载 FArchive .

◆ operator<<() [5/16]

virtual FArchive & FArchive::operator<< ( FName &  Value)
inlinevirtual

Serializes an FName value from or into this archive.

This operator can be implemented by sub-classes that wish to serialize FName instances.

参数
ValueThe value to serialize.
返回
This instance.

重载 FArchiveUObject .

◆ operator<<() [6/16]

virtual FArchive & FArchiveUObject::operator<< ( FSoftObjectPath &  Value)
inlineoverridevirtual

Serializes soft object paths from or into this archive.

参数
ValueSoft object path to serialize.
返回
This instance.

重载 FArchiveUObject .

◆ operator<<() [7/16]

virtual FArchive & FArchiveUObject::operator<< ( FSoftObjectPtr &  Value)
inlineoverridevirtual

Serializes asset pointer from or into this archive.

Most of the time, FSoftObjectPtr are serialized as UObject *, but some archives need to override this.

参数
ValueThe asset pointer to serialize.
返回
This instance.

重载 FArchiveUObject .

◆ operator<<() [8/16]

virtual FArchive & FArchive::operator<< ( FText &  Value)
virtual

Serializes an FText value from or into an archive.

参数
ArThe archive to serialize from or to.
ValueThe value to serialize.

重载 FArchiveUObject .

◆ operator<<() [9/16]

virtual FArchive & FArchiveUObject::operator<< ( FWeakObjectPtr &  Value)
inlineoverridevirtual

Serializes FWeakObjectPtr value from or into this archive.

This operator can be implemented by sub-classes that wish to serialize FWeakObjectPtr instances.

参数
ValueThe value to serialize.
返回
This instance.

重载 FArchiveUObject .

◆ operator<<() [10/16]

virtual FArchive & FArchive::operator<< ( struct FLazyObjectPtr &  Value)
virtual

Serializes a lazy object pointer value from or into this archive.

Most of the time, FLazyObjectPtrs are serialized as UObject*, but some archives need to override this.

参数
ValueThe value to serialize.
返回
This instance.

重载 FArchiveUObject .

◆ operator<<() [11/16]

virtual FArchive & FArchive::operator<< ( struct FSoftObjectPath &  Value)
virtual

Serializes soft object paths from or into this archive.

参数
ValueSoft object path to serialize.
返回
This instance.

重载 FArchiveUObject .

◆ operator<<() [12/16]

virtual FArchive & FArchive::operator<< ( struct FSoftObjectPtr &  Value)
virtual

Serializes asset pointer from or into this archive.

Most of the time, FSoftObjectPtr are serialized as UObject *, but some archives need to override this.

参数
ValueThe asset pointer to serialize.
返回
This instance.

重载 FArchiveUObject .

◆ operator<<() [13/16]

virtual FArchive & FArchive::operator<< ( struct FWeakObjectPtr &  Value)
virtual

Serializes FWeakObjectPtr value from or into this archive.

This operator can be implemented by sub-classes that wish to serialize FWeakObjectPtr instances.

参数
ValueThe value to serialize.
返回
This instance.

重载 FArchiveUObject .

◆ operator<<() [14/16]

template<class T >
FORCEINLINE FArchive & FArchive::operator<< ( TCheckedObjPtr< T > &  Value)
inline

Serializes a UObject wrapped in a TCheckedObjPtr container, using the above operator, and verifies the serialized object is derived from the correct base class, to prevent illegal casting.

参数
ValueThe value to serialize.
返回
This instance.

◆ operator<<() [15/16]

FArchive & FLinkerSave::operator<< ( UObject *&  Value)
virtual

Serializes an UObject value from or into this archive.

This operator can be implemented by sub-classes that wish to serialize UObject instances.

参数
ValueThe value to serialize.
返回
This instance.

重载 FArchive .

◆ operator<<() [16/16]

virtual FArchive & FArchive::operator<< ( UObject *&  Value)
inlinevirtual

Serializes an UObject value from or into this archive.

This operator can be implemented by sub-classes that wish to serialize UObject instances.

参数
ValueThe value to serialize.
返回
This instance.

重载 FArchiveUObject .

◆ Serialize()

void FLinker::Serialize ( FArchive &  Ar)

I/O function

参数
Arthe archive to read/write into

◆ UsingCustomVersion()

virtual void FLinkerSave::UsingCustomVersion ( const struct FGuid &  Guid)
overridevirtual

Registers the custom version to the archive.

This is used to inform the archive that custom version information is about to be stored. There is no effect when the archive is being loaded from.

参数
GuidThe guid of the custom version. This must have previously been registered with FCustomVersionRegistration.

重载 FArchive .

友元及相关函数文档

◆ operator<< [1/17]

FORCEINLINE friend FArchive & operator<< ( FArchive &  Ar,
ANSICHAR &  Value 
)
friend

Serializes an ANSICHAR value from or into an archive.

参数
ArThe archive to serialize from or to.
ValueThe value to serialize.

◆ operator<< [2/17]

FORCEINLINE friend FArchive & operator<< ( FArchive &  Ar,
bool &  D 
)
friend

Serializes a Boolean value from or into an archive.

参数
ArThe archive to serialize from or to.
ValueThe value to serialize.

◆ operator<< [3/17]

FORCEINLINE friend FArchive & operator<< ( FArchive &  Ar,
double &  Value 
)
friend

Serializes a double precision floating point value from or into an archive.

参数
ArThe archive to serialize from or to.
ValueThe value to serialize.

◆ operator<< [4/17]

template<typename EnumType , typename = typename TEnableIf<TIsEnumClass<EnumType>::Value>::Type>
FORCEINLINE friend FArchive & operator<< ( FArchive &  Ar,
EnumType &  Value 
)
friend

Serializes enum classes as their underlying type.

参数
ArThe archive to serialize from or to.
ValueThe value to serialize.

◆ operator<< [5/17]

FORCEINLINE friend FArchive & operator<< ( FArchive &  Ar,
float &  Value 
)
friend

Serializes a single precision floating point value from or into an archive.

参数
ArThe archive to serialize from or to.
ValueThe value to serialize.

◆ operator<< [6/17]

CORE_API FArchive & operator<< ( FArchive &  Ar,
FString &  Value 
)
friend

Serializes an FString value from or into an archive.

参数
ArThe archive to serialize from or to.
ValueThe value to serialize.

◆ operator<< [7/17]

FORCEINLINE friend FArchive & operator<< ( FArchive &  Ar,
int16 &  Value 
)
friend

Serializes a signed 16-bit integer value from or into an archive.

参数
ArThe archive to serialize from or to.
ValueThe value to serialize.

◆ operator<< [8/17]

FORCEINLINE friend FArchive & operator<< ( FArchive &  Ar,
int32 &  Value 
)
friend

Serializes a signed 32-bit integer value from or into an archive.

参数
ArThe archive to serialize from or to.
ValueThe value to serialize.

◆ operator<< [9/17]

FArchive & operator<< ( FArchive &  Ar,
int64 &  Value 
)
friend

Serializes a signed 64-bit integer value from or into an archive.

参数
ArThe archive to serialize from or to.
ValueThe value to serialize.

◆ operator<< [10/17]

FORCEINLINE friend FArchive & operator<< ( FArchive &  Ar,
int8 &  Value 
)
friend

Serializes a signed 8-bit integer value from or into an archive.

参数
ArThe archive to serialize from or to.
ValueThe value to serialize.

◆ operator<< [11/17]

FArchive & operator<< ( FArchive &  Ar,
struct FIntRect &  Value 
)
friend

Serializes an FIntRect value from or into an archive.

参数
ArThe archive to serialize from or to.
ValueThe value to serialize.

◆ operator<< [12/17]

template<class TEnum >
FORCEINLINE friend FArchive & operator<< ( FArchive &  Ar,
TEnumAsByte< TEnum > &  Value 
)
friend

Serializes an enumeration value from or into an archive.

参数
ArThe archive to serialize from or to.
ValueThe value to serialize.

◆ operator<< [13/17]

FORCEINLINE friend FArchive & operator<< ( FArchive &  Ar,
uint16 &  Value 
)
friend

Serializes an unsigned 16-bit integer value from or into an archive.

参数
ArThe archive to serialize from or to.
ValueThe value to serialize.

◆ operator<< [14/17]

FORCEINLINE friend FArchive & operator<< ( FArchive &  Ar,
uint32 &  Value 
)
friend

Serializes an unsigned 32-bit integer value from or into an archive.

参数
ArThe archive to serialize from or to.
ValueThe value to serialize.

◆ operator<< [15/17]

FORCEINLINE friend FArchive & operator<< ( FArchive &  Ar,
uint64 &  Value 
)
friend

Serializes a unsigned 64-bit integer value from or into an archive.

参数
ArThe archive to serialize from or to.
ValueThe value to serialize.

◆ operator<< [16/17]

FORCEINLINE friend FArchive & operator<< ( FArchive &  Ar,
uint8 &  Value 
)
friend

Serializes an unsigned 8-bit integer value from or into an archive.

参数
ArThe archive to serialize from or to.
ValueThe value to serialize.

◆ operator<< [17/17]

FORCEINLINE friend FArchive & operator<< ( FArchive &  Ar,
WIDECHAR &  Value 
)
friend

Serializes a WIDECHAR value from or into an archive.

参数
ArThe archive to serialize from or to.
ValueThe value to serialize.

类成员变量说明

◆ SearchableNamesObjectMap

TMap<const UObject *, TArray<FName> > FLinkerSave::SearchableNamesObjectMap

List of Searchable Names, by object containing them.

This gets turned into package indices later


该类的文档由以下文件生成: