mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-02-21 09:39:56 +00:00
Maybe load FO4 static collection records
This commit is contained in:
parent
a3069ea863
commit
4d3edec59f
@ -46,6 +46,9 @@ void ESM4::StaticCollection::load(ESM4::Reader& reader)
|
||||
case ESM4::SUB_EDID:
|
||||
reader.getZString(mEditorId);
|
||||
break;
|
||||
case ESM4::SUB_FULL:
|
||||
reader.getLocalizedString(mFullName);
|
||||
break;
|
||||
case ESM4::SUB_OBND:
|
||||
case ESM4::SUB_MODL: // Model data start
|
||||
case ESM4::SUB_MODT:
|
||||
@ -54,6 +57,7 @@ void ESM4::StaticCollection::load(ESM4::Reader& reader)
|
||||
case ESM4::SUB_MODF: // Model data end
|
||||
case ESM4::SUB_ONAM:
|
||||
case ESM4::SUB_DATA:
|
||||
case ESM4::SUB_FLTR: // FO4
|
||||
case ESM4::SUB_PTRN: // FO4
|
||||
reader.skipSubRecordData();
|
||||
break;
|
||||
|
@ -46,6 +46,7 @@ namespace ESM4
|
||||
std::uint32_t mFlags; // from the header, see enum type RecordFlag for details
|
||||
|
||||
std::string mEditorId;
|
||||
std::string mFullName;
|
||||
|
||||
void load(ESM4::Reader& reader);
|
||||
// void save(ESM4::Writer& writer) const;
|
||||
|
Loading…
x
Reference in New Issue
Block a user