CommonLibSSE NG
Loading...
Searching...
No Matches
SettingCollection.h
Go to the documentation of this file.
1#pragma once
2
3namespace RE
4{
5 class TESFile;
6
7 template <class T>
9 {
10 public:
11 virtual ~SettingCollection(); // 00
12
13 // add
14 virtual void InsertSetting(T* a_setting) = 0; // 01
15 virtual void RemoveSetting(T* a_setting) = 0; // 02
16 virtual bool WriteSetting(T* a_setting) = 0; // 03
17 virtual bool ReadSetting(T* a_setting) = 0; // 04
18 virtual bool OpenHandle(bool a_create); // 05 - { return false; }
19 virtual bool CloseHandle(); // 06 - { return true; }
20 virtual void Unk_07(void); // 07 - { return 0; }
21 virtual void WriteAllSettings(); // 08 - { return handle != 0; }
22 virtual void ReadAllSettings(); // 09 - { return handle != 0; }
23
24 // members
25 char subKey[0x104]; // 008
26 void* handle; // 110
27 };
28 static_assert(sizeof(SettingCollection<void*>) == 0x118);
29}
Definition SettingCollection.h:9
virtual void RemoveSetting(T *a_setting)=0
char subKey[0x104]
Definition SettingCollection.h:25
virtual bool CloseHandle()
virtual ~SettingCollection()
virtual void WriteAllSettings()
void * handle
Definition SettingCollection.h:26
virtual bool ReadSetting(T *a_setting)=0
virtual void InsertSetting(T *a_setting)=0
virtual void ReadAllSettings()
virtual void Unk_07(void)
virtual bool OpenHandle(bool a_create)
virtual bool WriteSetting(T *a_setting)=0
Definition AbsorbEffect.h:6