ICohtmlScriptProvider

Inherited by FCohtmlScriptProvider

Public Functions

Name
virtual FCohtmlCompiledScriptDataPtrGetScriptCacheEntry(const FString & FilePath) =0
Will be called by the FileHandler before a JS resource request finishes. You can override this to pass your own scripts to the CohtmlFileHandler. or override the FCohtmlScriptProvider to leverage the default implementation.
virtual~ICohtmlScriptProvider() =default

Public Functions Documentation

function GetScriptCacheEntry

virtual FCohtmlCompiledScriptDataPtr GetScriptCacheEntry(
    const FString & FilePath
) =0

Will be called by the FileHandler before a JS resource request finishes. You can override this to pass your own scripts to the CohtmlFileHandler. or override the FCohtmlScriptProvider to leverage the default implementation.

Return: - The raw and compield data corresponding to the file. Uses a shared ptr to avoid lifetime issues while passing the data to the file handler

Reimplemented by: FCohtmlScriptProvider::GetScriptCacheEntry

function ~ICohtmlScriptProvider

virtual ~ICohtmlScriptProvider() =default