class
TConsoleVariable
atomic<std::string> doesn't exist, so this one is mutex-guarded.
- Module
- Core
- Header
#include "Core/IConsoleManager.h"- Namespace
Mowo- Template
template<>
Constructors
| Signature | Name | Description |
|---|---|---|
TConsoleVariable(std::string name, std::string defaultValue, std::string helpTex… | TConsoleVariable | |
~TConsoleVariable() override | ~TConsoleVariable |
Public functions
| Returns | Name | Description |
|---|---|---|
std::string | Get | |
void | Set | |
bool | Set | |
const std::string& | GetName | |
const std::string& | GetHelpText | |
std::string | GetValueAsString | |
bool | SetFromString | |
void | ResetToDefault |
Function details
TConsoleVariable
C++
TConsoleVariable(std::string name, std::string defaultValue, std::string helpText, EConsoleVariableFlags flags = EConsoleVariableFlags::None)~TConsoleVariable
C++
~TConsoleVariable() overrideGet
C++
std::string Get() constSet
C++
void Set(std::string value)Set
C++
bool Set(std::string value, ECVarSetBy setBy)GetName
C++
const std::string& GetName() const noexcept overrideGetHelpText
C++
const std::string& GetHelpText() const noexcept overrideGetValueAsString
C++
std::string GetValueAsString() const overrideSetFromString
C++
bool SetFromString(std::string_view str) overrideResetToDefault
C++
void ResetToDefault() overrideGenerated from Core/IConsoleManager.h via core.json · Nov 5, 2026Version 1.0.0