CommonLibSSE NG
LightEffect.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "RE/A/ActiveEffect.h"
4 
5 namespace RE
6 {
7  class NiPointLight;
8 
9  class LightEffect : public ActiveEffect
10  {
11  public:
12  inline static constexpr auto RTTI = RTTI_LightEffect;
13  inline static constexpr auto VTABLE = VTABLE_LightEffect;
14 
15  // override (ActiveEffect)
16  void Update(float a_delta) override; // 04
17  void FinishLoadGame(BGSLoadFormBuffer* a_buf) override; // 0A
18  void Revert(BGSLoadFormBuffer* a_buf) override; // 0B
19  void SwitchAttachedRoot(NiNode* a_root, NiNode* a_attachRoot) override; // 0E
20 
21  ~LightEffect() override; // 13
22 
23  void Start() override; // 14
24  void Finish() override; // 15
25 
26  // members
28  };
29  static_assert(sizeof(LightEffect) == 0x98);
30 }
Definition: ActiveEffect.h:27
Definition: BGSLoadFormBuffer.h:11
Definition: LightEffect.h:10
void Revert(BGSLoadFormBuffer *a_buf) override
NiPointer< NiPointLight > light
Definition: LightEffect.h:27
void Finish() override
~LightEffect() override
void Start() override
void Update(float a_delta) override
static constexpr auto RTTI
Definition: LightEffect.h:12
void SwitchAttachedRoot(NiNode *a_root, NiNode *a_attachRoot) override
void FinishLoadGame(BGSLoadFormBuffer *a_buf) override
static constexpr auto VTABLE
Definition: LightEffect.h:13
Definition: NiNode.h:12
Definition: NiSmartPointer.h:9
Definition: AbsorbEffect.h:6
constexpr std::array< REL::VariantID, 1 > VTABLE_LightEffect
Definition: Offsets_VTABLE.h:1888
constexpr REL::VariantID RTTI_LightEffect(514044, 394344, 0x1eff048)