CommonLibSSE (powerof3)
ModelReferenceEffect.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "RE/B/BSFixedString.h"
4 #include "RE/B/BSTEvent.h"
5 #include "RE/N/NiSmartPointer.h"
7 #include "RE/R/ReferenceEffect.h"
9 
10 namespace RE
11 {
12  class BGSArtObject;
13  class NiAVObject;
14  struct BSAnimationGraphEvent;
15 
17  public ReferenceEffect, // 00
19  public BSTEventSink<BSAnimationGraphEvent> // 60
20  {
21  public:
22  inline static constexpr auto RTTI = RTTI_ModelReferenceEffect;
23  inline static constexpr auto Ni_RTTI = NiRTTI_ModelReferenceEffect;
24 
25  ~ModelReferenceEffect() override; // 00
26 
27  // override (ReferenceEffect)
28  const NiRTTI* GetRTTI() const override; // 02
29  bool Update(float a_arg1) override; // 28
30  NiAVObject* Get3D() const override; // 29 - { return unkC8; }
31  TEMP_EFFECT_TYPE GetType() const override; // 2C - { return 9; }
32  void SaveGame(BGSSaveGameBuffer* a_buf) override; // 2D
33  void LoadGame(BGSLoadGameBuffer* a_buf) override; // 2E
34  void Unk_36(void) override; // 36
35  void Unk_3A(void) override; // 3A
36  void UpdatePosition() override; // 3B
37  void Unk_3C(void) override; // 3C
38  void Unk_3D(void) override; // 3D - { return unkD0 & 1; }
39  void Unk_3E(void) override; // 3E
40 
41  // members
43  std::uint64_t unkB0; // B0
45  std::uint64_t unkC0; // C0
47  std::uint64_t unkD0; // D0
48  };
49  static_assert(sizeof(ModelReferenceEffect) == 0xD8);
50 }
Definition: BGSArtObject.h:12
Definition: BSTEvent.h:146
Definition: ModelReferenceEffect.h:20
void Unk_3D(void) override
BGSArtObject * artObject
Definition: ModelReferenceEffect.h:44
void UpdatePosition() override
void SaveGame(BGSSaveGameBuffer *a_buf) override
bool Update(float a_arg1) override
void Unk_3E(void) override
TEMP_EFFECT_TYPE GetType() const override
static constexpr auto Ni_RTTI
Definition: ModelReferenceEffect.h:23
NiAVObject * Get3D() const override
static constexpr auto RTTI
Definition: ModelReferenceEffect.h:22
std::uint64_t unkC0
Definition: ModelReferenceEffect.h:45
void LoadGame(BGSLoadGameBuffer *a_buf) override
std::uint64_t unkB0
Definition: ModelReferenceEffect.h:43
NiPointer< NiAVObject > artObject3D
Definition: ModelReferenceEffect.h:46
RefAttachTechniqueInput hitEffectArtData
Definition: ModelReferenceEffect.h:42
const NiRTTI * GetRTTI() const override
std::uint64_t unkD0
Definition: ModelReferenceEffect.h:47
void Unk_36(void) override
void Unk_3C(void) override
void Unk_3A(void) override
~ModelReferenceEffect() override
Definition: NiAVObject.h:45
Definition: NiSmartPointer.h:9
Definition: NiRTTI.h:6
Definition: RefAttachTechniqueInput.h:9
Definition: ReferenceEffect.h:11
Definition: SimpleAnimationGraphManagerHolder.h:11
Definition: AbsorbEffect.h:6
TEMP_EFFECT_TYPE
Definition: BSTempEffect.h:13
constexpr REL::ID RTTI_ModelReferenceEffect
Definition: Offsets_RTTI.h:5185
constexpr REL::ID NiRTTI_ModelReferenceEffect
Definition: Offsets_NiRTTI.h:137