mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-22 06:23:04 +01:00
Fix formatting
This commit is contained in:
@@ -1466,7 +1466,8 @@ void ScriptEngine::RunGameActionHooks(const GameAction& action, GameActions::Res
|
||||
}
|
||||
}
|
||||
|
||||
std::unique_ptr<GameAction> ScriptEngine::CreateGameAction(const std::string& actionid, const DukValue& args, const std::string& pluginName)
|
||||
std::unique_ptr<GameAction> ScriptEngine::CreateGameAction(
|
||||
const std::string& actionid, const DukValue& args, const std::string& pluginName)
|
||||
{
|
||||
auto action = CreateGameActionFromActionId(actionid);
|
||||
if (action != nullptr)
|
||||
|
||||
@@ -257,7 +257,8 @@ namespace OpenRCT2::Scripting
|
||||
bool RegisterCustomAction(
|
||||
const std::shared_ptr<Plugin>& plugin, std::string_view action, const DukValue& query, const DukValue& execute);
|
||||
void RunGameActionHooks(const GameAction& action, GameActions::Result& result, bool isExecute);
|
||||
[[nodiscard]] std::unique_ptr<GameAction> CreateGameAction(const std::string& actionid, const DukValue& args, const std::string& pluginName);
|
||||
[[nodiscard]] std::unique_ptr<GameAction> CreateGameAction(
|
||||
const std::string& actionid, const DukValue& args, const std::string& pluginName);
|
||||
[[nodiscard]] DukValue GameActionResultToDuk(const GameAction& action, const GameActions::Result& result);
|
||||
|
||||
void SaveSharedStorage();
|
||||
|
||||
Reference in New Issue
Block a user