Skip to content
SiteEmail

ICohtmlScriptProvider

Inherited by FCohtmlScriptProvider

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
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

virtual ~ICohtmlScriptProvider() =default