1
0

feat: add new rules in BMapInspector

This commit is contained in:
2026-02-24 14:24:02 +08:00
parent e73f649187
commit 54fed7e37b
7 changed files with 96 additions and 80 deletions

View File

@@ -58,6 +58,10 @@ namespace BMapInspector::Rule::Shared {
}
}
O::CKMaterial* FetchMaterial(C::CKContext* ctx, L::CKSTRING name) {
return static_cast<O::CKMaterial*>(ctx->GetObjectByNameAndClass(name, C::CK_CLASSID::CKCID_MATERIAL, nullptr));
}
std::vector<O::CK3dObject*> FetchPhysicalized3dObjects(C::CKContext* ctx) {
std::vector<O::CK3dObject*> rv;