Enfusion Script API
Loading...
Searching...
No Matches
Static Public Member Functions | List of all members
DiagMenu Interface Reference

Check EDiagMenu enum for 'id' values. More...

Static Public Member Functions

static proto void RegisterMenu (int id, string name, string parent)
 
static proto void RegisterItem (int id, string shortcut, string name, string parent, string values)
 
static proto void Unregister (int id)
 
static proto void RegisterBool (int id, string shortcut, string name, string parent, bool reverse=false)
 
static proto void RegisterRange (int id, string shortcut, string name, string parent, string valuenames)
 Range value, which is defined in format "min,max,startValue,step".
 
static proto bool GetBool (int id, bool reverse=false)
 
static proto int GetValue (int id)
 
static proto void SetValue (int id, int value)
 
static proto float GetRangeValue (int id)
 
static proto void SetRangeValue (int id, float value)
 
static proto void SetEngineValue (int id, int value)
 
static proto int GetEngineValue (int id)
 
static proto void SetEngineRangeValue (int id, float value)
 
static proto float GetEngineRangeValue (int id)
 
static proto void SelectMenuByName (string name)
 
static proto void SelectMenuById (int id)
 

Detailed Description

Check EDiagMenu enum for 'id' values.

Member Function Documentation

◆ GetBool()

static proto bool DiagMenu.GetBool ( int  id,
bool  reverse = false 
)
static

◆ GetEngineRangeValue()

static proto float DiagMenu.GetEngineRangeValue ( int  id)
static

◆ GetEngineValue()

static proto int DiagMenu.GetEngineValue ( int  id)
static

◆ GetRangeValue()

static proto float DiagMenu.GetRangeValue ( int  id)
static

◆ GetValue()

static proto int DiagMenu.GetValue ( int  id)
static

◆ RegisterBool()

static proto void DiagMenu.RegisterBool ( int  id,
string  shortcut,
string  name,
string  parent,
bool  reverse = false 
)
static

◆ RegisterItem()

static proto void DiagMenu.RegisterItem ( int  id,
string  shortcut,
string  name,
string  parent,
string  values 
)
static

◆ RegisterMenu()

static proto void DiagMenu.RegisterMenu ( int  id,
string  name,
string  parent 
)
static

◆ RegisterRange()

static proto void DiagMenu.RegisterRange ( int  id,
string  shortcut,
string  name,
string  parent,
string  valuenames 
)
static

Range value, which is defined in format "min,max,startValue,step".

For example, "-2, 2, 0, 0.1" creates variable with value in range [-2,2], starting at 0 and changing in 0.1 increments.

◆ SelectMenuById()

static proto void DiagMenu.SelectMenuById ( int  id)
static

◆ SelectMenuByName()

static proto void DiagMenu.SelectMenuByName ( string  name)
static

◆ SetEngineRangeValue()

static proto void DiagMenu.SetEngineRangeValue ( int  id,
float  value 
)
static

◆ SetEngineValue()

static proto void DiagMenu.SetEngineValue ( int  id,
int  value 
)
static
Warning
Only for debugging.

◆ SetRangeValue()

static proto void DiagMenu.SetRangeValue ( int  id,
float  value 
)
static

◆ SetValue()

static proto void DiagMenu.SetValue ( int  id,
int  value 
)
static

◆ Unregister()

static proto void DiagMenu.Unregister ( int  id)
static

The documentation for this interface was generated from the following file: