mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-04-10 15:45:37 +00:00
Merge branch 'fix_esmtool_format' into 'master'
Fix esmtool dump format See merge request OpenMW/openmw!3348
This commit is contained in:
commit
de8869579a
@ -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