QcGameRules::Rule Struct
struct QcGameRules::RuleOne game rule. More...
| Header: | #include <server/commands/QcGameRules.h> |
Public Variables
| int | defaultValue |
| const char * | description |
| bool QcWorldInfo::* | flag |
| const char * | group |
| int | highest |
| QStringView | name |
| int QcWorldInfo::* | number |
Detailed Description
Member Variable Documentation
int Rule::defaultValue
The value of a new world.
const char *Rule::description
What the rule does, one sentence.
const char *Rule::group
The group the admin channel shows it in.
int Rule::highest
The highest value of a number (1 for a switch).
QStringView Rule::name
The name /gamerule and world.json use.