CommonLibVR
Loading...
Searching...
No Matches
FxDelegateHandler.h
Go to the documentation of this file.
1#pragma once
2
4#include "RE/G/GStats.h"
5
6namespace RE
7{
8 class FxDelegateArgs;
9 class GString;
10
11 class FxDelegateHandler : public GRefCountBase<FxDelegateHandler, GStatGroups::kGStat_Default_Mem>
12 {
13 public:
14 inline static constexpr auto RTTI = RTTI_FxDelegateHandler;
15 inline static constexpr auto VTABLE = VTABLE_FxDelegateHandler;
16
17 using CallbackFn = void(const FxDelegateArgs& a_params);
18
20 {
21 public:
22 inline static constexpr auto RTTI = RTTI_FxDelegateHandler__CallbackProcessor;
24
25 virtual ~CallbackProcessor() = default; // 00
26
27 // add
28 virtual void Process(const GString& a_methodName, CallbackFn* a_method) = 0; // 01
29 };
30 static_assert(sizeof(CallbackProcessor) == 0x8);
31
32 ~FxDelegateHandler() override = default; // 00
33
34 // add
35 virtual void Accept(CallbackProcessor* a_cbReg) = 0; // 01
36 private:
38 };
39 static_assert(sizeof(FxDelegateHandler) == 0x10);
40}
#define KEEP_FOR_RE()
Definition PCH.h:517
Definition FxDelegateArgs.h:12
Definition FxDelegateHandler.h:20
static constexpr auto VTABLE
Definition FxDelegateHandler.h:23
static constexpr auto RTTI
Definition FxDelegateHandler.h:22
virtual void Process(const GString &a_methodName, CallbackFn *a_method)=0
Definition FxDelegateHandler.h:12
void(const FxDelegateArgs &a_params) CallbackFn
Definition FxDelegateHandler.h:17
virtual void Accept(CallbackProcessor *a_cbReg)=0
static constexpr auto VTABLE
Definition FxDelegateHandler.h:15
static constexpr auto RTTI
Definition FxDelegateHandler.h:14
~FxDelegateHandler() override=default
Definition GRefCountBase.h:12
Definition GString.h:8
Definition AbsorbEffect.h:6
constexpr REL::ID RTTI_FxDelegateHandler(static_cast< std::uint64_t >(686412))
constexpr std::array< REL::ID, 1 > VTABLE_FxDelegateHandler__CallbackProcessor
Definition Offsets_VTABLE.h:11679
constexpr REL::ID RTTI_FxDelegateHandler__CallbackProcessor(static_cast< std::uint64_t >(691072))
constexpr std::array< REL::ID, 1 > VTABLE_FxDelegateHandler
Definition Offsets_VTABLE.h:11678