mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-12 22:14:42 +00:00
Fix esmtool dump format
This commit is contained in:
parent
c9f03b4174
commit
0d4833febb
@ -147,12 +147,7 @@ namespace EsmTool
|
|||||||
|
|
||||||
std::cout << "\n Record: " << ESM::NAME(reader.hdr().record.typeId).toStringView();
|
std::cout << "\n Record: " << ESM::NAME(reader.hdr().record.typeId).toStringView();
|
||||||
if constexpr (ESM::hasId<T>)
|
if constexpr (ESM::hasId<T>)
|
||||||
{
|
std::cout << "\n Id: " << value.mId;
|
||||||
if constexpr (std::is_same_v<decltype(value.mId), ESM::FormId>)
|
|
||||||
std::cout << "\n " << ESM::RefId(value.mId);
|
|
||||||
else
|
|
||||||
std::cout << "\n Id: " << value.mId;
|
|
||||||
}
|
|
||||||
if constexpr (ESM4::hasFlags<T>)
|
if constexpr (ESM4::hasFlags<T>)
|
||||||
std::cout << "\n Record flags: " << recordFlags(value.mFlags);
|
std::cout << "\n Record flags: " << recordFlags(value.mFlags);
|
||||||
if constexpr (ESM4::hasParent<T>)
|
if constexpr (ESM4::hasParent<T>)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user