Load FO4 form lists

macos_ci_fix
Alexei Kotov 1 year ago
parent 9ec68e864c
commit f3c1b0e7eb

@ -44,6 +44,9 @@ void ESM4::FormIdList::load(ESM4::Reader& reader)
case ESM4::SUB_EDID:
reader.getZString(mEditorId);
break;
case ESM4::SUB_FULL:
reader.getLocalizedString(mFullName);
break;
case ESM4::SUB_LNAM:
reader.getFormId(mObjects.emplace_back());
break;

@ -45,6 +45,7 @@ namespace ESM4
std::uint32_t mFlags; // from the header, see enum type RecordFlag for details
std::string mEditorId;
std::string mFullName;
std::vector<ESM::FormId> mObjects;

Loading…
Cancel
Save