CommonLibSSE (powerof3)
TESRegionDataManager.h
Go to the documentation of this file.
1 #pragma once
2 
3 namespace 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:14
Definition: TESRegionDataLandscape.h:12
Definition: TESRegionDataManager.h:18
virtual TESRegionDataWeather * AsRegionDataWeather(TESRegionData *a_data) const
virtual TESRegionDataSound * AsRegionDataSound(TESRegionData *a_data) const
virtual TESRegion * GetLastLoadedRegion()
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
virtual TESRegionDataGrass * AsRegionDataGrass(TESRegionData *a_data) const
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: TESRegionData.h:8
Definition: TESRegion.h:44
Definition: AbsorbEffect.h:6
constexpr REL::ID RTTI_TESRegionDataManager
Definition: Offsets_RTTI.h:6059