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

SignatureNameDescription
TConsoleVariable(std::string name, std::string defaultValue, std::string helpTex…TConsoleVariable
~TConsoleVariable() override~TConsoleVariable

Public functions

ReturnsNameDescription
std::stringGet
voidSet
boolSet
const std::string&GetName
const std::string&GetHelpText
std::stringGetValueAsString
boolSetFromString
voidResetToDefault

Function details

TConsoleVariable

C++
TConsoleVariable(std::string name, std::string defaultValue, std::string helpText, EConsoleVariableFlags flags = EConsoleVariableFlags::None)

~TConsoleVariable

C++
~TConsoleVariable() override

Get

C++
std::string Get() const

Set

C++
void Set(std::string value)

Set

C++
bool Set(std::string value, ECVarSetBy setBy)

GetName

C++
const std::string& GetName() const noexcept override

GetHelpText

C++
const std::string& GetHelpText() const noexcept override

GetValueAsString

C++
std::string GetValueAsString() const override

SetFromString

C++
bool SetFromString(std::string_view str) override

ResetToDefault

C++
void ResetToDefault() override
Generated from Core/IConsoleManager.h via core.json · Nov 5, 2026Version 1.0.0