Navigation
API > API/Runtime > API/Runtime/StreamingFile
Wrapper to redirect the low level file system to a server
| Name | FStreamingNetworkPlatformFile |
| Type | class |
| Header File | /Engine/Source/Runtime/StreamingFile/Public/StreamingNetworkPlatformFile.h |
| Include Path | #include "StreamingNetworkPlatformFile.h" |
Syntax
class FStreamingNetworkPlatformFile : public FNetworkPlatformFile
Inheritance Hierarchy
- FExec → FSelfRegisteringExec → FNetworkPlatformFile → FStreamingNetworkPlatformFile
Implements Interfaces
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FStreamingNetworkPlatformFile() |
Default Constructor | StreamingNetworkPlatformFile.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FStreamingNetworkPlatformFile() |
Virtual destructor | StreamingNetworkPlatformFile.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| FilesToSyncAsync | TArray< FString > | Set files that the server said we should sync asynchronously | StreamingNetworkPlatformFile.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool SendCloseMessage
(
uint64 HandleId |
Sends Close message to the server. | StreamingNetworkPlatformFile.h | |
FStreamingNetworkFileHandle * SendOpenMessage
(
const FString& Filename, |
Sends Open message to the server and creates a new file handle if successful. | StreamingNetworkPlatformFile.h | |
bool SendReadMessage
(
uint64 HandleId, |
Sends Read message to the server. | StreamingNetworkPlatformFile.h | |
bool SendReadMessage
(
uint64 HandleId, |
StreamingNetworkPlatformFile.h | ||
bool SendSeekMessage
(
uint64 HandleId, |
Sends Seek message to the server. | StreamingNetworkPlatformFile.h | |
bool SendWriteMessage
(
uint64 HandleId, |
Sends Write message to the server. | StreamingNetworkPlatformFile.h |
Overridden from FNetworkPlatformFile
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FString ConvertToAbsolutePathForExternalAppForRead
(
const TCHAR* Filename |
StreamingNetworkPlatformFile.h | ||
virtual FString ConvertToAbsolutePathForExternalAppForWrite
(
const TCHAR* Filename |
StreamingNetworkPlatformFile.h | ||
virtual bool CopyFile
(
const TCHAR* To, |
StreamingNetworkPlatformFile.h | ||
virtual bool CreateDirectory
(
const TCHAR* Directory |
StreamingNetworkPlatformFile.h | ||
virtual bool CreateDirectoryTree
(
const TCHAR* Directory |
StreamingNetworkPlatformFile.h | ||
virtual bool DeleteDirectory
(
const TCHAR* Directory |
StreamingNetworkPlatformFile.h | ||
virtual bool DeleteDirectoryRecursively
(
const TCHAR* Directory |
StreamingNetworkPlatformFile.h | ||
virtual bool DeleteFile
(
const TCHAR* Filename |
StreamingNetworkPlatformFile.h | ||
virtual bool DirectoryExists
(
const TCHAR* Directory |
StreamingNetworkPlatformFile.h | ||
virtual FDateTime GetAccessTimeStamp
(
const TCHAR* Filename |
StreamingNetworkPlatformFile.h | ||
virtual IPlatformFile * GetLowerLevel() |
StreamingNetworkPlatformFile.h | ||
virtual const TCHAR * GetName() |
StreamingNetworkPlatformFile.h | ||
virtual FDateTime GetTimeStamp
(
const TCHAR* Filename |
StreamingNetworkPlatformFile.h | ||
virtual void InitializeAfterSetActive() |
Need to override what FNetworkPlatformFile does here | StreamingNetworkPlatformFile.h | |
virtual bool IsReadOnly
(
const TCHAR* Filename |
StreamingNetworkPlatformFile.h | ||
virtual bool IterateDirectory
(
const TCHAR* Directory, |
StreamingNetworkPlatformFile.h | ||
virtual bool IterateDirectoryRecursively
(
const TCHAR* Directory, |
StreamingNetworkPlatformFile.h | ||
virtual bool MoveFile
(
const TCHAR* To, |
StreamingNetworkPlatformFile.h | ||
virtual IFileHandle * OpenRead
(
const TCHAR* Filename, |
StreamingNetworkPlatformFile.h | ||
virtual IFileHandle * OpenWrite
(
const TCHAR* Filename, |
StreamingNetworkPlatformFile.h | ||
virtual void SetLowerLevel
(
IPlatformFile* NewLowerLevel |
StreamingNetworkPlatformFile.h | ||
virtual bool SetReadOnly
(
const TCHAR* Filename, |
StreamingNetworkPlatformFile.h | ||
virtual void SetTimeStamp
(
const TCHAR* Filename, |
StreamingNetworkPlatformFile.h | ||
virtual bool ShouldBeUsed
(
IPlatformFile* Inner, |
StreamingNetworkPlatformFile.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static const TCHAR * GetTypeName() |
StreamingNetworkPlatformFile.h |