CommonLibVR
AddCallbackVisitor.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "RE/F/FxDelegate.h"
5 
6 namespace RE
7 {
9  {
10  public:
11  inline static constexpr auto RTTI = RTTI_AddCallbackVisitor;
12  inline static constexpr auto VTABLE = VTABLE_AddCallbackVisitor;
13 
15  ~AddCallbackVisitor() override = default; // 00
16 
17  // override (FxDelegateHandler::CallbackProcessor)
18  void Process(const GString& a_methodName, FxDelegateHandler::CallbackFn* a_method) override; // 01
19 
20  // members
23  private:
24  KEEP_FOR_RE()
25  };
26  static_assert(sizeof(AddCallbackVisitor) == 0x18);
27 }
#define KEEP_FOR_RE()
Definition: PCH.h:713
Definition: AddCallbackVisitor.h:9
FxDelegate::CallbackHash * hash
Definition: AddCallbackVisitor.h:22
AddCallbackVisitor(FxDelegateHandler *a_handler, FxDelegate::CallbackHash *a_hash)
static constexpr auto VTABLE
Definition: AddCallbackVisitor.h:12
void Process(const GString &a_methodName, FxDelegateHandler::CallbackFn *a_method) override
~AddCallbackVisitor() override=default
static constexpr auto RTTI
Definition: AddCallbackVisitor.h:11
FxDelegateHandler * handler
Definition: AddCallbackVisitor.h:21
Definition: FxDelegateHandler.h:20
Definition: FxDelegateHandler.h:12
void(const FxDelegateArgs &a_params) CallbackFn
Definition: FxDelegateHandler.h:17
Definition: GString.h:8
Definition: AbsorbEffect.h:6
constexpr std::array< REL::ID, 1 > VTABLE_AddCallbackVisitor
Definition: Offsets_VTABLE.h:7390
constexpr REL::ID RTTI_AddCallbackVisitor(static_cast< std::uint64_t >(691073))