mirror of https://github.com/OpenRCT2/OpenRCT2.git
Fix formatting
This commit is contained in:
parent
c1f75a0906
commit
27eec48c16
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue