CommonLibSSE (powerof3)
INISettingCollection.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "RE/S/Setting.h"
5 
6 namespace RE
7 {
9  {
10  public:
11  inline static constexpr auto RTTI = RTTI_INISettingCollection;
12  inline static constexpr auto VTABLE = VTABLE_INISettingCollection;
13 
14  ~INISettingCollection() override; // 00
15 
16  // override (SettingCollectionList<Setting>)
17  bool WriteSetting(Setting* a_setting) override; // 03
18  bool ReadSetting(Setting* a_setting) override; // 04
19  bool OpenHandle(bool a_create) override; // 05 - { handle = this; return true; }
20  bool CloseHandle() override; // 06 - { handle = 0; return true; }
21 
23 
24  Setting* GetSetting(std::string_view a_name);
25  };
26  static_assert(sizeof(INISettingCollection) == 0x128);
27 }
Definition: INISettingCollection.h:9
~INISettingCollection() override
static constexpr auto VTABLE
Definition: INISettingCollection.h:12
static INISettingCollection * GetSingleton()
bool ReadSetting(Setting *a_setting) override
bool WriteSetting(Setting *a_setting) override
bool OpenHandle(bool a_create) override
bool CloseHandle() override
static constexpr auto RTTI
Definition: INISettingCollection.h:11
Setting * GetSetting(std::string_view a_name)
Definition: SettingCollectionList.h:10
Definition: Setting.h:8
Definition: AbsorbEffect.h:6
constexpr REL::ID RTTI_INISettingCollection(static_cast< std::uint64_t >(684800))
constexpr std::array< REL::ID, 1 > VTABLE_INISettingCollection
Definition: Offsets_VTABLE.h:11856