CommonLibSSE (Parapets fork)
ReferenceEffect.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "RE/B/BSPointerHandle.h"
4 #include "RE/B/BSTempEffect.h"
5 
6 namespace RE
7 {
8  class ReferenceEffectController;
9 
11  {
12  public:
13  inline static constexpr auto RTTI = RTTI_ReferenceEffect;
14  inline static constexpr auto Ni_RTTI = NiRTTI_ReferenceEffect;
15 
16  ~ReferenceEffect() override; // 00
17 
18  // override (BSTempEffect)
19  const NiRTTI* GetRTTI() const override; // 02
20  void Detach() override; // 27
21  bool Update(float a_arg1) override; // 28
22  bool GetManagerHandlesSaveLoad() const override; // 2A
23  bool GetClearWhenCellIsUnloaded() const override; // 2B
24  TEMP_EFFECT_TYPE GetType() const override; // 2C - { return 8; }
25  void SaveGame(BGSSaveGameBuffer* a_buf) override; // 2D
26  void LoadGame(BGSLoadGameBuffer* a_buf) override; // 2E
27  void FinishLoadGame(BGSLoadGameBuffer* a_buf) override; // 2F
28 
29  // add
30  virtual void Unk_36(void); // 36 - { return 0; }
31  virtual void Unk_37(void); // 37 - { return; }
32  virtual void Unk_38(void); // 38 - { return; }
33  virtual void Unk_39(void); // 39
34  virtual void Unk_3A(void); // 3A
35  virtual void UpdatePosition(); // 3B - { return; }
36  virtual void Unk_3C(void); // 3C
37  virtual void Unk_3D(void); // 3D - { return 1; }
38  virtual void Unk_3E(void); // 3E - { return; }
39 
40  // members
44  bool finished; // 40
45  bool ownController; // 41
46  std::uint16_t pad42; // 42
47  std::uint32_t pad44; // 44
48  };
49  static_assert(sizeof(ReferenceEffect) == 0x48);
50 }
Definition: BSTempEffect.h:29
Definition: NiRTTI.h:6
Definition: ReferenceEffectController.h:17
Definition: ReferenceEffect.h:11
void SaveGame(BGSSaveGameBuffer *a_buf) override
const NiRTTI * GetRTTI() const override
ReferenceEffectController * controller
Definition: ReferenceEffect.h:41
virtual void Unk_3D(void)
bool ownController
Definition: ReferenceEffect.h:45
void Detach() override
virtual void Unk_38(void)
ObjectRefHandle target
Definition: ReferenceEffect.h:42
bool finished
Definition: ReferenceEffect.h:44
~ReferenceEffect() override
static constexpr auto RTTI
Definition: ReferenceEffect.h:13
bool Update(float a_arg1) override
ObjectRefHandle aimAtTarget
Definition: ReferenceEffect.h:43
bool GetManagerHandlesSaveLoad() const override
virtual void Unk_36(void)
bool GetClearWhenCellIsUnloaded() const override
void FinishLoadGame(BGSLoadGameBuffer *a_buf) override
virtual void Unk_37(void)
virtual void Unk_39(void)
virtual void Unk_3A(void)
static constexpr auto Ni_RTTI
Definition: ReferenceEffect.h:14
std::uint32_t pad44
Definition: ReferenceEffect.h:47
virtual void UpdatePosition()
TEMP_EFFECT_TYPE GetType() const override
virtual void Unk_3E(void)
std::uint16_t pad42
Definition: ReferenceEffect.h:46
virtual void Unk_3C(void)
void LoadGame(BGSLoadGameBuffer *a_buf) override
Definition: AbsorbEffect.h:6
TEMP_EFFECT_TYPE
Definition: BSTempEffect.h:13
constexpr REL::ID RTTI_ReferenceEffect
Definition: Offsets_RTTI.h:5771
constexpr REL::ID NiRTTI_ReferenceEffect
Definition: Offsets_NiRTTI.h:321