CommonLibSSE (powerof3)
ImageSpaceModifierInstanceForm.h
Go to the documentation of this file.
1 #pragma once
2 
4 
5 namespace RE
6 {
7  class TESImageSpaceModifier;
8 
10  {
11  public:
12  inline static constexpr auto RTTI = RTTI_ImageSpaceModifierInstanceForm;
13  inline static constexpr auto VTABLE = VTABLE_ImageSpaceModifierInstanceForm;
14 
16 
17  // override (ImageSpaceModifierInstance)
18  bool Unk_25(void) override; // 25
19  void Apply() override; // 26
21  void PrintInfo(char* a_dstBuf) override; // 28
22 
23  static ImageSpaceModifierInstanceForm* Trigger(TESImageSpaceModifier* a_imod, float a_strength, NiAVObject* a_target)
24  {
25  using func_t = decltype(&ImageSpaceModifierInstanceForm::Trigger);
26  static REL::Relocation<func_t> func{ RELOCATION_ID(18185, 18570) };
27  return func(a_imod, a_strength, a_target);
28  }
29 
30  static void Stop(TESImageSpaceModifier* a_imod)
31  {
32  using func_t = decltype(&ImageSpaceModifierInstanceForm::Stop);
33  static REL::Relocation<func_t> func{ RELOCATION_ID(18188, 18573) };
34  return func(a_imod);
35  }
36 
37  static void StopCrossFade(float a_seconds)
38  {
39  using func_t = decltype(&ImageSpaceModifierInstanceForm::StopCrossFade);
40  static REL::Relocation<func_t> func{ RELOCATION_ID(18192, 18577) };
41  return func(a_seconds);
42  }
43 
44  // members
46  std::uint64_t unk30; // 30
47  float unk38; // 38
48  std::uint32_t unk3C; // 3C
49  std::uint64_t unk40; // 40
50  std::uint32_t unk48; // 48
51  };
52  static_assert(sizeof(ImageSpaceModifierInstanceForm) == 0x50);
53 }
#define RELOCATION_ID(SE, AE)
Definition: PCH.h:505
Definition: Relocation.h:210
Definition: ImageSpaceModifierInstanceForm.h:10
static ImageSpaceModifierInstanceForm * Trigger(TESImageSpaceModifier *a_imod, float a_strength, NiAVObject *a_target)
Definition: ImageSpaceModifierInstanceForm.h:23
static void Stop(TESImageSpaceModifier *a_imod)
Definition: ImageSpaceModifierInstanceForm.h:30
TESImageSpaceModifier * imod
Definition: ImageSpaceModifierInstanceForm.h:45
void PrintInfo(char *a_dstBuf) override
static constexpr auto VTABLE
Definition: ImageSpaceModifierInstanceForm.h:13
std::uint64_t unk40
Definition: ImageSpaceModifierInstanceForm.h:49
std::uint32_t unk48
Definition: ImageSpaceModifierInstanceForm.h:50
ImageSpaceModifierInstanceForm * IsForm() override
static constexpr auto RTTI
Definition: ImageSpaceModifierInstanceForm.h:12
static void StopCrossFade(float a_seconds)
Definition: ImageSpaceModifierInstanceForm.h:37
std::uint32_t unk3C
Definition: ImageSpaceModifierInstanceForm.h:48
float unk38
Definition: ImageSpaceModifierInstanceForm.h:47
std::uint64_t unk30
Definition: ImageSpaceModifierInstanceForm.h:46
Definition: ImageSpaceModifierInstance.h:12
Definition: NiAVObject.h:51
Definition: TESImageSpaceModifier.h:111
Definition: AbsorbEffect.h:6
constexpr std::array< REL::ID, 1 > VTABLE_ImageSpaceModifierInstanceForm
Definition: Offsets_VTABLE.h:11907
constexpr REL::ID RTTI_ImageSpaceModifierInstanceForm(static_cast< std::uint64_t >(685116))