CommonLibVR
ILoader.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "RE/B/BSTSmartPointer.h"
4 #include "RE/U/UnlinkedTypes.h"
5 
6 namespace RE
7 {
8  namespace BSScript
9  {
10  class IStore;
11 
12  struct ILoader
13  {
14  public:
15  inline static constexpr auto RTTI = RTTI_BSScript__ILoader;
16  inline static constexpr auto VTABLE = VTABLE_BSScript__ILoader;
17 
18  virtual ~ILoader(); // 00
19 
20  // add
21  virtual ILoader* Clone() = 0; // 01
22  virtual void SetScriptStore(const BSTSmartPointer<IStore>& a_store) = 0; // 02
23  virtual bool GetClass(const char* a_name, UnlinkedTypes::Object& a_object) = 0; // 03
24  };
25  static_assert(sizeof(ILoader) == 0x8);
26  }
27 }
Definition: UnlinkedTypes.h:179
Definition: BSTSmartPointer.h:37
Definition: AbsorbEffect.h:6
constexpr REL::ID RTTI_BSScript__ILoader(static_cast< std::uint64_t >(689080))
constexpr std::array< REL::ID, 1 > VTABLE_BSScript__ILoader
Definition: Offsets_VTABLE.h:9452
Definition: ILoader.h:13
static constexpr auto RTTI
Definition: ILoader.h:15
virtual ILoader * Clone()=0
static constexpr auto VTABLE
Definition: ILoader.h:16
virtual void SetScriptStore(const BSTSmartPointer< IStore > &a_store)=0
virtual bool GetClass(const char *a_name, UnlinkedTypes::Object &a_object)=0