[ZoneBuilder] Dump more material info

This commit is contained in:
momo5502 2016-12-26 21:00:59 +01:00
parent 3e5829545a
commit e08365e8c3

View File

@ -793,11 +793,11 @@ namespace Components
} }
}); });
Command::Add("sortkeysdump", [](Command::Params*) Command::Add("materialInfoDump", [](Command::Params*)
{ {
Game::DB_EnumXAssets(Game::ASSET_TYPE_MATERIAL, [](Game::XAssetHeader header, void*) Game::DB_EnumXAssets(Game::ASSET_TYPE_MATERIAL, [](Game::XAssetHeader header, void*)
{ {
Logger::Print("%s: %X\n", header.material->name, header.material->sortKey & 0xFF); Logger::Print("%s: %X %X %X\n", header.material->name, header.material->sortKey & 0xFF, header.material->gameFlags & 0xFF, header.material->stateFlags & 0xFF);
}, nullptr, false); }, nullptr, false);
}); });
} }