22 std::string
const&
getStr()
const {
return m_value_str; }
26 int getInt()
const {
return (
int)m_value_num; }
28 bool getBool()
const {
return (
bool)m_value_num; }
30 std::string
const&
getName()
const {
return m_name; }
Binding of RoR::CVar; A console variable, usually defined in RoR.cfg but also created by users or scr...
std::string const & getName() const
std::string const & getStr() const
Get the value converted to string, works with any CVAR_TYPE.
Pseudo-namespace; it doesn't exist in code or script runtime, only in this documentation.