forked from rosebudai/OpenRCT2-Web
Log messages with new LogPluginInfo function
This commit is contained in:
3 files changed
+280
-208
No files matched your search
@@ -224,6 +224,7 @@ namespace OpenRCT2::Scripting
|
||||
std::shared_ptr<Plugin> plugin, const DukValue& func, const DukValue& thisValue, const std::vector<DukValue>& args,
|
||||
bool isGameStateMutable);
|
||||
|
||||
void LogPluginInfo(std::string_view message);
|
||||
void LogPluginInfo(const std::shared_ptr<Plugin>& plugin, std::string_view message);
|
||||
|
||||
void SubscribeToPluginStoppedEvent(std::function<void(std::shared_ptr<Plugin>)> callback)
|
||||
|
||||
Reference in new issue
Block a user