CommonLibSSE NG
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 
15 
16  // override (ImageSpaceModifierInstance)
17  bool Unk_25(void) override; // 25
18  void Apply() override; // 26
20  void PrintInfo(char* a_dstBuf) override; // 28
21 
22  static ImageSpaceModifierInstanceForm* Trigger(TESImageSpaceModifier* a_imod, float a_strength, NiAVObject* a_target)
23  {
24  using func_t = decltype(&ImageSpaceModifierInstanceForm::Trigger);
25  REL::Relocation<func_t> func{ RELOCATION_ID(18185, 18570) };
26  return func(a_imod, a_strength, a_target);
27  }
28 
29  static void Stop(TESImageSpaceModifier* a_imod)
30  {
31  using func_t = decltype(&ImageSpaceModifierInstanceForm::Stop);
32  REL::Relocation<func_t> func{ RELOCATION_ID(18188, 18573) };
33  return func(a_imod);
34  }
35 
36  static void StopCrossFade(float a_seconds)
37  {
38  using func_t = decltype(&ImageSpaceModifierInstanceForm::StopCrossFade);
39  REL::Relocation<func_t> func{ RELOCATION_ID(18192, 18577) };
40  return func(a_seconds);
41  }
42 
43  // members
45  std::uint64_t unk30; // 30
46  float unk38; // 38
47  std::uint32_t unk3C; // 3C
48  std::uint64_t unk40; // 40
49  std::uint32_t unk48; // 48
50  };
51  static_assert(sizeof(ImageSpaceModifierInstanceForm) == 0x50);
52 }
#define RELOCATION_ID(a_se, a_ae)
Definition: PCH.h:724
Definition: Relocation.h:204
Definition: ImageSpaceModifierInstanceForm.h:10
static ImageSpaceModifierInstanceForm * Trigger(TESImageSpaceModifier *a_imod, float a_strength, NiAVObject *a_target)
Definition: ImageSpaceModifierInstanceForm.h:22
static void Stop(TESImageSpaceModifier *a_imod)
Definition: ImageSpaceModifierInstanceForm.h:29
TESImageSpaceModifier * imod
Definition: ImageSpaceModifierInstanceForm.h:44
void PrintInfo(char *a_dstBuf) override
std::uint64_t unk40
Definition: ImageSpaceModifierInstanceForm.h:48
std::uint32_t unk48
Definition: ImageSpaceModifierInstanceForm.h:49
ImageSpaceModifierInstanceForm * IsForm() override
static constexpr auto RTTI
Definition: ImageSpaceModifierInstanceForm.h:12
static void StopCrossFade(float a_seconds)
Definition: ImageSpaceModifierInstanceForm.h:36
std::uint32_t unk3C
Definition: ImageSpaceModifierInstanceForm.h:47
float unk38
Definition: ImageSpaceModifierInstanceForm.h:46
std::uint64_t unk30
Definition: ImageSpaceModifierInstanceForm.h:45
Definition: ImageSpaceModifierInstance.h:12
Definition: NiAVObject.h:50
Definition: TESImageSpaceModifier.h:111
Definition: AbsorbEffect.h:6
constexpr REL::VariantID RTTI_ImageSpaceModifierInstanceForm(685116, 392876, 0x1edfd40)