|
| FPreloadableFile (FStringView FileName) |
|
void | InitializeAsync (uint32 InFlags=Flags::None, int64 PrimeSize=DefaultPrimeSize) |
|
| FPreloadableArchive (FStringView ArchiveName) |
|
virtual | ~FPreloadableArchive () |
|
void | SetPageSize (int64 PageSize) |
|
void | InitializeAsync (FCreateArchive &&InCreateArchiveFunction, uint32 InFlags=Flags::None, int64 PrimeSize=DefaultPrimeSize) |
|
void | InitializeAsync (FCreateAsyncArchive &&InCreateAsyncArchiveFunction, uint32 InFlags=Flags::None, int64 PrimeSize=DefaultPrimeSize) |
|
bool | IsInitialized () const |
|
void | WaitForInitialization () const |
|
bool | StartPreload () |
|
void | StopPreload () |
|
bool | IsPreloading () const |
|
bool | AllocateCache () |
|
void | ReleaseCache () |
|
bool | IsCacheAllocated () const |
|
FArchive * | DetachLowerLevel () |
|
virtual void | Serialize (void *V, int64 Length) final |
|
virtual void | Seek (int64 InPos) final |
|
virtual int64 | Tell () final |
|
virtual int64 | TotalSize () final |
|
virtual bool | Close () final |
|
virtual FString | GetArchiveName () const final |
|
| FArchive ()=default |
|
| FArchive (const FArchive &)=default |
|
FArchive & | operator= (const FArchive &ArchiveToCopy)=default |
|
| ~FArchive ()=default |
|
virtual FArchive & | operator<< (FName &Value) |
|
virtual FArchive & | operator<< (FText &Value) |
|
virtual FArchive & | operator<< (UObject *&Value) |
|
virtual FArchive & | operator<< (FField *&Value) |
|
template<class T > |
FORCEINLINE FArchive & | operator<< (TCheckedObjPtr< T > &Value) |
|
virtual FArchive & | operator<< (struct FLazyObjectPtr &Value) |
|
virtual FArchive & | operator<< (struct FObjectPtr &Value) |
|
virtual FArchive & | operator<< (struct FSoftObjectPtr &Value) |
|
virtual FArchive & | operator<< (struct FSoftObjectPath &Value) |
|
virtual FArchive & | operator<< (struct FWeakObjectPtr &Value) |
|
virtual void | ForceBlueprintFinalization () |
|
virtual void | SerializeBits (void *V, int64 LengthBits) |
|
virtual void | SerializeInt (uint32 &Value, uint32 Max) |
|
virtual void | SerializeIntPacked (uint32 &Value) |
|
virtual void | Preload (UObject *Object) |
|
FArchiveState & | GetArchiveState () |
|
const FArchiveState & | GetArchiveState () const |
|
virtual void | AttachBulkData (UObject *Owner, FBulkData *BulkData) |
|
virtual void | AttachBulkData (UE::Serialization::FEditorBulkData *BulkData) |
|
virtual void | DetachBulkData (FBulkData *BulkData, bool bEnsureBulkDataIsLoaded) |
|
virtual void | DetachBulkData (UE::Serialization::FEditorBulkData *BulkData, bool bEnsureBulkDataIsLoaded) |
|
virtual bool | SerializeBulkData (FBulkData &BulkData, const struct FBulkDataSerializationParams &Params) |
|
virtual bool | IsProxyOf (FArchive *InOther) const |
|
virtual bool | Precache (int64 PrecacheOffset, int64 PrecacheSize) |
|
virtual void | FlushCache () |
|
virtual bool | SetCompressionMap (TArray< struct FCompressedChunk > *CompressedChunks, ECompressionFlags CompressionFlags) |
|
virtual void | Flush () |
|
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 FArchive & | ByteOrderSerialize (void *V, int32 Length) |
|
void | StartSerializingDefaults () |
|
void | StopSerializingDefaults () |
|
virtual void | MarkScriptSerializationStart (const UObject *Obj) |
|
virtual void | MarkScriptSerializationEnd (const UObject *Obj) |
|
virtual void | MarkSearchableName (const UObject *TypeObject, const FName &ValueName) const |
|
template<typename FmtType , typename... Types> |
void | Logf (const FmtType &Fmt, Types... Args) |
|
virtual void | UsingCustomVersion (const struct FGuid &Guid) |
|
virtual FArchive * | GetCacheableArchive () |
|
virtual void | PushSerializedProperty (struct FProperty *InProperty, const bool bIsEditorOnlyProperty) |
|
virtual void | PopSerializedProperty (struct FProperty *InProperty, const bool bIsEditorOnlyProperty) |
|
virtual bool | AttachExternalReadDependency (FExternalReadCallback &ReadCallback) |
|
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 () |
|
virtual FArchiveState & | GetInnermostState () |
|
virtual void | CountBytes (SIZE_T InNum, SIZE_T InMax) |
|
virtual FLinker * | GetLinker () |
|
virtual bool | AtEnd () |
|
FORCEINLINE bool | IsByteSwapping () |
|
void | ThisContainsCode () |
|
void | ThisContainsMap () |
|
void | ThisRequiresLocalizationGather () |
|
virtual UObject * | GetArchetypeFromLoader (const UObject *Obj) |
|
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 |
|
virtual const FCustomVersionContainer & | GetCustomVersions () const |
|
virtual void | SetCustomVersions (const FCustomVersionContainer &CustomVersionContainer) |
|
virtual void | ResetCustomVersions () |
|
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 |
|
virtual void | SetFilterEditorOnly (bool InFilterEditorOnly) |
|
bool | IsSaveGame () const |
|
FORCEINLINE bool | IsNetArchive () const |
|
FORCEINLINE bool | IsCooking () const |
|
FORCEINLINE const ITargetPlatform * | CookingTarget () const |
|
void | SetCookData (FArchiveCookData *InCookData) |
|
FArchiveCookData * | GetCookData () |
|
FORCEINLINE FArchiveCookContext * | GetCookContext () |
|
virtual bool | UseToResolveEnumerators () const |
|
virtual bool | ShouldSkipProperty (const FProperty *InProperty) const |
|
virtual void | SetSerializedProperty (FProperty *InProperty) |
|
FORCEINLINE struct FProperty * | GetSerializedProperty () const |
|
void | GetSerializedPropertyChain (TArray< struct FProperty * > &OutProperties) const |
|
FORCEINLINE const FArchiveSerializedPropertyChain * | GetSerializedPropertyChain () const |
|
virtual void | SetSerializedPropertyChain (const FArchiveSerializedPropertyChain *InSerializedPropertyChain, struct FProperty *InSerializedPropertyOverride=nullptr) |
|
virtual void | SetSerializeContext (FUObjectSerializeContext *InLoadContext) |
|
virtual FUObjectSerializeContext * | GetSerializeContext () |
|
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 |
|
An FPreloadableArchive that is customized for reading files from IFileManager.
This class also supports registration of instances of this class by filename, which other systems in the engine can use to request an FArchive for the preload file, if it exists, replacing a call they would otherwise make to IFileManager::Get().CreateFileReader.
As with the base class, the preloading can work in either PreloadBytes or PreloadHandle mode.
Activate PreloadBytes mode by passing Flags::PreloadBytes to InitializeAsync. Activate PreloadHandle mode by passing Flags::PreloadHandle to InitializeAsync, optionally or'd with Flags::Prime.
Definition at line 207 of file PreloadableFile.h.