CommonLibVR
IStackCallbackFunctor.h
Go to the documentation of this file.
1 #pragma once
2 
4 #include "RE/B/BSTSmartPointer.h"
5 
6 namespace RE
7 {
8  namespace BSScript
9  {
10  class Object;
11  class Variable;
12 
14  {
15  public:
16  inline static constexpr auto RTTI = RTTI_BSScript__IStackCallbackFunctor;
17  inline static constexpr auto VTABLE = VTABLE_BSScript__IStackCallbackFunctor;
18 
20  virtual ~IStackCallbackFunctor() = default; // 00
21 
22  // add
23  virtual void operator()(Variable a_result) = 0; // 01
24  virtual bool CanSave() const; // 02 - { return false; }
25  virtual void SetObject(const BSTSmartPointer<Object>& a_object) = 0; // 03
26 
27  // members
28  std::uint32_t pad0C; // 0C
29  };
30  static_assert(sizeof(IStackCallbackFunctor) == 0x10);
31  }
32 }
Definition: IStackCallbackFunctor.h:14
virtual void SetObject(const BSTSmartPointer< Object > &a_object)=0
virtual ~IStackCallbackFunctor()=default
virtual void operator()(Variable a_result)=0
static constexpr auto RTTI
Definition: IStackCallbackFunctor.h:16
static constexpr auto VTABLE
Definition: IStackCallbackFunctor.h:17
std::uint32_t pad0C
Definition: IStackCallbackFunctor.h:28
Definition: Variable.h:15
Definition: BSTSmartPointer.h:37
Definition: AbsorbEffect.h:6
constexpr REL::ID RTTI_BSScript__IStackCallbackFunctor(static_cast< std::uint64_t >(689079))
constexpr std::array< REL::ID, 1 > VTABLE_BSScript__IStackCallbackFunctor
Definition: Offsets_VTABLE.h:9458
Definition: BSIntrusiveRefCounted.h:8