1
0

feat: finish one rule in BMapInspector.

- finish one rule in BMapInspector.
- fix CKObjectManager find object by name feature.
This commit is contained in:
2026-02-04 17:03:53 +08:00
parent e6e714f2c9
commit c11220d54b
14 changed files with 268 additions and 19 deletions

View File

@@ -2,5 +2,22 @@
#include "../Rule.hpp"
namespace BMapInspector::Rule {
/**
* @brief YYC12345 Rule 1
* @details
* The object grouped into "Phys_FloorRails" should only be rails, otherwise their meshes' UV will be smooth.
* Additionally, these smooth UV meshes will also affect those objects refering them.
*/
class YYCRule1 : public IRule {
public:
YYCRule1();
~YYCRule1();
YYCC_DELETE_COPY_MOVE(YYCRule1)
public:
std::u8string_view GetRuleName() const override;
void Check(Reporter::Reporter& reporter, Map::Level& level) const override;
};
}