style: format

This commit is contained in:
zzyyyl
2022-11-03 18:07:10 +08:00
parent faab4b3c18
commit 797f418f5b
2 changed files with 3 additions and 4 deletions

View File

@@ -23,7 +23,7 @@ namespace asst
public:
virtual ~RoguelikeShoppingConfiger() override = default;
const auto& get_goods(const std::string& theme) const noexcept {return m_goods.at(theme); }
const auto& get_goods(const std::string& theme) const noexcept { return m_goods.at(theme); }
private:
virtual bool parse(const json::value& json) override;

View File

@@ -11,8 +11,8 @@
#include "Plugin/RoguelikeSkillSelectionTaskPlugin.h"
#include "RuntimeStatus.h"
#include "Sub/ProcessTask.h"
#include "Utils/Logger.hpp"
#include "Utils/AsstBattleDef.h"
#include "Utils/Logger.hpp"
asst::RoguelikeTask::RoguelikeTask(const AsstCallback& callback, void* callback_arg)
: PackageTask(callback, callback_arg, TaskType),
@@ -66,8 +66,7 @@ bool asst::RoguelikeTask::set_params(const json::value& params)
m_debug_task_ptr->set_enable(false);
m_roguelike_task_ptr->set_times_limit("StageTraderLeaveConfirm", 0, ProcessTask::TimesLimitType::Post);
break;
case 2:
[[unlikely]]
[[unlikely]] case 2:
m_debug_task_ptr->set_enable(true);
m_roguelike_task_ptr->set_times_limit("StageTraderInvestCancel", 0);
break;