CommonLibSSE NG
Loading...
Searching...
No Matches
TESRegionDataManager.h
Go to the documentation of this file.
1#pragma once
2
3namespace RE
4{
5 enum class REGION_DATA_ID;
6
7 class TESFile;
8 class TESRegion;
9 class TESRegionData;
10 class TESRegionDataGrass;
11 class TESRegionDataLandscape;
12 class TESRegionDataMap;
13 class TESRegionDataObjects;
14 class TESRegionDataSound;
15 class TESRegionDataWeather;
16
18 {
19 public:
20 inline static constexpr auto RTTI = RTTI_TESRegionDataManager;
21
22 virtual ~TESRegionDataManager(); // 00
23
24 // add
25 virtual TESRegion* GetLastLoadedRegion(); // 01 - { return lastLoadedRegion; }
26 [[nodiscard]] virtual TESRegionData* ConstructRegionData(REGION_DATA_ID a_id) const; // 02
27 virtual TESRegionDataObjects* AsRegionDataObjects(TESRegionData* a_data) const; // 03
29 virtual TESRegionDataMap* AsRegionDataMap(TESRegionData* a_data) const; // 05
31 virtual TESRegionDataGrass* AsRegionDataGrass(TESRegionData* a_data) const; // 07
32 virtual TESRegionDataSound* AsRegionDataSound(TESRegionData* a_data) const; // 08
33 virtual bool LoadRegionData(TESFile* a_file, TESRegion* a_region); // 09
34
35 // members
37 };
38 static_assert(sizeof(TESRegionDataManager) == 0x10);
39}
Definition TESFile.h:15
Definition TESRegionData.h:8
Definition TESRegionDataLandscape.h:12
Definition TESRegionDataManager.h:18
virtual TESRegion * GetLastLoadedRegion()
virtual TESRegionDataWeather * AsRegionDataWeather(TESRegionData *a_data) const
virtual TESRegionDataSound * AsRegionDataSound(TESRegionData *a_data) const
virtual TESRegionDataGrass * AsRegionDataGrass(TESRegionData *a_data) const
virtual TESRegionDataObjects * AsRegionDataObjects(TESRegionData *a_data) const
virtual TESRegionDataMap * AsRegionDataMap(TESRegionData *a_data) const
virtual TESRegionDataLandscape * AsRegionDataLandscape(TESRegionData *a_data) const
static constexpr auto RTTI
Definition TESRegionDataManager.h:20
TESRegion * lastLoadedRegion
Definition TESRegionDataManager.h:36
virtual bool LoadRegionData(TESFile *a_file, TESRegion *a_region)
virtual TESRegionData * ConstructRegionData(REGION_DATA_ID a_id) const
Definition TESRegionDataMap.h:9
Definition TESRegionDataSound.h:13
Definition TESRegionDataWeather.h:11
Definition TESRegion.h:53
Definition AbsorbEffect.h:6
constexpr REL::VariantID RTTI_TESRegionDataManager(684981, 392721, 0x1edd5b0)