|
|
|
@ -116,13 +116,18 @@ namespace EsmTool
|
|
|
|
|
|
|
|
|
|
std::cout << "\n Record: " << ESM::NAME(reader.hdr().record.typeId).toStringView();
|
|
|
|
|
if constexpr (ESM4::hasFormId<T>)
|
|
|
|
|
std::cout << "\n FormId: " << value.mFormId;
|
|
|
|
|
std::cout << "\n FormId: 0x" << ESM4::formIdToString(value.mFormId);
|
|
|
|
|
if constexpr (ESM::hasId<T>)
|
|
|
|
|
std::cout << "\n Id: " << value.mId;
|
|
|
|
|
{
|
|
|
|
|
if constexpr (std::is_same_v<decltype(value.mId), ESM4::FormId>)
|
|
|
|
|
std::cout << "\n FormId: 0x" << ESM4::formIdToString(value.mId);
|
|
|
|
|
else
|
|
|
|
|
std::cout << "\n Id: " << value.mId;
|
|
|
|
|
}
|
|
|
|
|
if constexpr (ESM4::hasFlags<T>)
|
|
|
|
|
std::cout << "\n Record flags: " << recordFlags(value.mFlags);
|
|
|
|
|
if constexpr (ESM4::hasParentFormId<T>)
|
|
|
|
|
std::cout << "\n ParentFormId: " << value.mParentFormId;
|
|
|
|
|
std::cout << "\n ParentFormId: 0x" << ESM4::formIdToString(value.mParentFormId);
|
|
|
|
|
if constexpr (ESM4::hasParent<T>)
|
|
|
|
|
std::cout << "\n Parent: " << value.mParent;
|
|
|
|
|
if constexpr (ESM4::hasEditorId<T>)
|
|
|
|
|