CommonLibSSE NG
IHandleReaderWriter.h
Go to the documentation of this file.
1 #pragma once
2 
3 namespace RE
4 {
5  class BSMemStorage;
6  class SaveStorageWrapper;
7 
8  namespace BSScript
9  {
11  {
12  public:
13  inline static constexpr auto RTTI = RTTI_BSScript__IHandleReaderWriter;
14  inline static constexpr auto VTABLE = VTABLE_BSScript__IHandleReaderWriter;
15 
16  virtual ~IHandleReaderWriter(); // 0
17 
18  // add
19  virtual void Unk_08() = 0;
20  virtual bool SaveHandle(SaveStorageWrapper* saveWrapper, VMHandle handle) = 0;
21  virtual bool LoadHandle(BSMemStorage* loadWrapper, VMHandle* out) = 0;
22  virtual bool SaveRefID(SaveStorageWrapper* saveWrapper, uint32_t handleLow);
23  virtual bool ParseScriptInstance(BSMemStorage* loadWrapper, uint32_t* scriptInstanceValues);
24  };
25  static_assert(sizeof(IHandleReaderWriter) == 0x8);
26  }
27 }
Definition: BSMemStorage.h:10
Definition: IHandleReaderWriter.h:11
virtual bool SaveHandle(SaveStorageWrapper *saveWrapper, VMHandle handle)=0
static constexpr auto RTTI
Definition: IHandleReaderWriter.h:13
virtual bool ParseScriptInstance(BSMemStorage *loadWrapper, uint32_t *scriptInstanceValues)
virtual bool SaveRefID(SaveStorageWrapper *saveWrapper, uint32_t handleLow)
virtual bool LoadHandle(BSMemStorage *loadWrapper, VMHandle *out)=0
static constexpr auto VTABLE
Definition: IHandleReaderWriter.h:14
Definition: SaveStorageWrapper.h:8
Definition: AbsorbEffect.h:6
constexpr std::array< REL::VariantID, 1 > VTABLE_BSScript__IHandleReaderWriter
Definition: Offsets_VTABLE.h:314
constexpr REL::VariantID RTTI_BSScript__IHandleReaderWriter(684872, 392602, 0x1edb7d8)
std::uint64_t VMHandle
Definition: BSCoreTypes.h:7