1
0

feat: add detailed rule in BMapInspector

This commit is contained in:
2026-02-02 22:26:41 +08:00
parent ebbea473a4
commit b06bd587f6
15 changed files with 206 additions and 3 deletions

View File

@@ -0,0 +1,24 @@
#pragma once
#include "../Rule.hpp"
namespace BMapInspector::Rule {
// Reference: https://tieba.baidu.com/p/5913556704
/**
* @brief Chirs241097 Rule 1
* @details
* This rule will make sure that there is only 1 texture named Laterne_Verlauf in map,
* which represent the ray of latern.
*/
class Chirs1Rule : public IRule {
public:
Chirs1Rule();
virtual ~Chirs1Rule();
YYCC_DELETE_COPY_MOVE(Chirs1Rule)
public:
std::u8string_view GetRuleName() const override;
void Check(Reporter::Reporter& reporter, Map::Level& ctx) const override;
};
}