CommonLibSSE (Parapets fork)
Loading...
Searching...
No Matches
IStore.h
Go to the documentation of this file.
1#pragma once
2
4#include "RE/B/BSStorage.h"
5
6namespace RE
7{
8 namespace BSScript
9 {
10 class IStore : public BSStorage
11 {
12 public:
13 inline static constexpr auto RTTI = RTTI_BSScript__IStore;
14
15 ~IStore() override; // 00
16
17 // override (BSStorage)
18 BSStorageDefs::ErrorCode Write(std::size_t a_numBytes, const std::byte* a_bytes) override; // 05
19
20 // add
21 virtual bool Open(const char* a_fileName) = 0; // 06
22 virtual void Close(void) = 0; // 07
23 virtual const BSFixedString& GetRelPath() = 0; // 08
24 virtual bool HasOpenFile(void) = 0; // 09
25 virtual bool FileIsGood(void) = 0; // 0A
26 virtual void Unk_0B(void) = 0; // 0B
27 };
28 static_assert(sizeof(IStore) == 0x20);
29 }
30}
Definition: IStore.h:11
virtual bool Open(const char *a_fileName)=0
virtual bool HasOpenFile(void)=0
virtual void Close(void)=0
virtual const BSFixedString & GetRelPath()=0
virtual void Unk_0B(void)=0
virtual bool FileIsGood(void)=0
BSStorageDefs::ErrorCode Write(std::size_t a_numBytes, const std::byte *a_bytes) override
static constexpr auto RTTI
Definition: IStore.h:13
Definition: BSStorage.h:14
Definition: AbsorbEffect.h:6
constexpr REL::ID RTTI_BSScript__IStore
Definition: Offsets_RTTI.h:2188