Common return value for all commands.
Container for an encoded string, created by GetEncodedString.
Types related to commands.
@ CMDT_OTHER_MANAGEMENT
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
@ CMD_REMOVE_STORY_PAGE
remove a story page
@ CMD_CREATE_STORY_PAGE_ELEMENT
create a new story page element
@ CMD_SHOW_STORY_PAGE
show a story page
@ CMD_UPDATE_STORY_PAGE_ELEMENT
update a story page element
@ CMD_CREATE_STORY_PAGE
create a new story page
@ CMD_STORY_PAGE_BUTTON
selection via story page button
@ CMD_SET_STORY_PAGE_TITLE
update title of a story page
@ CMD_SET_STORY_PAGE_DATE
update date of a story page
@ CMD_REMOVE_STORY_PAGE_ELEMENT
remove a story page element
Types related to companies.
std::tuple< CommandCost, StoryPageElementID > CmdCreateStoryPageElement(DoCommandFlags flags, TileIndex tile, StoryPageID page_id, StoryPageElementType type, uint32_t reference, const EncodedString &text)
Create a new story page element.
std::tuple< CommandCost, StoryPageID > CmdCreateStoryPage(DoCommandFlags flags, CompanyID company, const EncodedString &text)
Create a new story page.
CommandCost CmdUpdateStoryPageElement(DoCommandFlags flags, TileIndex tile, StoryPageElementID page_element_id, uint32_t reference, const EncodedString &text)
Update a new story page element.
CommandCost CmdRemoveStoryPageElement(DoCommandFlags flags, StoryPageElementID page_element_id)
Remove a story page element.
CommandCost CmdRemoveStoryPage(DoCommandFlags flags, StoryPageID page_id)
Remove a story page and associated story page elements.
CommandCost CmdStoryPageButton(DoCommandFlags flags, TileIndex tile, StoryPageElementID page_element_id, VehicleID reference)
Clicked/used a button on a story page.
CommandCost CmdSetStoryPageTitle(DoCommandFlags flags, StoryPageID page_id, const EncodedString &text)
Update title of a story page.
CommandCost CmdSetStoryPageDate(DoCommandFlags flags, StoryPageID page_id, TimerGameCalendar::Date date)
Update date of a story page.
CommandCost CmdShowStoryPage(DoCommandFlags flags, StoryPageID page_id)
Display a story page for all clients that are allowed to view the story page.
basic types related to story pages
Types related to vehicles.