|
Enfusion Script API
|
Public Member Functions | |
| proto external MetaFile | GetMetaFile (string absFilePath) |
| proto external bool | RegisterResourceFile (string absFilePath, bool bBuildRuntimeResource) |
| Register register resource (create meta file) and optionally also build runtime resource. | |
| 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 bool | WaitForFile (string filePath, int maxTimeMs=1000) |
| Waits for file to be acknowledged by Resource Database. | |
| 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 bool | ExecuteAction (notnull array< string > menuPath, bool bKeepFocus=true) |
| 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:
| proto external bool ResourceManager.RegisterResourceFile | ( | string | absFilePath, |
| bool | bBuildRuntimeResource ) |
Register register resource (create meta file) and optionally also build runtime resource.
Usage:
Waits for file to be acknowledged by Resource Database.
Returns true if the file is ready, otherwise returns false due to time out.