1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-20 21:43:06 +01:00

Start work on custom game actions

This commit is contained in:
Ted John
2020-03-01 21:56:49 +00:00
parent 07ed0f5c0e
commit 4e4379e6ef
7 changed files with 108 additions and 7 deletions

View File

@@ -27,6 +27,7 @@
struct duk_hthread;
typedef struct duk_hthread duk_context;
class GameActionResult;
class FileWatcher;
class InteractiveConsole;
@@ -155,6 +156,8 @@ namespace OpenRCT2::Scripting
void AddNetworkPlugin(const std::string_view& code);
std::unique_ptr<GameActionResult> QueryOrExecuteCustomGameAction(const std::string_view& id, const std::string_view& args, bool isExecute);
private:
void Initialise();
void StartPlugins();