CommonLibSSE (powerof3)
Loading...
Searching...
No Matches
BGSLoadGameBuffer.h
Go to the documentation of this file.
1#pragma once
2
3namespace RE
4{
6 {
7 public:
8 inline static constexpr auto RTTI = RTTI_BGSLoadGameBuffer;
9 inline static constexpr auto VTABLE = VTABLE_BGSLoadGameBuffer;
10
12
13 // add
14 virtual std::uint8_t GetVersion(void); // 01
15
16 void LoadDataEndian(void* a_data, std::uint32_t a_offset, std::uint32_t a_size)
17 {
18 using func_t = decltype(&BGSLoadGameBuffer::LoadDataEndian);
19 static REL::Relocation<func_t> func{ RELOCATION_ID(35112, 36005) };
20 return func(this, a_data, a_offset, a_size);
21 }
22
23 // members
24 void* buffer; // 08
25 std::uint64_t unk10; // 10
26 std::uint32_t unk18; // 18
27 std::uint32_t unk1C; // 1C
28 std::uint32_t unk20; // 20
29 std::uint32_t bufferPosition; // 24
30 };
31 static_assert(sizeof(BGSLoadGameBuffer) == 0x28);
32}
#define RELOCATION_ID(SE, AE)
Definition PCH.h:506
Definition Relocation.h:210
Definition BGSLoadGameBuffer.h:6
virtual std::uint8_t GetVersion(void)
std::uint32_t bufferPosition
Definition BGSLoadGameBuffer.h:29
std::uint32_t unk18
Definition BGSLoadGameBuffer.h:26
void * buffer
Definition BGSLoadGameBuffer.h:24
std::uint32_t unk20
Definition BGSLoadGameBuffer.h:28
std::uint32_t unk1C
Definition BGSLoadGameBuffer.h:27
static constexpr auto RTTI
Definition BGSLoadGameBuffer.h:8
void LoadDataEndian(void *a_data, std::uint32_t a_offset, std::uint32_t a_size)
Definition BGSLoadGameBuffer.h:16
static constexpr auto VTABLE
Definition BGSLoadGameBuffer.h:9
virtual ~BGSLoadGameBuffer()
std::uint64_t unk10
Definition BGSLoadGameBuffer.h:25
Definition AbsorbEffect.h:6
constexpr std::array< REL::ID, 1 > VTABLE_BGSLoadGameBuffer
Definition Offsets_VTABLE.h:8644
constexpr REL::ID RTTI_BGSLoadGameBuffer(static_cast< std::uint64_t >(684847))