1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-22 22:34:33 +01:00

Fix some actions for plugins (#14607)

* Fix some actions for plugins

If an action doesn't have an AcceptParameters method, the paramaters passed in executeAction will be ignored and the action will fail.

* Change plugin parameter names

* Increment plugin API version
This commit is contained in:
Ryan
2021-05-09 17:04:03 -04:00
committed by GitHub
parent d46e4a9bb1
commit eb9ed63b0e
12 changed files with 42 additions and 1 deletions

View File

@@ -46,7 +46,7 @@ namespace OpenRCT2
namespace OpenRCT2::Scripting
{
static constexpr int32_t OPENRCT2_PLUGIN_API_VERSION = 27;
static constexpr int32_t OPENRCT2_PLUGIN_API_VERSION = 28;
# ifndef DISABLE_NETWORK
class ScSocketBase;