forked from rosebudai/OpenRCT2-Web
Fix formatting
This commit is contained in:
1 parent
c1f75a0906
commit
27eec48c16
2 files changed
+4
-2
No files matched your search
@@ -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