|
Aegis2D
Modular C++26 2D game engine for networked games
|
An argument a command takes: {.name = "count", .type = ArgType::Integer}.
More...
#include <aegis2d/core/commands.hpp>
Public Attributes | |
| std::string | name {} |
| Its name, as the help shows it and CommandCall reads it. | |
| ArgType | type = ArgType::Text |
| Its type. | |
| bool | optional = false |
| May be left out; the optional arguments come after the others. | |
| bool | rest = false |
| Takes the rest of the words, joined by a space: only for the last argument, a text. | |
An argument a command takes: {.name = "count", .type = ArgType::Integer}.
| std::string aegis2d::core::CommandArg::name {} |
Its name, as the help shows it and CommandCall reads it.
| bool aegis2d::core::CommandArg::optional = false |
May be left out; the optional arguments come after the others.
| bool aegis2d::core::CommandArg::rest = false |
Takes the rest of the words, joined by a space: only for the last argument, a text.
| ArgType aegis2d::core::CommandArg::type = ArgType::Text |
Its type.