RigsofRods
Soft-body Physics Simulation
Public Member Functions
Script2Game::CVarClass Class Reference

Binding of RoR::CVar; A console variable, usually defined in RoR.cfg but also created by users or scripts. More...

#include <CVarClass.h>

Public Member Functions

std::string const & getStr () const
 Get the value converted to string, works with any CVAR_TYPE. More...
 
float getFloat () const
 
int getInt () const
 
bool getBool () const
 
std::string const & getName () const
 

Detailed Description

Binding of RoR::CVar; A console variable, usually defined in RoR.cfg but also created by users or scripts.

Definition at line 28 of file CVarClass.h.

Member Function Documentation

◆ getBool()

bool Script2Game::CVarClass::getBool ( ) const
inline

Definition at line 41 of file CVarClass.h.

◆ getFloat()

float Script2Game::CVarClass::getFloat ( ) const
inline

Definition at line 37 of file CVarClass.h.

◆ getInt()

int Script2Game::CVarClass::getInt ( ) const
inline

Definition at line 39 of file CVarClass.h.

◆ getName()

std::string const& Script2Game::CVarClass::getName ( ) const
inline

Definition at line 43 of file CVarClass.h.

◆ getStr()

std::string const& Script2Game::CVarClass::getStr ( ) const
inline

Get the value converted to string, works with any CVAR_TYPE.

Definition at line 35 of file CVarClass.h.


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