DIFF

class WorkbenchsealedWORKBENCH

Constructors 2

private void Workbench()WORKBENCH
private void ~Workbench()WORKBENCH

Methods 26

static proto bool OpenModule(typename type)WORKBENCH
static proto bool CloseModule(typename type)WORKBENCH
static proto void Dialog(string caption, string text, string detailedText = string.Empty)WORKBENCH
static proto bool SearchResources(string filter, func callback)WORKBENCH
static proto int RunCmd(string command, bool wait = false)WORKBENCH
static proto bool JumpToScriptSymbol(string symbol)WORKBENCH

Open ScriptEditor and try to find given symbol.

Workbench.JumpToScriptSymbol("IEntity.GetID");
static proto ProcessHandle RunProcess(string command)WORKBENCH

Attempts to start up a process with given CLI command. Returns process handle.

static proto bool KillProcess(ProcessHandle handle)WORKBENCH

Attempts to kill the process of given handle. Closes the handle. Returns true when the process really transitioned from running to closed state.

static proto bool IsRunningProcess(ProcessHandle handle)WORKBENCH

Queries the active flag on the process handle.

static proto int WaitProcess(ProcessHandle handle, int timeout = -1)WORKBENCH

Waits for the process to complete. Takes timeout value in milliseconds.

static proto void FinishProcess(ProcessHandle handle)WORKBENCH

Closes the process handle.

static proto void GetCwd(out string currentDir)WORKBENCH
static proto void GetUserName(out string userName)WORKBENCH
static proto bool GetAbsolutePath(string relativePath, out string absPath, bool mustExist = true)WORKBENCH
static proto void GetExecutableFilePath(out string filePath)WORKBENCH
static proto string GetCurrentGameProjectFile()WORKBENCH

Returns absolute path to game project settings.

static proto BaseContainer GetGameProjectSettings()WORKBENCH

Returns game project settings.

static proto string GenerateGloballyUniqueID64()WORKBENCH
static proto void Exit(int exitCode)WORKBENCH
static proto DateTimeUtcAsInt GetPackedUtcTime()WORKBENCH
static proto ResourceName GetResourceName(string path)WORKBENCH
static proto bool OpenResource(string filename)WORKBENCH
static proto ref ScriptModule GetWBScriptModule()WORKBENCH
static proto ref ScriptModule GetWBGameScriptModule()WORKBENCH