CommonLibSSE (Parapets fork)
Loading...
Searching...
No Matches
BGSNamedPackageData.h
Go to the documentation of this file.
1#pragma once
2
3#include "RE/I/IPackageData.h"
4
5namespace RE
6{
7 template <class Parent>
8 class BGSNamedPackageData : public Parent
9 {
10 public:
11 static_assert(std::is_base_of<IPackageData, Parent>::value);
12
13 union Data
14 {
15 bool b;
16 std::uint32_t i;
17 float f;
18 void* p;
19 };
20 static_assert(sizeof(Data) == 0x8);
21
22 // override (IPackageData)
23 void InitPackage() override; // 01 - { return; }
24 void LoadPackage(TESFile* a_mod) override; // 02
25 void Assign(IPackageData* a_other) override; // 03 - { return; }
26 bool IsNotEqual(IPackageData* a_other) const override; // 04
27
28 // members
29 Data data; // ??
30 };
31}
Definition: BGSNamedPackageData.h:9
bool IsNotEqual(IPackageData *a_other) const override
Data data
Definition: BGSNamedPackageData.h:29
void LoadPackage(TESFile *a_mod) override
void Assign(IPackageData *a_other) override
void InitPackage() override
Definition: IPackageData.h:12
Definition: TESFile.h:14
Definition: AbsorbEffect.h:6
Definition: BGSNamedPackageData.h:14
void * p
Definition: BGSNamedPackageData.h:18
std::uint32_t i
Definition: BGSNamedPackageData.h:16
float f
Definition: BGSNamedPackageData.h:17
bool b
Definition: BGSNamedPackageData.h:15