CommonLibSSE (Parapets fork)
SettingCollection.h
Go to the documentation of this file.
1 #pragma once
2 
3 namespace 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 Unk_08(void); // 08 - { return handle != 0; }
22  virtual void Unk_09(void); // 09 - { return handle != 0; }
23 
24  // members
25  const char* subKey; // 008
26  std::uint64_t unk010; // 010
27  std::uint64_t unk018; // 018
28  std::uint64_t unk020; // 020
29  std::uint64_t unk028; // 028
30  std::uint64_t unk030; // 030
31  std::uint64_t unk038; // 038
32  std::uint64_t unk040; // 040
33  std::uint64_t unk048; // 048
34  std::uint64_t unk050; // 050
35  std::uint64_t unk058; // 058
36  std::uint64_t unk060; // 060
37  std::uint64_t unk068; // 068
38  std::uint64_t unk070; // 070
39  std::uint64_t unk078; // 078
40  std::uint64_t unk080; // 080
41  std::uint64_t unk088; // 088
42  std::uint64_t unk090; // 090
43  std::uint64_t unk098; // 098
44  std::uint64_t unk0A0; // 0A0
45  std::uint64_t unk0A8; // 0A8
46  std::uint64_t unk0B0; // 0B0
47  std::uint64_t unk0B8; // 0B8
48  std::uint64_t unk0C0; // 0C0
49  std::uint64_t unk0C8; // 0C8
50  std::uint64_t unk0D0; // 0D0
51  std::uint64_t unk0D8; // 0D8
52  std::uint64_t unk0E0; // 0E0
53  std::uint64_t unk0E8; // 0E8
54  std::uint64_t unk0F0; // 0F0
55  std::uint64_t unk0F8; // 0F8
56  std::uint64_t unk100; // 100
57  std::uint64_t unk108; // 108
58  void* handle; // 110
59  };
60  static_assert(sizeof(SettingCollection<void*>) == 0x118);
61 }
Definition: SettingCollection.h:9
std::uint64_t unk060
Definition: SettingCollection.h:36
std::uint64_t unk028
Definition: SettingCollection.h:29
virtual void RemoveSetting(T *a_setting)=0
std::uint64_t unk010
Definition: SettingCollection.h:26
std::uint64_t unk058
Definition: SettingCollection.h:35
std::uint64_t unk040
Definition: SettingCollection.h:32
std::uint64_t unk090
Definition: SettingCollection.h:42
std::uint64_t unk0D0
Definition: SettingCollection.h:50
virtual void Unk_09(void)
std::uint64_t unk098
Definition: SettingCollection.h:43
std::uint64_t unk0F8
Definition: SettingCollection.h:55
std::uint64_t unk018
Definition: SettingCollection.h:27
std::uint64_t unk038
Definition: SettingCollection.h:31
std::uint64_t unk0E8
Definition: SettingCollection.h:53
virtual bool CloseHandle()
std::uint64_t unk020
Definition: SettingCollection.h:28
std::uint64_t unk030
Definition: SettingCollection.h:30
std::uint64_t unk078
Definition: SettingCollection.h:39
std::uint64_t unk0A0
Definition: SettingCollection.h:44
std::uint64_t unk0B0
Definition: SettingCollection.h:46
std::uint64_t unk050
Definition: SettingCollection.h:34
std::uint64_t unk0B8
Definition: SettingCollection.h:47
virtual ~SettingCollection()
std::uint64_t unk0C0
Definition: SettingCollection.h:48
std::uint64_t unk0C8
Definition: SettingCollection.h:49
std::uint64_t unk068
Definition: SettingCollection.h:37
std::uint64_t unk070
Definition: SettingCollection.h:38
std::uint64_t unk048
Definition: SettingCollection.h:33
void * handle
Definition: SettingCollection.h:58
virtual bool ReadSetting(T *a_setting)=0
const char * subKey
Definition: SettingCollection.h:25
std::uint64_t unk100
Definition: SettingCollection.h:56
std::uint64_t unk108
Definition: SettingCollection.h:57
virtual void InsertSetting(T *a_setting)=0
std::uint64_t unk0E0
Definition: SettingCollection.h:52
std::uint64_t unk088
Definition: SettingCollection.h:41
std::uint64_t unk0F0
Definition: SettingCollection.h:54
virtual void Unk_07(void)
virtual void Unk_08(void)
std::uint64_t unk080
Definition: SettingCollection.h:40
virtual bool OpenHandle(bool a_create)
std::uint64_t unk0A8
Definition: SettingCollection.h:45
std::uint64_t unk0D8
Definition: SettingCollection.h:51
virtual bool WriteSetting(T *a_setting)=0
Definition: AbsorbEffect.h:6