CommonLibSSE (powerof3)
IPackageData.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "RE/B/BSFixedString.h"
4 #include "RE/B/BSString.h"
5 
6 namespace RE
7 {
8  class BGSLoadFormBuffer;
9  class TESFile;
10 
12  {
13  public:
14  inline static constexpr auto RTTI = RTTI_IPackageData;
15  inline static constexpr auto VTABLE = VTABLE_IPackageData;
16 
17  virtual ~IPackageData(); // 00
18 
19  // add
20  virtual void InitPackage() = 0; // 01
21  virtual void LoadPackage(TESFile* a_mod) = 0; // 02
22  virtual void Assign(IPackageData* a_other) = 0; // 03
23  virtual bool IsNotEqual(IPackageData* a_other) const = 0; // 04
24  virtual void Unk_05(void) = 0; // 05
25  virtual void Unk_06(void); // 06 - { return; }
26  virtual void Unk_07(void); // 07 - { return; }
27  virtual void LoadBuffer(BGSLoadFormBuffer* a_buf); // 08 - { return; }
28  virtual void Unk_09(void); // 09 - { return; }
29  virtual bool GetDataAsString(BSString* a_dst) const = 0; // 0A
30  [[nodiscard]] virtual const BSFixedString& GetTypeName() const = 0; // 0B
31  virtual void Unk_0C(void); // 0C - { return 0; }
32  };
33  static_assert(sizeof(IPackageData) == 0x8);
34 }
Definition: BGSLoadFormBuffer.h:11
Definition: IPackageData.h:12
virtual void LoadBuffer(BGSLoadFormBuffer *a_buf)
virtual void Unk_0C(void)
virtual void Unk_06(void)
virtual const BSFixedString & GetTypeName() const =0
virtual bool IsNotEqual(IPackageData *a_other) const =0
virtual void Unk_09(void)
virtual bool GetDataAsString(BSString *a_dst) const =0
virtual void Unk_05(void)=0
virtual void LoadPackage(TESFile *a_mod)=0
virtual void Assign(IPackageData *a_other)=0
virtual ~IPackageData()
virtual void InitPackage()=0
static constexpr auto RTTI
Definition: IPackageData.h:14
virtual void Unk_07(void)
static constexpr auto VTABLE
Definition: IPackageData.h:15
Definition: TESFile.h:17
Definition: AbsorbEffect.h:6
constexpr REL::ID RTTI_IPackageData(static_cast< std::uint64_t >(514008))
constexpr std::array< REL::ID, 1 > VTABLE_IPackageData
Definition: Offsets_VTABLE.h:11861