From f77c1cd90b51adcf6c868fb7e02bfccbb08f357b Mon Sep 17 00:00:00 2001 From: Mordred Date: Sat, 26 Feb 2022 10:50:10 +0100 Subject: [PATCH] parse Event and PopRange into entries too --- deps/datReader/DatCategories/bg/lgb.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/deps/datReader/DatCategories/bg/lgb.h b/deps/datReader/DatCategories/bg/lgb.h index a7a8fc38..c5c99f11 100644 --- a/deps/datReader/DatCategories/bg/lgb.h +++ b/deps/datReader/DatCategories/bg/lgb.h @@ -255,6 +255,14 @@ struct LGB_GROUP { entries.push_back( std::make_shared< LGB_EXIT_RANGE_ENTRY >( buf, entryOffset ) ); } + else if( type == LgbEntryType::EventRange ) + { + entries.push_back( std::make_shared< LGB_EVENT_RANGE_ENTRY >( buf, entryOffset ) ); + } + else if( type == LgbEntryType::PopRange ) + { + entries.push_back( std::make_shared< LGB_POP_RANGE_ENTRY >( buf, entryOffset ) ); + } else if( type == LgbEntryType::MapRange ) { entries.push_back( std::make_shared< LGB_MAP_RANGE_ENTRY >( buf, entryOffset ) );