-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
68 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#pragma once | ||
|
||
namespace RE | ||
{ | ||
class BGSLocalizedStringDL | ||
{ | ||
public: | ||
// members | ||
std::uint32_t id; // 0 | ||
}; | ||
static_assert(sizeof(BGSLocalizedStringDL) == 0x4); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,36 @@ | ||
#pragma once | ||
|
||
#include "RE/B/BSTArray.h" | ||
#include "RE/T/TESDescription.h" | ||
#include "RE/T/TESForm.h" | ||
#include "RE/T/TESFullName.h" | ||
|
||
namespace RE | ||
{ | ||
class BGSPerk : | ||
public TESForm, // 00 | ||
public TESFullName, // 38 | ||
public TESDescription // 48 | ||
{ | ||
public: | ||
SF_RTTI_VTABLE(BGSPerk); | ||
SF_FORMTYPE(PERK); | ||
|
||
~BGSPerk() override; // 00 | ||
|
||
// members | ||
std::uint16_t unk60; // 60 | ||
std::uint8_t unk62; // 62 | ||
std::uint8_t unk63; // 63 | ||
std::uint8_t unk64; // 64 | ||
std::uint64_t unk68; // 68 | ||
BSFixedStringCS unk70; // 70 | ||
BSFixedString perkIcon; // 78 - GNAM | ||
std::uint64_t unk80; // 80 | ||
std::uint64_t unk88; // 88 | ||
std::uint64_t unk90; // 90 | ||
std::uint64_t unk98; // 98 | ||
BSTArray<void*> unkA0; // A0 | ||
}; | ||
static_assert(sizeof(BGSPerk) == 0xB0); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
#pragma once | ||
|
||
#include "RE/B/BGSLocalizedStringDL.h" | ||
#include "RE/B/BaseFormComponent.h" | ||
|
||
namespace RE | ||
{ | ||
class TESDescription : public BaseFormComponent | ||
{ | ||
public: | ||
SF_RTTI_VTABLE(TESDescription); | ||
|
||
~TESDescription() override; // 00 | ||
|
||
// override (BaseFormComponent) | ||
const BSFixedString& GetFormComponentType() const override; // 01 - { return "TESDescription_Component"; } | ||
void InitializeDataComponent() override; // 02 | ||
|
||
// members | ||
std::uint32_t fileOffset; // 08 | ||
std::uint32_t chunkOffset; // 0C | ||
BGSLocalizedStringDL descriptionText; // 10 | ||
}; | ||
static_assert(sizeof(TESDescription) == 0x18); | ||
} |