Scaleform::GFx::State Scaleform::GFx::FileOpenerBase Scaleform::GFx::FileOpener
class FileOpener : public FileOpenerBase;
FileOpener is a user overridable interface used for opening files. Developers can implement this class and install it on Loader if they need to load files from game-specific pack files or through non-standard file system APIs. GFx will call the OpenFile virtual function whenever it needs to open a new file. When overriding this function developers may also need to implement the File interface used for accessing file data.
As GFx shares loaded data based on file path and its state bindings, file open operation can often be bypassed on subsequent load requests. For this reason we do not recommend performing file name or path substitution by installing this state. If file name or path needs to be replaced, URLBuilder state should be used instead.
FileOpener is a binding state, meaning that it is associated with any movie it loads at the file of Loader::CreateMovie call. Using different file openers, objects will yield different movie pointers for the same file name.
GFx_Loader.h