1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-01 03:21:41 +00:00

Load FO4 form lists

This commit is contained in:
Alexei Kotov 2023-08-17 04:43:47 +03:00
parent 9ec68e864c
commit f3c1b0e7eb
2 changed files with 4 additions and 0 deletions

View File

@ -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;

View File

@ -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;