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.
@ NoEst
the command is never estimated.
@ Server
the command can only be initiated by the server
@ CMD_CHANGE_SETTING
change a setting
@ CMD_CHANGE_COMPANY_SETTING
change a company setting
CommandCost CmdChangeCompanySetting(DoCommandFlags flags, const std::string &name, int32_t value)
Change one of the per-company settings.
CommandCost CmdChangeSetting(DoCommandFlags flags, const std::string &name, int32_t value)
Network-safe changing of settings (server-only).