Enfusion Script API
|
Public Member Functions | |
proto external MetaFile | GetMetaFile (string absFilePath) |
proto external MetaFile | RegisterResourceFile (string absFilePath) |
Register register resource (create meta file). | |
proto external void | RebuildResourceFile (string filePath, string configuration, bool selectFiles) |
Rebuild already registered resource. | |
proto external void | RebuildResourceFiles (notnull array< string > filePaths, string configuration) |
Rebuild already registered resources. | |
proto external void | WaitForFile (string filePath, int maxTimeMs=1000) |
proto external void | GetResourceBrowserSelection (WorkbenchSearchResourcesCallback callback, bool recursive=false) |
Return exact paths of selected items from ResourceBrowser panel in ResourceManager. | |
Public Member Functions inherited from WBModuleDef | |
proto external bool | SetOpenedResource (string filename) |
proto external BaseContainer | GetContainer (int index=0) |
proto external int | GetNumContainers () |
proto external bool | Save () |
proto external bool | GetCmdLine (string name, out string value) |
proto external bool | Close () |
proto external WorkbenchPlugin | GetPlugin (TypeName pluginType) |
Public Member Functions inherited from pointer | |
proto string | ToString () |
proto external void ResourceManager.GetResourceBrowserSelection | ( | WorkbenchSearchResourcesCallback | callback, |
bool | recursive = false |
||
) |
Return exact paths of selected items from ResourceBrowser panel in ResourceManager.
proto external void ResourceManager.RebuildResourceFile | ( | string | filePath, |
string | configuration, | ||
bool | selectFiles | ||
) |
Rebuild already registered resource.
Usage:
proto external void ResourceManager.RebuildResourceFiles | ( | notnull array< string > | filePaths, |
string | configuration | ||
) |
Rebuild already registered resources.
Usage:
Register register resource (create meta file).
Usage: