1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-27 16:54:52 +01:00

Implement surface style API and improve plugin calling

This commit is contained in:
Ted John
2020-02-29 13:18:31 +00:00
parent 32d72471b8
commit 4d5e7f19ca
8 changed files with 86 additions and 66 deletions

View File

@@ -142,6 +142,9 @@ namespace OpenRCT2::Scripting
void UnloadPlugins();
void Update();
std::future<void> Eval(const std::string& s);
bool ExecutePluginCall(
const std::shared_ptr<Plugin>& plugin, const DukValue& func, const std::vector<DukValue>& args,
bool isGameStateMutable);
void LogPluginInfo(const std::shared_ptr<Plugin>& plugin, const std::string_view& message);