1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-15 19:13:07 +01:00

add all game actions and their documentation to plugin API (#18826)

This commit is contained in:
Stephan Spengler
2022-12-16 22:38:45 +01:00
committed by GitHub
parent 1a5b5f556b
commit bd6e572dbc
71 changed files with 1075 additions and 19 deletions

View File

@@ -1274,7 +1274,7 @@ const static EnumMap<GameCommand> ActionNameToType = {
{ "clearscenery", GameCommand::ClearScenery },
{ "climateset", GameCommand::SetClimate },
{ "footpathplace", GameCommand::PlacePath },
{ "footpathplacefromtrack", GameCommand::PlacePathFromTrack },
{ "footpathlayoutplace", GameCommand::PlacePathFromTrack },
{ "footpathremove", GameCommand::RemovePath },
{ "footpathadditionplace", GameCommand::PlaceFootpathAddition },
{ "footpathadditionremove", GameCommand::RemoveFootpathAddition },
@@ -1285,14 +1285,15 @@ const static EnumMap<GameCommand> ActionNameToType = {
{ "landraise", GameCommand::RaiseLand },
{ "landsetheight", GameCommand::SetLandHeight },
{ "landsetrights", GameCommand::SetLandOwnership },
{ "landsmoothaction", GameCommand::EditLandSmooth },
{ "landsmooth", GameCommand::EditLandSmooth },
{ "largesceneryplace", GameCommand::PlaceLargeScenery },
{ "largesceneryremove", GameCommand::RemoveLargeScenery },
{ "largescenerysetcolour", GameCommand::SetSceneryColour },
{ "largescenerysetcolour", GameCommand::SetLargeSceneryColour },
{ "loadorquit", GameCommand::LoadOrQuit },
{ "mazeplacetrack", GameCommand::PlaceMazeDesign },
{ "mazesettrack", GameCommand::SetMazeTrack },
{ "networkmodifygroup", GameCommand::ModifyGroups },
{ "parkentranceplace", GameCommand::PlaceParkEntrance },
{ "parkentranceremove", GameCommand::RemoveParkEntrance },
{ "parkmarketing", GameCommand::StartMarketingCampaign },
{ "parksetdate", GameCommand::SetDate },
@@ -1302,8 +1303,7 @@ const static EnumMap<GameCommand> ActionNameToType = {
{ "parksetresearchfunding", GameCommand::SetResearchFunding },
{ "pausetoggle", GameCommand::TogglePause },
{ "peeppickup", GameCommand::PickupGuest },
{ "placeparkentrance", GameCommand::PlaceParkEntrance },
{ "placepeepspawn", GameCommand::PlacePeepSpawn },
{ "peepspawnplace", GameCommand::PlacePeepSpawn },
{ "playerkick", GameCommand::KickPlayer },
{ "playersetgroup", GameCommand::SetPlayerGroup },
{ "ridecreate", GameCommand::CreateRide },
@@ -1317,14 +1317,15 @@ const static EnumMap<GameCommand> ActionNameToType = {
{ "ridesetprice", GameCommand::SetRidePrice },
{ "ridesetsetting", GameCommand::SetRideSetting },
{ "ridesetstatus", GameCommand::SetRideStatus },
{ "ridesetvehicles", GameCommand::SetRideVehicles },
{ "ridesetvehicle", GameCommand::SetRideVehicles },
{ "scenariosetsetting", GameCommand::EditScenarioOptions },
{ "setcheataction", GameCommand::Cheat },
{ "setcheat", GameCommand::Cheat },
{ "setparkentrancefee", GameCommand::SetParkEntranceFee },
{ "signsetname", GameCommand::SetSignName },
{ "signsetstyle", GameCommand::SetSignStyle },
{ "smallsceneryplace", GameCommand::PlaceScenery },
{ "smallsceneryremove", GameCommand::RemoveScenery },
{ "smallscenerysetcolour", GameCommand::SetSceneryColour},
{ "stafffire", GameCommand::FireStaffMember },
{ "staffhire", GameCommand::HireNewStaffMember },
{ "staffsetcolour", GameCommand::SetStaffColour },