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