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