Common return value for all commands.
Types related to commands.
@ CMDT_COMPANY_SETTING
Changing settings related to a company.
@ CMDT_SERVER_SETTING
Pausing/removing companies/server settings.
DoCommandFlag
List of flags for a command.
@ CMD_CHANGE_SETTING
change a setting
@ CMD_CHANGE_COMPANY_SETTING
change a company setting
@ CMD_SERVER
the command can only be initiated by the server
CommandCost CmdChangeCompanySetting(DoCommandFlag flags, const std::string &name, int32_t value)
Change one of the per-company settings.
CommandCost CmdChangeSetting(DoCommandFlag flags, const std::string &name, int32_t value)
Network-safe changing of settings (server-only).