From f3c1b0e7ebd3b8f5533489b3fb3eedd71315b026 Mon Sep 17 00:00:00 2001 From: Alexei Kotov Date: Thu, 17 Aug 2023 04:43:47 +0300 Subject: [PATCH] Load FO4 form lists --- components/esm4/loadflst.cpp | 3 +++ components/esm4/loadflst.hpp | 1 + 2 files changed, 4 insertions(+) diff --git a/components/esm4/loadflst.cpp b/components/esm4/loadflst.cpp index a1e8e3ef16..9da17bc84b 100644 --- a/components/esm4/loadflst.cpp +++ b/components/esm4/loadflst.cpp @@ -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; diff --git a/components/esm4/loadflst.hpp b/components/esm4/loadflst.hpp index 816cb11f5e..fb90b0dd38 100644 --- a/components/esm4/loadflst.hpp +++ b/components/esm4/loadflst.hpp @@ -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 mObjects;