CommonLibSSE (powerof3)
ScriptEffect.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 Script;
8  class ScriptLocals;
9 
10  class ScriptEffect :
11  public ActiveEffect // 00
12  {
13  public:
14  inline static constexpr auto RTTI = RTTI_ScriptEffect;
15  inline static constexpr auto VTABLE = VTABLE_ScriptEffect;
16 
17  // override (ActiveEffect)
18  virtual void Update(float a_delta) override; // 04
19  virtual void SaveGame(BGSSaveFormBuffer* a_buf) override; // 08
20  virtual void LoadGame(BGSLoadFormBuffer* a_buf) override; // 09
21  virtual void ClearTargetImpl() override; // 12
22  virtual ~ScriptEffect(); // 13
23  virtual void Start() override; // 14
24  virtual void Finish() override; // 15
25 
26  // members
27  Script* script; // 90
29  };
30  static_assert(sizeof(ScriptEffect) == 0xA0);
31 }
Definition: ActiveEffect.h:27
Definition: BGSLoadFormBuffer.h:11
Definition: BGSSaveFormBuffer.h:8
Definition: ScriptEffect.h:12
virtual void SaveGame(BGSSaveFormBuffer *a_buf) override
virtual void LoadGame(BGSLoadFormBuffer *a_buf) override
Script * script
Definition: ScriptEffect.h:27
static constexpr auto RTTI
Definition: ScriptEffect.h:14
virtual void Update(float a_delta) override
virtual void Finish() override
virtual void Start() override
virtual void ClearTargetImpl() override
virtual ~ScriptEffect()
static constexpr auto VTABLE
Definition: ScriptEffect.h:15
ScriptLocals * effectLocals
Definition: ScriptEffect.h:28
Definition: CommandTable.h:188
Definition: Script.h:23
Definition: AbsorbEffect.h:6
constexpr REL::ID RTTI_ScriptEffect(static_cast< std::uint64_t >(686546))
constexpr std::array< REL::ID, 1 > VTABLE_ScriptEffect
Definition: Offsets_VTABLE.h:12629