2.9.16.0
Coherent GT for UE4
FCoherentUIGTFileHandler Class Reference
+ Inheritance diagram for FCoherentUIGTFileHandler:

Classes

struct  FPreloadedResourceTask
 

Public Member Functions

 FCoherentUIGTFileHandler (const FString &CoUIRootPath)
 
virtual void OnResourceRead (const Coherent::UIGT::ResourceRequestUIGT *Request, Coherent::UIGT::ResourceResponseUIGT *Response) override
 
void SetView (Coherent::UIGT::View *OwnerView)
 
void ProcessResources_MainThread ()
 
void BeginDestroy ()
 
 FCoherentUIGTFileHandler (const FString &CoUIRootPath)
 
virtual void OnResourceRead (const Coherent::UIGT::ResourceRequestUIGT *request, Coherent::UIGT::ResourceResponseUIGT *response) override
 
bool TryUseUserResource (const FString &RelativePath, Coherent::UIGT::ResourceResponseUIGT *response)
 
bool IsRangeRequest (int64 &Start, int64 &End, const Coherent::UIGT::ResourceRequestUIGT *Request)
 
bool TryReadFile (const FString &Url, int64 Start, int64 End, bool bIsRangeRequest, TArray< uint8 > &OutBuffer, int64 &OutFileSize)
 
void SetResponseHeaders (int64 FileSize, int64 ContentSize, int64 Start, bool bIsRangeRequest, Coherent::UIGT::ResourceResponseUIGT *Response)
 
void SetView (Coherent::UIGT::View *OwnerView)
 
void FlushPreloadedResourceQueue ()
 

Protected Member Functions

bool GetPathFromURL (const Coherent::UIGT::ResourceRequestUIGT *Request, FString &Path)
 
bool TryGetResourcePath (const Coherent::UIGT::ResourceRequestUIGT *Request, FString &ResultPath)
 
void EnqueueRawResource (const Coherent::UIGT::ResourceRequestUIGT *Request, Coherent::UIGT::ResourceResponseUIGT *response, const FString &RelativePath)
 
bool TryEnqueueUnrealResource (const FString &RelativePath, Coherent::UIGT::ResourceResponseUIGT *response)
 
bool GetPathFromURL (const Coherent::UIGT::ResourceRequestUIGT *Request, FString &Path)
 
bool TryGetResourcePath (const Coherent::UIGT::ResourceRequestUIGT *Request, FString &ResultPath)
 
void ReadResource (const Coherent::UIGT::ResourceRequestUIGT *Request, Coherent::UIGT::ResourceResponseUIGT *Response, const FString &ResourcePath)
 

Protected Attributes

FString GameRoot
 
FString GameContent
 
bool IsRootFileHandler
 
bool bIsBeingDestroyed
 
Coherent::UIGT::View * View
 

Friends

class FCoherentGTUnrealResourceLoaderTask