1
0

feat: add new rule in BMapInspector

This commit is contained in:
2026-03-04 11:06:29 +08:00
parent 3f6d131d0d
commit a87ff6d2db
3 changed files with 36 additions and 0 deletions

View File

@@ -351,4 +351,23 @@ namespace BMapInspector::Ruleset {
#pragma endregion
#pragma region YYC Rule 6
YYCRule6::YYCRule6() : Rule::IRule() {}
YYCRule6::~YYCRule6() {}
std::u8string_view YYCRule6::GetRuleName() const {
return u8"YYC6";
}
void YYCRule6::Check(Reporter::Reporter& reporter, Map::Level& level) const {
// TODO:
// This rule is not so essential.
// So we are not urgently to implement it in there.
// Just make a rule placeholder in there and may finish it in future.
}
#pragma endregion
} // namespace BMapInspector::Ruleset

View File

@@ -87,4 +87,20 @@ namespace BMapInspector::Ruleset {
void Check(Reporter::Reporter& reporter, Map::Level& level) const override;
};
/**
* @brief YYC12345 Rule 6
* @details
* Show info hint for the skip of progressbar when loading map.
*/
class YYCRule6 : public Rule::IRule {
public:
YYCRule6();
virtual ~YYCRule6();
YYCC_DELETE_COPY_MOVE(YYCRule6)
public:
std::u8string_view GetRuleName() const override;
void Check(Reporter::Reporter& reporter, Map::Level& level) const override;
};
}