CommonLibSSE (Parapets fork)
Loading...
Searching...
No Matches
IStackCallbackFunctor.h
Go to the documentation of this file.
1#pragma once
2
5
6namespace 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
19 virtual ~IStackCallbackFunctor() = default; // 00
20
21 // add
22 virtual void operator()(Variable a_result) = 0; // 01
23 virtual bool CanSave() const; // 02 - { return false; }
24 virtual void SetObject(const BSTSmartPointer<Object>& a_object) = 0; // 03
25
26 // members
27 std::uint32_t pad0C; // 0C
28 };
29 static_assert(sizeof(IStackCallbackFunctor) == 0x10);
30 }
31}
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
std::uint32_t pad0C
Definition: IStackCallbackFunctor.h:27
Definition: Variable.h:15
Definition: BSTSmartPointer.h:37
Definition: AbsorbEffect.h:6
constexpr REL::ID RTTI_BSScript__IStackCallbackFunctor
Definition: Offsets_RTTI.h:2186
Definition: BSIntrusiveRefCounted.h:8