CommonLibSSE (powerof3)
BSStream.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "RE/N/NiStream.h"
4 
5 namespace 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: NiStream.h:29
Definition: AbsorbEffect.h:6
constexpr std::array< REL::ID, 1 > VTABLE_BSStream
Definition: Offsets_VTABLE.h:9859
constexpr REL::ID RTTI_BSStream(static_cast< std::uint64_t >(684797))