CommonLibVR
RE::BSStream Class Reference

#include <BSStream.h>

Inheritance diagram for RE::BSStream:
RE::NiStream

Public Member Functions

 ~BSStream () override
 
bool Load1 (NiBinaryStream *a_stream) override
 
bool Load2 (char *a_buffer, std::uint64_t a_len) override
 
bool Load3 (const char *a_path) override
 
bool Save1 (NiBinaryStream *a_stream) override
 
bool Save2 (char *&a_path, std::uint64_t &a_len) override
 
bool Save3 (const char *a_path) override
 
bool RegisterSaveObject (NiObject *a_object) override
 
bool LoadStream () override
 
void SaveStream () override
 
- Public Member Functions inherited from RE::NiStream
virtual ~NiStream ()
 
virtual void Unk_07 (void)
 
virtual bool RegisterFixedString (const BSFixedString &a_fixedString)
 
virtual bool ChangeObject (NiObject *a_object)
 
virtual std::uint32_t GetLinkIDFromObject (const NiObject *a_object)
 
virtual void SaveLinkID (const NiObject *a_object)
 
virtual bool LoadHeader ()
 
virtual void SaveHeader ()
 
virtual void RegisterObjects ()
 
virtual void LoadTopLevelObjects ()
 
virtual void SaveTopLevelObjects ()
 
virtual bool LoadObject ()
 
virtual std::uint64_t PreSaveObjectSizeTable ()
 
virtual bool SaveObjectSizeTable (std::uint64_t a_size)
 
virtual bool LoadObjectSizeTable ()
 

Public Attributes

void * objectRefMap
 
NiPointer< BSNodeReferences > nodeReferences
 
std::uint64_t unk630
 
- Public Attributes inherited from RE::NiStream
BSStreamHeader header
 
BSTSmallArray< NiObjectGroupgroups
 
std::uint32_t nifMaxVersion
 
std::uint32_t nifMaxUserDefinedVersion
 
char inputFilePath [REX::W32::MAX_PATH]
 
std::uint16_t unk20C
 
std::uint16_t unk20E
 
std::uint64_t unk210
 
NiTLargeObjectArray< NiPointer< NiObject > > objects
 
NiTLargePrimitiveArray< std::uint32_t > objectSizes
 
NiTLargeObjectArray< NiPointer< NiObject > > topObjects
 
NiTLargeObjectArray< BSFixedStringfixedStrings
 
NiBinaryStreamiStr
 
NiBinaryStreamoStr
 
std::uint32_t linkIndex
 
std::uint32_t linkBlockIndex
 
NiTPointerMap< NiObject const *, std::uint32_t > registerMap
 
std::uint16_t niAVObjectFlags
 
std::uint16_t niTimeControllerFlags
 
std::uint16_t niPropertyFlags
 
std::uint32_t unk2D8
 
bool unk2DC
 
std::uint32_t load
 
std::uint32_t link
 
std::uint32_t postLink
 
std::uint64_t unk2F0
 
std::uint64_t unk2F8
 
std::uint32_t unk300
 
std::uint32_t unk304
 
std::int32_t unk308
 
char lastLoadedRTTI [REX::W32::MAX_PATH]
 
std::uint32_t lastError
 
char lastErrorMessage [REX::W32::MAX_PATH]
 
char filePath [REX::W32::MAX_PATH]
 

Static Public Attributes

static constexpr auto RTTI = RTTI_BSStream
 
static constexpr auto VTABLE = VTABLE_BSStream
 
- Static Public Attributes inherited from RE::NiStream
static constexpr auto RTTI = RTTI_NiStream
 
static constexpr auto VTABLE = VTABLE_NiStream
 

Constructor & Destructor Documentation

◆ ~BSStream()

RE::BSStream::~BSStream ( )
override

Member Function Documentation

◆ Load1()

bool RE::BSStream::Load1 ( NiBinaryStream a_stream)
overridevirtual

Reimplemented from RE::NiStream.

◆ Load2()

bool RE::BSStream::Load2 ( char *  a_buffer,
std::uint64_t  a_len 
)
overridevirtual

Reimplemented from RE::NiStream.

◆ Load3()

bool RE::BSStream::Load3 ( const char *  a_path)
overridevirtual

Reimplemented from RE::NiStream.

◆ LoadStream()

bool RE::BSStream::LoadStream ( )
overridevirtual

Reimplemented from RE::NiStream.

◆ RegisterSaveObject()

bool RE::BSStream::RegisterSaveObject ( NiObject a_object)
overridevirtual

Reimplemented from RE::NiStream.

◆ Save1()

bool RE::BSStream::Save1 ( NiBinaryStream a_stream)
overridevirtual

Reimplemented from RE::NiStream.

◆ Save2()

bool RE::BSStream::Save2 ( char *&  a_path,
std::uint64_t &  a_len 
)
overridevirtual

Reimplemented from RE::NiStream.

◆ Save3()

bool RE::BSStream::Save3 ( const char *  a_path)
overridevirtual

Reimplemented from RE::NiStream.

◆ SaveStream()

void RE::BSStream::SaveStream ( )
overridevirtual

Reimplemented from RE::NiStream.

Member Data Documentation

◆ nodeReferences

NiPointer<BSNodeReferences> RE::BSStream::nodeReferences

◆ objectRefMap

void* RE::BSStream::objectRefMap

◆ RTTI

constexpr auto RE::BSStream::RTTI = RTTI_BSStream
inlinestaticconstexpr

◆ unk630

std::uint64_t RE::BSStream::unk630

◆ VTABLE

constexpr auto RE::BSStream::VTABLE = VTABLE_BSStream
inlinestaticconstexpr

The documentation for this class was generated from the following file: