CommonLibSSE NG
GameSettingCollection.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_GameSettingCollection;
12 
13  ~GameSettingCollection() override; // 00
14 
15  // override (SettingCollectionMap<Setting>)
16  bool WriteSetting(Setting* a_setting) override; // 03 - { return false; }
17  bool ReadSetting(Setting* a_setting) override; // 04
18  bool OpenHandle(bool a_create) override; // 05 - { return handle != 0; }
19  bool CloseHandle() override; // 06 - { handle = 0; return true; }
20 
21  // add
22  virtual void Unk_0A(void); // 0A
23 
25 
26  Setting* GetSetting(const char* a_name);
27  };
28  static_assert(sizeof(GameSettingCollection) == 0x140);
29 }
Definition: GameSettingCollection.h:9
bool WriteSetting(Setting *a_setting) override
~GameSettingCollection() override
static GameSettingCollection * GetSingleton()
bool CloseHandle() override
Setting * GetSetting(const char *a_name)
bool ReadSetting(Setting *a_setting) override
static constexpr auto RTTI
Definition: GameSettingCollection.h:11
virtual void Unk_0A(void)
bool OpenHandle(bool a_create) override
Definition: SettingCollectionMap.h:11
Definition: Setting.h:8
Definition: AbsorbEffect.h:6
constexpr REL::VariantID RTTI_GameSettingCollection(684600, 392248, 0x1ed7378)