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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user