CommonLibSSE NG
Loading...
Searching...
No Matches
RE::BSStorage Class Referenceabstract

#include <BSStorage.h>

Inheritance diagram for RE::BSStorage:
RE::BSIntrusiveRefCounted RE::BSMemStorage RE::BSScript::IStore RE::BSSystemFileStorage RE::LoadStorageWrapper RE::SaveStorageWrapper RE::SkyrimScript::Store

Classes

struct  UnkData
 

Public Member Functions

virtual ~BSStorage ()
 
virtual std::size_t GetSize () const =0
 
virtual std::size_t GetPosition () const =0
 
virtual BSStorageDefs::ErrorCode Seek (std::size_t a_offset, BSStorageDefs::SeekMode a_seekMode) const =0
 
virtual BSStorageDefs::ErrorCode Read (std::size_t a_numBytes, std::byte *a_bytes) const =0
 
virtual BSStorageDefs::ErrorCode Write (std::size_t a_numBytes, const std::byte *a_bytes)=0
 
- Public Member Functions inherited from RE::BSIntrusiveRefCounted
std::uint32_t IncRef () const
 
std::uint32_t DecRef () const
 
 TES_HEAP_REDEFINE_NEW ()
 

Public Attributes

bool swapBytes
 
bool unk0D
 
uint16_t unk0E
 
UnkDataunk10
 
std::uint64_t unk18
 

Static Public Attributes

static constexpr auto RTTI = RTTI_BSStorage
 

Additional Inherited Members

- Protected Attributes inherited from RE::BSIntrusiveRefCounted
volatile std::uint32_t _refCount { 0 }
 

Constructor & Destructor Documentation

◆ ~BSStorage()

virtual RE::BSStorage::~BSStorage ( )
virtual

Member Function Documentation

◆ GetPosition()

virtual std::size_t RE::BSStorage::GetPosition ( ) const
pure virtual

◆ GetSize()

virtual std::size_t RE::BSStorage::GetSize ( ) const
pure virtual

◆ Read()

virtual BSStorageDefs::ErrorCode RE::BSStorage::Read ( std::size_t  a_numBytes,
std::byte *  a_bytes 
) const
pure virtual

◆ Seek()

virtual BSStorageDefs::ErrorCode RE::BSStorage::Seek ( std::size_t  a_offset,
BSStorageDefs::SeekMode  a_seekMode 
) const
pure virtual

◆ Write()

virtual BSStorageDefs::ErrorCode RE::BSStorage::Write ( std::size_t  a_numBytes,
const std::byte *  a_bytes 
)
pure virtual

Member Data Documentation

◆ RTTI

constexpr auto RE::BSStorage::RTTI = RTTI_BSStorage
inlinestaticconstexpr

◆ swapBytes

bool RE::BSStorage::swapBytes

◆ unk0D

bool RE::BSStorage::unk0D

◆ unk0E

uint16_t RE::BSStorage::unk0E

◆ unk10

UnkData* RE::BSStorage::unk10

◆ unk18

std::uint64_t RE::BSStorage::unk18

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