Rigs of Rods 2023.09
Soft-body Physics Simulation
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Loading...
Searching...
No Matches
DashBoardManagerClass.h
Go to the documentation of this file.
1namespace Script2Game {
2
15{
16 // PLEASE maintain the same order as in 'bindings/DashBoardManagerAngelscript.cpp' and 'gui/DashBoardManager.h'
17public:
21 bool getBool(int key);
22
26 float getNumeric(int key);
27
31 string getString(int key);
32
36 bool getEnabled(int key);
37
41 void setBool(int key, bool value);
42
46 void setInt(int key, int value);
47
51 void setFloat(int key, float value);
52
56 void setString(int key, const string& value);
57
62 void setEnabled(int key, bool value);
63
68
72 int getLinkIDForName(string& key);
73
79};
80
83
84} //namespace Script2Game
Binding of RoR::DashBoardManager.
void setFloat(int key, float value)
Sets a floating point value to the given dashboard link ID.
void setEnabled(int key, bool value)
Enables or disables the given dashboard input.
float getNumeric(int key)
Gets the numeric value of the given dashboard link ID.
void setInt(int key, int value)
Sets an integer value to the given dashboard link ID.
DashboardDataTypes getDataType(int key)
void updateFeatures()
Updates the visibility of all the dashboard controls linked to the manager, according to the enabled/...
string getString(int key)
Gets the string value of the given dashboard link ID.
void setBool(int key, bool value)
Sets a boolean value to the given dashboard link ID.
void setString(int key, const string &value)
Sets a string value to the given dashboard link ID.
bool getBool(int key)
Gets the boolean value of the given dashboard link ID.
Pseudo-namespace; it doesn't exist in code or script runtime, only in this documentation.
DashboardDataTypes
Dashboard input data types.