CommonLibSSE (powerof3)
GFxFunctionHandler.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "RE/G/GRefCountBase.h"
4 #include "RE/G/GStats.h"
5 
6 namespace RE
7 {
8  class GFxValue;
9  class GFxMovie;
10 
11  class GFxFunctionHandler : public GRefCountBase<GFxFunctionHandler, GStatGroups::kGStat_Default_Mem>
12  {
13  public:
14  inline static constexpr auto RTTI = RTTI_GFxFunctionHandler;
15  inline static constexpr auto VTABLE = VTABLE_GFxFunctionHandler;
16 
17  struct Params
18  {
19  GFxValue* const retVal; // 00
20  GFxMovie* const movie; // 08
21  GFxValue* const thisPtr; // 10
22  GFxValue* const argsWithThisRef; // 18
23  GFxValue* const args; // 20
24  const std::uint32_t argCount; // 28
25  const std::uint32_t pad2C; // 2C
26  void* const userData; // 30
27  };
28  static_assert(sizeof(Params) == 0x38);
29 
30  virtual ~GFxFunctionHandler() = default; // 00
31 
32  // add
33  virtual void Call(Params& a_params) = 0; // 01
34  };
35  static_assert(sizeof(GFxFunctionHandler) == 0x10);
36 }
Definition: GFxFunctionHandler.h:12
virtual ~GFxFunctionHandler()=default
virtual void Call(Params &a_params)=0
static constexpr auto RTTI
Definition: GFxFunctionHandler.h:14
static constexpr auto VTABLE
Definition: GFxFunctionHandler.h:15
Definition: GFxMovie.h:13
Definition: GFxValue.h:92
Definition: GRefCountBase.h:12
Definition: AbsorbEffect.h:6
constexpr REL::ID RTTI_GFxFunctionHandler(static_cast< std::uint64_t >(686410))
constexpr std::array< REL::ID, 1 > VTABLE_GFxFunctionHandler
Definition: Offsets_VTABLE.h:11695
Definition: GFxFunctionHandler.h:18
GFxMovie *const movie
Definition: GFxFunctionHandler.h:20
GFxValue *const args
Definition: GFxFunctionHandler.h:23
GFxValue *const thisPtr
Definition: GFxFunctionHandler.h:21
GFxValue *const argsWithThisRef
Definition: GFxFunctionHandler.h:22
void *const userData
Definition: GFxFunctionHandler.h:26
GFxValue *const retVal
Definition: GFxFunctionHandler.h:19
const std::uint32_t pad2C
Definition: GFxFunctionHandler.h:25
const std::uint32_t argCount
Definition: GFxFunctionHandler.h:24