CommonLibSSE (Parapets fork)
Loading...
Searching...
No Matches
BGSPackageDataBool.h
Go to the documentation of this file.
1#pragma once
2
4#include "RE/I/IPackageData.h"
5
6namespace RE
7{
8 class BGSPackageDataBool : public BGSNamedPackageData<IPackageData>
9 {
10 public:
11 inline static constexpr auto RTTI = RTTI_BGSPackageDataBool;
12
13 ~BGSPackageDataBool() override; // 00
14
15 // override (BGSNamedPackageData<IPackageData>)
16 void LoadPackage(TESFile* a_mod) override; // 02
17 void Assign(IPackageData* a_other) override; // 03
18 bool IsNotEqual(IPackageData* a_other) const override; // 04
19 void Unk_05(void) override; // 05 - { return 1; }
20 void Unk_07(void) override; // 07
21 void LoadBuffer(BGSLoadFormBuffer* a_buf) override; // 08
22 void Unk_09(void) override; // 09 - { return; }
23 bool GetDataAsString(BSString* a_dst) const override; // 0A - { return *a_dst->set_cstr(((data >> 1) & 1) ? "True" : "False"); }
24 [[nodiscard]] const BSFixedString& GetTypeName() const override; // 0B - { return "Bool"; }
25 };
26 static_assert(offsetof(BGSPackageDataBool, data) == 0x08);
27 static_assert(sizeof(BGSPackageDataBool) == 0x10);
28}
Definition: BGSNamedPackageData.h:9
Definition: BGSPackageDataBool.h:9
bool IsNotEqual(IPackageData *a_other) const override
void LoadPackage(TESFile *a_mod) override
~BGSPackageDataBool() override
bool GetDataAsString(BSString *a_dst) const override
void Unk_05(void) override
void Unk_09(void) override
void Assign(IPackageData *a_other) override
static constexpr auto RTTI
Definition: BGSPackageDataBool.h:11
void Unk_07(void) override
const BSFixedString & GetTypeName() const override
void LoadBuffer(BGSLoadFormBuffer *a_buf) override
Definition: IPackageData.h:12
Definition: TESFile.h:14
Definition: AbsorbEffect.h:6
constexpr REL::ID RTTI_BGSPackageDataBool
Definition: Offsets_RTTI.h:1359