CommonLibSSE (powerof3)
TESPackageData.h
Go to the documentation of this file.
1 #pragma once
2 
3 namespace RE
4 {
5  class BGSLoadFormBuffer;
6  class BGSSaveFormBuffer;
7  class TESForm;
8 
10  {
11  public:
12  inline static constexpr auto RTTI = RTTI_TESPackageData;
13 
14  virtual ~TESPackageData(); // 00
15 
16  // add
17  virtual void Copy(TESPackageData* a_package, TESForm* a_form); // 01 - { return; }
18  virtual bool Compare(TESPackageData* a_package); // 02 - { return true; }
19  virtual void InitItem(TESForm* a_form); // 03 - { return; }
20  virtual void SaveGame(BGSSaveFormBuffer* a_buf); // 04 - { return; }
21  virtual void LoadGame(BGSLoadFormBuffer* a_buf); // 05 - { return; }
22  };
23  static_assert(sizeof(TESPackageData) == 0x8);
24 }
Definition: TESForm.h:34
Definition: TESPackageData.h:10
virtual bool Compare(TESPackageData *a_package)
virtual void Copy(TESPackageData *a_package, TESForm *a_form)
virtual void InitItem(TESForm *a_form)
virtual ~TESPackageData()
static constexpr auto RTTI
Definition: TESPackageData.h:12
virtual void LoadGame(BGSLoadFormBuffer *a_buf)
virtual void SaveGame(BGSSaveFormBuffer *a_buf)
Definition: AbsorbEffect.h:6
constexpr REL::ID RTTI_TESPackageData
Definition: Offsets_RTTI.h:6047