CommonLibVR
TESRegionDataLandscape.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "RE/B/BSString.h"
4 #include "RE/T/TESRegionData.h"
5 
6 namespace RE
7 {
8  class TESFile;
9  class TESTexture;
10 
12  {
13  public:
14  inline static constexpr auto RTTI = RTTI_TESRegionDataLandscape;
15  inline static constexpr auto VTABLE = VTABLE_TESRegionDataLandscape;
16  inline static constexpr auto TYPE = Type::kLand;
17 
18  ~TESRegionDataLandscape() override; // 00
19 
20  // override (TESRegionData)
21  Type GetType() const override; // 03 - { return Type::kLand; }
22  void ConstructSelf() override; // 04
23  void Unk_05(void) override; // 05
24  void CopyFrom(TESRegionData* a_src, bool a_copy) override; // 06
25  [[nodiscard]] bool IsLoaded() const override; // 07
26 
27  // add
28  virtual bool LoadIcon(TESFile* a_mod); // 08
29  virtual void GetIconFileName(BSString* a_dst); // 09
30  virtual bool SetIconFileName(BSString* a_name); // 0A
31 
32  // members
33  TESTexture* icon; // 10
34  private:
35  KEEP_FOR_RE()
36  };
37  static_assert(sizeof(TESRegionDataLandscape) == 0x18);
38 }
#define KEEP_FOR_RE()
Definition: PCH.h:713
Definition: TESFile.h:17
Definition: TESRegionDataLandscape.h:12
void Unk_05(void) override
TESTexture * icon
Definition: TESRegionDataLandscape.h:33
static constexpr auto TYPE
Definition: TESRegionDataLandscape.h:16
~TESRegionDataLandscape() override
virtual void GetIconFileName(BSString *a_dst)
bool IsLoaded() const override
virtual bool LoadIcon(TESFile *a_mod)
void CopyFrom(TESRegionData *a_src, bool a_copy) override
static constexpr auto VTABLE
Definition: TESRegionDataLandscape.h:15
virtual bool SetIconFileName(BSString *a_name)
static constexpr auto RTTI
Definition: TESRegionDataLandscape.h:14
void ConstructSelf() override
Type GetType() const override
Definition: TESRegionData.h:8
Type
Definition: TESRegionData.h:14
Definition: TESTexture.h:10
Definition: AbsorbEffect.h:6
constexpr std::array< REL::ID, 1 > VTABLE_TESRegionDataLandscape
Definition: Offsets_VTABLE.h:12887
constexpr REL::ID RTTI_TESRegionDataLandscape(static_cast< std::uint64_t >(684980))