1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-31 10:45:16 +01:00

Improve safety on event handlers from windows

This commit is contained in:
Ted John
2022-02-21 00:40:31 +00:00
parent 8f34029e89
commit 3864795a08
2 changed files with 4 additions and 3 deletions

View File

@@ -220,8 +220,8 @@ namespace OpenRCT2::Scripting
const std::shared_ptr<Plugin>& plugin, const DukValue& func, const std::vector<DukValue>& args,
bool isGameStateMutable);
DukValue ExecutePluginCall(
const std::shared_ptr<Plugin>& plugin, const DukValue& func, const DukValue& thisValue,
const std::vector<DukValue>& args, bool isGameStateMutable);
std::shared_ptr<Plugin> plugin, const DukValue& func, const DukValue& thisValue, const std::vector<DukValue>& args,
bool isGameStateMutable);
void LogPluginInfo(const std::shared_ptr<Plugin>& plugin, std::string_view message);