[ZoneBuilder] Dump more material info
This commit is contained in:
parent
3e5829545a
commit
e08365e8c3
@ -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*)
|
||||
{
|
||||
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);
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user