CommonLibSSE NG
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 
16  struct Params
17  {
18  GFxValue* const retVal; // 00
19  GFxMovie* const movie; // 08
20  GFxValue* const thisPtr; // 10
21  GFxValue* const argsWithThisRef; // 18
22  GFxValue* const args; // 20
23  const std::uint32_t argCount; // 28
24  const std::uint32_t pad2C; // 2C
25  void* const userData; // 30
26  };
27  static_assert(sizeof(Params) == 0x38);
28 
29  virtual ~GFxFunctionHandler() = default; // 00
30 
31  // add
32  virtual void Call(Params& a_params) = 0; // 01
33  };
34  static_assert(sizeof(GFxFunctionHandler) == 0x10);
35 }
Definition: GFxFunctionHandler.h:12
virtual ~GFxFunctionHandler()=default
virtual void Call(Params &a_params)=0
static constexpr auto RTTI
Definition: GFxFunctionHandler.h:14
Definition: GFxMovie.h:13
Definition: GFxValue.h:92
Definition: GRefCountBase.h:12
Definition: AbsorbEffect.h:6
constexpr REL::VariantID RTTI_GFxFunctionHandler(686410, 394230, 0x1efd768)
Definition: GFxFunctionHandler.h:17
GFxMovie *const movie
Definition: GFxFunctionHandler.h:19
GFxValue *const args
Definition: GFxFunctionHandler.h:22
GFxValue *const thisPtr
Definition: GFxFunctionHandler.h:20
GFxValue *const argsWithThisRef
Definition: GFxFunctionHandler.h:21
void *const userData
Definition: GFxFunctionHandler.h:25
GFxValue *const retVal
Definition: GFxFunctionHandler.h:18
const std::uint32_t pad2C
Definition: GFxFunctionHandler.h:24
const std::uint32_t argCount
Definition: GFxFunctionHandler.h:23