CommonLibSSE (powerof3)
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 inline static constexpr auto VTABLE = VTABLE_TESRegionDataManager;
22
23 virtual ~TESRegionDataManager(); // 00
24
25 // add
26 virtual TESRegion* GetLastLoadedRegion(); // 01 - { return lastLoadedRegion; }
27 [[nodiscard]] virtual TESRegionData* ConstructRegionData(REGION_DATA_ID a_id) const; // 02
28 virtual TESRegionDataObjects* AsRegionDataObjects(TESRegionData* a_data) const; // 03
30 virtual TESRegionDataMap* AsRegionDataMap(TESRegionData* a_data) const; // 05
32 virtual TESRegionDataGrass* AsRegionDataGrass(TESRegionData* a_data) const; // 07
33 virtual TESRegionDataSound* AsRegionDataSound(TESRegionData* a_data) const; // 08
34 virtual bool LoadRegionData(TESFile* a_file, TESRegion* a_region); // 09
35
36 // members
38 };
39 static_assert(sizeof(TESRegionDataManager) == 0x10);
40}
Definition TESFile.h:17
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
static constexpr auto VTABLE
Definition TESRegionDataManager.h:21
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:37
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 TESRegionData.h:8
Definition TESRegion.h:53
Definition AbsorbEffect.h:6
constexpr REL::ID RTTI_TESRegionDataManager(static_cast< std::uint64_t >(684981))
constexpr std::array< REL::ID, 1 > VTABLE_TESRegionDataManager
Definition Offsets_VTABLE.h:12888