Aegis2D
Modular C++26 2D game engine for networked games
Loading...
Searching...
No Matches
aegis2d::core::VarSetting Struct Reference

A variable to set, as a command line or a settings file gives it. More...

#include <aegis2d/core/variable_settings.hpp>

Public Attributes

std::string name {}
 Name of the variable.
 
std::string value {}
 Its value as text, read in the variable's type by ConsoleVariables::set_text().
 
std::string origin {}
 Where it comes from, for the errors: "command line" or "game.cfg:3".
 

Detailed Description

A variable to set, as a command line or a settings file gives it.

Member Data Documentation

◆ name

std::string aegis2d::core::VarSetting::name {}

Name of the variable.

◆ origin

std::string aegis2d::core::VarSetting::origin {}

Where it comes from, for the errors: "command line" or "game.cfg:3".

◆ value

std::string aegis2d::core::VarSetting::value {}

Its value as text, read in the variable's type by ConsoleVariables::set_text().


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