CommonLibSSE (powerof3)
Loading...
Searching...
No Matches
GameSettingCollection.h
Go to the documentation of this file.
1#pragma once
2
3#include "RE/S/Setting.h"
5
6namespace RE
7{
9 {
10 public:
11 inline static constexpr auto RTTI = RTTI_GameSettingCollection;
12 inline static constexpr auto VTABLE = VTABLE_GameSettingCollection;
13
14 ~GameSettingCollection() override; // 00
15
16 // override (SettingCollectionMap<Setting>)
17 bool WriteSetting(Setting* a_setting) override; // 03 - { return false; }
18 bool ReadSetting(Setting* a_setting) override; // 04
19 bool OpenHandle(bool a_create) override; // 05 - { return handle != 0; }
20 bool CloseHandle() override; // 06 - { handle = 0; return true; }
21
22 // add
23 virtual void Unk_0A(void); // 0A
24
26
27 Setting* GetSetting(const char* a_name);
28 };
29 static_assert(sizeof(GameSettingCollection) == 0x140);
30}
Definition GameSettingCollection.h:9
bool WriteSetting(Setting *a_setting) override
static constexpr auto VTABLE
Definition GameSettingCollection.h:12
~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::ID RTTI_GameSettingCollection(static_cast< std::uint64_t >(684600))
constexpr std::array< REL::ID, 1 > VTABLE_GameSettingCollection
Definition Offsets_VTABLE.h:11714