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

What a console variable allows: {.saved = true, .cheat = true}. More...

#include <aegis2d/core/console_variables.hpp>

Public Attributes

bool saved = false
 Kept in the player's settings between runs.
 
bool cheat = false
 Changes only while cheats are on (ConsoleVariables::set_cheats()).
 
bool read_only = false
 Keeps its default: only the code that declares it sets it.
 

Detailed Description

What a console variable allows: {.saved = true, .cheat = true}.

Member Data Documentation

◆ cheat

bool aegis2d::core::VarFlags::cheat = false

Changes only while cheats are on (ConsoleVariables::set_cheats()).

◆ read_only

bool aegis2d::core::VarFlags::read_only = false

Keeps its default: only the code that declares it sets it.

◆ saved

bool aegis2d::core::VarFlags::saved = false

Kept in the player's settings between runs.


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