CommonLibVR
DisguiseEffect.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 DisguiseEffect :
8  public ActiveEffect // 00
9  {
10  public:
11  inline static constexpr auto RTTI = RTTI_DisguiseEffect;
12  inline static constexpr auto VTABLE = VTABLE_DisguiseEffect;
13 
14  enum class State
15  {
16  kInitiate = 0,
17  kWaiting,
18  kNormal,
19  kFail
20  };
21 
22  // override (ActiveEffect)
23  virtual void EvaluateConditions(float a_delta, bool a_forceUpdate) override; // 05
24  virtual void SaveGame(BGSSaveFormBuffer* a_buf) override; // 08
25  virtual void LoadGame(BGSLoadFormBuffer* a_buf) override; // 09
26  virtual void FinishLoadGame(BGSLoadFormBuffer* a_buf) override; // 0A
27  virtual ~DisguiseEffect(); // 13
28  virtual void Start() override; // 14
29  virtual void Finish() override; // 15
30 
31  // members
33  private:
34  KEEP_FOR_RE()
35  };
36  static_assert(sizeof(DisguiseEffect) == 0x98);
37 }
#define KEEP_FOR_RE()
Definition: PCH.h:713
Definition: ActiveEffect.h:27
Definition: BGSLoadFormBuffer.h:11
Definition: BGSSaveFormBuffer.h:8
Definition: DisguiseEffect.h:9
virtual void EvaluateConditions(float a_delta, bool a_forceUpdate) override
virtual void Start() override
static constexpr auto RTTI
Definition: DisguiseEffect.h:11
virtual void FinishLoadGame(BGSLoadFormBuffer *a_buf) override
virtual void Finish() override
DisguiseEffect::State state
Definition: DisguiseEffect.h:32
virtual ~DisguiseEffect()
virtual void LoadGame(BGSLoadFormBuffer *a_buf) override
virtual void SaveGame(BGSSaveFormBuffer *a_buf) override
static constexpr auto VTABLE
Definition: DisguiseEffect.h:12
State
Definition: DisguiseEffect.h:15
Definition: AbsorbEffect.h:6
constexpr REL::ID RTTI_DisguiseEffect(static_cast< std::uint64_t >(686498))
constexpr std::array< REL::ID, 1 > VTABLE_DisguiseEffect
Definition: Offsets_VTABLE.h:11455