CommonLibSSE NG
Loading...
Searching...
No Matches
BSMemStorage.h
Go to the documentation of this file.
1#pragma once
2
3#include "RE/B/BSStorage.h"
4
5namespace RE
6{
7 class Win32FileType;
8
9 class BSMemStorage : public BSStorage
10 {
11 public:
12 inline static constexpr auto RTTI = RTTI_BSMemStorage;
13 inline static constexpr auto VTABLE = VTABLE_BSMemStorage;
14
15 ~BSMemStorage() override; // 00
16
17 // override BSStorage
18 std::size_t GetSize() const override; // 01
19 std::size_t GetPosition() const override; // 02
20 BSStorageDefs::ErrorCode Seek(std::size_t a_offset, BSStorageDefs::SeekMode a_seekMode) const override; // 03
21 BSStorageDefs::ErrorCode Read(std::size_t a_numBytes, std::byte* a_bytes) const override; // 04
22 BSStorageDefs::ErrorCode Write(std::size_t a_numBytes, const std::byte* a_bytes) override; // 05
23
24 // members
25 Win32FileType* file; // 20
26 std::uint64_t unk28; // 28
27 };
28 static_assert(sizeof(BSMemStorage) == 0x30);
29}
Definition BSMemStorage.h:10
~BSMemStorage() override
static constexpr auto RTTI
Definition BSMemStorage.h:12
std::size_t GetPosition() const override
Win32FileType * file
Definition BSMemStorage.h:25
static constexpr auto VTABLE
Definition BSMemStorage.h:13
BSStorageDefs::ErrorCode Seek(std::size_t a_offset, BSStorageDefs::SeekMode a_seekMode) const override
std::uint64_t unk28
Definition BSMemStorage.h:26
BSStorageDefs::ErrorCode Read(std::size_t a_numBytes, std::byte *a_bytes) const override
std::size_t GetSize() const override
BSStorageDefs::ErrorCode Write(std::size_t a_numBytes, const std::byte *a_bytes) override
Definition BSStorage.h:14
Definition AbsorbEffect.h:6
constexpr std::array< REL::VariantID, 1 > VTABLE_BSMemStorage
Definition Offsets_VTABLE.h:313
constexpr REL::VariantID RTTI_BSMemStorage(684871, 392601, 0x1edb7b0)