CommonLibVR
RE::NiStream Class Reference

#include <NiStream.h>

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

Public Member Functions

virtual ~NiStream ()
 
virtual bool Load1 (NiBinaryStream *a_stream)
 
virtual bool Load2 (char *a_buffer, std::uint64_t a_len)
 
virtual bool Load3 (const char *a_path)
 
virtual bool Save1 (NiBinaryStream *a_stream)
 
virtual bool Save2 (char *&a_path, std::uint64_t &a_len)
 
virtual bool Save3 (const char *a_path)
 
virtual void Unk_07 (void)
 
virtual bool RegisterFixedString (const BSFixedString &a_fixedString)
 
virtual bool RegisterSaveObject (NiObject *a_object)
 
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 bool LoadStream ()
 
virtual void SaveStream ()
 
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

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_NiStream
 
static constexpr auto VTABLE = VTABLE_NiStream
 

Constructor & Destructor Documentation

◆ ~NiStream()

virtual RE::NiStream::~NiStream ( )
virtual

Member Function Documentation

◆ ChangeObject()

virtual bool RE::NiStream::ChangeObject ( NiObject a_object)
virtual

◆ GetLinkIDFromObject()

virtual std::uint32_t RE::NiStream::GetLinkIDFromObject ( const NiObject a_object)
virtual

◆ Load1()

virtual bool RE::NiStream::Load1 ( NiBinaryStream a_stream)
virtual

Reimplemented in RE::BSStream.

◆ Load2()

virtual bool RE::NiStream::Load2 ( char *  a_buffer,
std::uint64_t  a_len 
)
virtual

Reimplemented in RE::BSStream.

◆ Load3()

virtual bool RE::NiStream::Load3 ( const char *  a_path)
virtual

Reimplemented in RE::BSStream.

◆ LoadHeader()

virtual bool RE::NiStream::LoadHeader ( )
virtual

◆ LoadObject()

virtual bool RE::NiStream::LoadObject ( )
virtual

◆ LoadObjectSizeTable()

virtual bool RE::NiStream::LoadObjectSizeTable ( )
virtual

◆ LoadStream()

virtual bool RE::NiStream::LoadStream ( )
virtual

Reimplemented in RE::BSStream.

◆ LoadTopLevelObjects()

virtual void RE::NiStream::LoadTopLevelObjects ( )
virtual

◆ PreSaveObjectSizeTable()

virtual std::uint64_t RE::NiStream::PreSaveObjectSizeTable ( )
virtual

◆ RegisterFixedString()

virtual bool RE::NiStream::RegisterFixedString ( const BSFixedString a_fixedString)
virtual

◆ RegisterObjects()

virtual void RE::NiStream::RegisterObjects ( )
virtual

◆ RegisterSaveObject()

virtual bool RE::NiStream::RegisterSaveObject ( NiObject a_object)
virtual

Reimplemented in RE::BSStream.

◆ Save1()

virtual bool RE::NiStream::Save1 ( NiBinaryStream a_stream)
virtual

Reimplemented in RE::BSStream.

◆ Save2()

virtual bool RE::NiStream::Save2 ( char *&  a_path,
std::uint64_t &  a_len 
)
virtual

Reimplemented in RE::BSStream.

◆ Save3()

virtual bool RE::NiStream::Save3 ( const char *  a_path)
virtual

Reimplemented in RE::BSStream.

◆ SaveHeader()

virtual void RE::NiStream::SaveHeader ( )
virtual

◆ SaveLinkID()

virtual void RE::NiStream::SaveLinkID ( const NiObject a_object)
virtual

◆ SaveObjectSizeTable()

virtual bool RE::NiStream::SaveObjectSizeTable ( std::uint64_t  a_size)
virtual

◆ SaveStream()

virtual void RE::NiStream::SaveStream ( )
virtual

Reimplemented in RE::BSStream.

◆ SaveTopLevelObjects()

virtual void RE::NiStream::SaveTopLevelObjects ( )
virtual

◆ Unk_07()

virtual void RE::NiStream::Unk_07 ( void  )
virtual

Member Data Documentation

◆ filePath

char RE::NiStream::filePath[REX::W32::MAX_PATH]

◆ fixedStrings

NiTLargeObjectArray<BSFixedString> RE::NiStream::fixedStrings

◆ groups

BSTSmallArray<NiObjectGroup> RE::NiStream::groups

◆ header

BSStreamHeader RE::NiStream::header

◆ inputFilePath

char RE::NiStream::inputFilePath[REX::W32::MAX_PATH]

◆ iStr

NiBinaryStream* RE::NiStream::iStr

◆ lastError

std::uint32_t RE::NiStream::lastError

◆ lastErrorMessage

char RE::NiStream::lastErrorMessage[REX::W32::MAX_PATH]

◆ lastLoadedRTTI

char RE::NiStream::lastLoadedRTTI[REX::W32::MAX_PATH]

◆ link

std::uint32_t RE::NiStream::link

◆ linkBlockIndex

std::uint32_t RE::NiStream::linkBlockIndex

◆ linkIndex

std::uint32_t RE::NiStream::linkIndex

◆ load

std::uint32_t RE::NiStream::load

◆ niAVObjectFlags

std::uint16_t RE::NiStream::niAVObjectFlags

◆ nifMaxUserDefinedVersion

std::uint32_t RE::NiStream::nifMaxUserDefinedVersion

◆ nifMaxVersion

std::uint32_t RE::NiStream::nifMaxVersion

◆ niPropertyFlags

std::uint16_t RE::NiStream::niPropertyFlags

◆ niTimeControllerFlags

std::uint16_t RE::NiStream::niTimeControllerFlags

◆ objects

NiTLargeObjectArray<NiPointer<NiObject> > RE::NiStream::objects

◆ objectSizes

NiTLargePrimitiveArray<std::uint32_t> RE::NiStream::objectSizes

◆ oStr

NiBinaryStream* RE::NiStream::oStr

◆ postLink

std::uint32_t RE::NiStream::postLink

◆ registerMap

NiTPointerMap<NiObject const*, std::uint32_t> RE::NiStream::registerMap

◆ RTTI

constexpr auto RE::NiStream::RTTI = RTTI_NiStream
inlinestaticconstexpr

◆ topObjects

NiTLargeObjectArray<NiPointer<NiObject> > RE::NiStream::topObjects

◆ unk20C

std::uint16_t RE::NiStream::unk20C

◆ unk20E

std::uint16_t RE::NiStream::unk20E

◆ unk210

std::uint64_t RE::NiStream::unk210

◆ unk2D8

std::uint32_t RE::NiStream::unk2D8

◆ unk2DC

bool RE::NiStream::unk2DC

◆ unk2F0

std::uint64_t RE::NiStream::unk2F0

◆ unk2F8

std::uint64_t RE::NiStream::unk2F8

◆ unk300

std::uint32_t RE::NiStream::unk300

◆ unk304

std::uint32_t RE::NiStream::unk304

◆ unk308

std::int32_t RE::NiStream::unk308

◆ VTABLE

constexpr auto RE::NiStream::VTABLE = VTABLE_NiStream
inlinestaticconstexpr

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