CommonLibSSE NG
Loading...
Searching...
No Matches
BSStream.h
Go to the documentation of this file.
1#pragma once
2
3#include "RE/N/NiStream.h"
4
5namespace RE
6{
7 class BSNodeReferences;
8
9 class BSStream : public NiStream
10 {
11 public:
12 inline static constexpr auto RTTI = RTTI_BSStream;
13 inline static constexpr auto VTABLE = VTABLE_BSStream;
14
15 ~BSStream() override; // 00
16
17 // overwrite (NiStream)
18 bool Load1(NiBinaryStream* a_stream) override; // 01
19 bool Load2(char* a_buffer, std::uint64_t a_len) override; // 02
20 bool Load3(const char* a_path) override; // 03
21 bool Save1(NiBinaryStream* a_stream) override; // 04
22 bool Save2(char*& a_path, std::uint64_t& a_len) override; // 05
23 bool Save3(const char* a_path) override; // 06
24 bool RegisterSaveObject(NiObject* a_object) override; // 09
25 bool LoadStream() override; // 0F
26 void SaveStream() override; // 10
27
28 // members
29 void* objectRefMap; // 620 - BSTHashMap<const char*,NiObjectNET *>* ?
31 std::uint64_t unk630; // 630
32 };
33 static_assert(sizeof(BSStream) == 0x638);
34}
Definition BSStream.h:10
NiPointer< BSNodeReferences > nodeReferences
Definition BSStream.h:30
bool Load3(const char *a_path) override
bool Save1(NiBinaryStream *a_stream) override
void * objectRefMap
Definition BSStream.h:29
bool Load1(NiBinaryStream *a_stream) override
bool RegisterSaveObject(NiObject *a_object) override
static constexpr auto RTTI
Definition BSStream.h:12
bool Save2(char *&a_path, std::uint64_t &a_len) override
bool Save3(const char *a_path) override
bool Load2(char *a_buffer, std::uint64_t a_len) override
std::uint64_t unk630
Definition BSStream.h:31
static constexpr auto VTABLE
Definition BSStream.h:13
void SaveStream() override
~BSStream() override
bool LoadStream() override
Definition NiBinaryStream.h:6
Definition NiObject.h:37
Definition NiSmartPointer.h:9
Definition NiStream.h:27
Definition AbsorbEffect.h:6
constexpr std::array< REL::VariantID, 1 > VTABLE_BSStream
Definition Offsets_VTABLE.h:230
constexpr REL::VariantID RTTI_BSStream(684797, 392490, 0x1ed9fb8)