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  inline static constexpr auto VTABLE = VTABLE_TESPackageData;
14 
15  virtual ~TESPackageData(); // 00
16 
17  // add
18  virtual void Copy(TESPackageData* a_package, TESForm* a_form); // 01 - { return; }
19  virtual bool Compare(TESPackageData* a_package); // 02 - { return true; }
20  virtual void InitItem(TESForm* a_form); // 03 - { return; }
21  virtual void SaveGame(BGSSaveFormBuffer* a_buf); // 04 - { return; }
22  virtual void LoadGame(BGSLoadFormBuffer* a_buf); // 05 - { return; }
23  };
24  static_assert(sizeof(TESPackageData) == 0x8);
25 }
Definition: BGSLoadFormBuffer.h:11
Definition: BGSSaveFormBuffer.h:8
Definition: TESForm.h:36
Definition: TESPackageData.h:10
virtual bool Compare(TESPackageData *a_package)
static constexpr auto VTABLE
Definition: TESPackageData.h:13
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 std::array< REL::ID, 1 > VTABLE_TESPackageData
Definition: Offsets_VTABLE.h:12876
constexpr REL::ID RTTI_TESPackageData(static_cast< std::uint64_t >(514022))