![]() |
Rigs of Rods 2023.09
Soft-body Physics Simulation
|
Binding of RoR::DashBoardManager. More...
#include <DashBoardManagerClass.h>
Public Member Functions | |
| bool | getBool (int key) |
| Gets the boolean value of the given dashboard link ID. | |
| float | getNumeric (int key) |
| Gets the numeric value of the given dashboard link ID. | |
| string | getString (int key) |
| Gets the string value of the given dashboard link ID. | |
| bool | getEnabled (int key) |
| void | setBool (int key, bool value) |
| Sets a boolean value to the given dashboard link ID. | |
| void | setInt (int key, int value) |
| Sets an integer value to the given dashboard link ID. | |
| void | setFloat (int key, float value) |
| Sets a floating point value to the given dashboard link ID. | |
| void | setString (int key, const string &value) |
| Sets a string value to the given dashboard link ID. | |
| void | setEnabled (int key, bool value) |
| Enables or disables the given dashboard input. | |
| DashboardDataTypes | getDataType (int key) |
| int | getLinkIDForName (string &key) |
| void | updateFeatures () |
| Updates the visibility of all the dashboard controls linked to the manager, according to the enabled/disabled status of their dashboard input link. | |
Binding of RoR::DashBoardManager.
Allows you to modify custom dashboard inputs in AngelScript.
Definition at line 14 of file DashBoardManagerClass.h.
| bool Script2Game::DashBoardManagerClass::getBool | ( | int | key | ) |
Gets the boolean value of the given dashboard link ID.
| DashboardDataTypes Script2Game::DashBoardManagerClass::getDataType | ( | int | key | ) |
| bool Script2Game::DashBoardManagerClass::getEnabled | ( | int | key | ) |
| int Script2Game::DashBoardManagerClass::getLinkIDForName | ( | string & | key | ) |
| float Script2Game::DashBoardManagerClass::getNumeric | ( | int | key | ) |
Gets the numeric value of the given dashboard link ID.
| string Script2Game::DashBoardManagerClass::getString | ( | int | key | ) |
Gets the string value of the given dashboard link ID.
| void Script2Game::DashBoardManagerClass::setBool | ( | int | key, |
| bool | value | ||
| ) |
Sets a boolean value to the given dashboard link ID.
| void Script2Game::DashBoardManagerClass::setEnabled | ( | int | key, |
| bool | value | ||
| ) |
Enables or disables the given dashboard input.
Call updateFeatures() afterwards to make your changes effective.
| void Script2Game::DashBoardManagerClass::setFloat | ( | int | key, |
| float | value | ||
| ) |
Sets a floating point value to the given dashboard link ID.
| void Script2Game::DashBoardManagerClass::setInt | ( | int | key, |
| int | value | ||
| ) |
Sets an integer value to the given dashboard link ID.
| void Script2Game::DashBoardManagerClass::setString | ( | int | key, |
| const string & | value | ||
| ) |
Sets a string value to the given dashboard link ID.
| void Script2Game::DashBoardManagerClass::updateFeatures | ( | ) |
Updates the visibility of all the dashboard controls linked to the manager, according to the enabled/disabled status of their dashboard input link.