|
| static proto bool | IsInitialized () |
| | Checks if DiagMenu is initialized.
|
| |
| static proto void | InitScriptDiags () |
| | To be used before registering scripted diags.
|
| |
| static proto void | ClearScriptDiags () |
| | To be used when scripted diags should not be present.
|
| |
| static proto void | RegisterMenu (int id, string name, int parent) |
| | Register a new menu.
|
| |
| static proto void | RegisterItem (int id, string shortcut, string name, int parent, string values, func callback=null) |
| | Register a new item.
|
| |
| static proto void | RegisterBool (int id, string shortcut, string name, int parent, bool reverse=false, func callback=null) |
| | Register a new bool item.
|
| |
| static proto void | RegisterRange (int id, string shortcut, string name, int parent, string valuenames, func callback=null) |
| | Register a new range item.
|
| |
| static proto void | Unregister (int id) |
| | Unregister the item at given id.
|
| |
| static proto bool | IsRegistered (int id) |
| | Check if the item at given id has been registered.
|
| |
| static proto bool | BindCallback (int id, func callback) |
| | Bind a callback to the given id.
|
| |
| static proto void | UnbindCallback (int id) |
| | Unbind the callback from the given id.
|
| |
| static proto bool | GetBool (int id, bool reverse=false) |
| | Get value as bool from the given script id.
|
| |
| static proto int | GetValue (int id) |
| | Get value as int from the given script id.
|
| |
| static proto void | SetValue (int id, int value) |
| | Set value at the given script id.
|
| |
| static proto float | GetRangeValue (int id) |
| | Get range value at the given script id.
|
| |
| static proto void | SetRangeValue (int id, float value) |
| | Set range value at the given script id.
|
| |
| static proto int | GetEngineValue (int id) |
| | Get value at the given engine id.
|
| |
| static proto void | SetEngineValue (int id, int value) |
| | Set value at the given engine id.
|
| |
| static proto float | GetEngineRangeValue (int id) |
| | Get range value at the given engine id.
|
| |
| static proto void | SetEngineRangeValue (int id, float value) |
| | Set range value at the given engine id.
|
| |
| static proto bool | MenuExists (string name) |
| | Check if a menu with supplied name already exists.
|
| |
Definition at line 232 of file EnDebug.c.