Navigation
API > API/Runtime > API/Runtime/Core
A helper class for systems that want to make their own registration system. A proxy archive that keeps a shared pointer to the inner FPreloadableArchive, so that the inner preloadablearchive will remain alive until at least as long as the proxy is destroyed.
| Name | FPreloadableArchiveProxy |
| Type | class |
| Header File | /Engine/Source/Runtime/Core/Public/Misc/PreloadableFile.h |
| Include Path | #include "Misc/PreloadableFile.h" |
Syntax
class FPreloadableArchiveProxy : public FArchive
Inheritance Hierarchy
- FArchiveState → FArchive → FPreloadableArchiveProxy
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FPreloadableArchiveProxy
(
const TSharedPtr< FPreloadableArchive >& InArchive |
Misc/PreloadableFile.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Archive | TSharedPtr< FPreloadableArchive > | Misc/PreloadableFile.h |
Functions
Public
Overridden from FArchive
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool Close() |
Attempts to close and finalize any handles used for backing data storage, returns true if it succeeded. | Misc/PreloadableFile.h | |
virtual void Seek
(
int64 InPos |
Attempts to set the current offset into backing data storage, this will do nothing if there is no storage. | Misc/PreloadableFile.h | |
virtual void Serialize
(
void* V, |
Misc/PreloadableFile.h |
Overridden from FArchiveState
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FString GetArchiveName () |
Returns the name of the Archive. | Misc/PreloadableFile.h | |
virtual int64 Tell () |
Returns the current location within the backing data storage, which can possibly be passed to Seek later to restore a read/write location. | Misc/PreloadableFile.h | |
virtual int64 TotalSize() |
Returns total size of the backing data storage. | Misc/PreloadableFile.h |