Common return value for all commands.
Container for an encoded string, created by GetEncodedString.
Functions related to commands.
@ OtherManagement
Renaming stuff, changing company colours, placing signs, etc.
@ Deity
the command may be executed by COMPANY_DEITY
@ StrCtrl
the command's string may contain control strings
EnumBitSet< CommandFlag, uint16_t > CommandFlags
Bitset of CommandFlag elements.
@ CreateCustomNewsItem
create a custom news message
EnumBitSet< DoCommandFlag, uint16_t > DoCommandFlags
Bitset of DoCommandFlag elements.
Types related to companies.
CommandCost CmdCustomNewsItem(DoCommandFlags flags, NewsType type, CompanyID company, NewsReference reference, const EncodedString &text)
Create a new custom news item.
Functions related to news.
std::variant< std::monostate, TileIndex, VehicleID, StationID, IndustryID, TownID, EngineID > NewsReference
References to objects in news.