CommonLibVR
BSTempEffectSPG.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "RE/B/BSTempEffect.h"
4 #include "RE/N/NiSmartPointer.h"
5 
6 namespace RE
7 {
8  class BGSShaderParticleGeometryData;
9  class NiAVObject;
10 
12  {
13  public:
14  inline static constexpr auto RTTI = RTTI_BSTempEffectSPG;
15  inline static constexpr auto Ni_RTTI = NiRTTI_BSTempEffectSPG;
16  inline static constexpr auto VTABLE = VTABLE_BSTempEffectSPG;
17  inline static constexpr auto TYPE = TEMP_EFFECT_TYPE::kSPG;
18 
19  ~BSTempEffectSPG() override; // 00
20 
21  // override (BSTempEffect)
22  const NiRTTI* GetRTTI() const override; // 02
23  void Detach() override; // 27
24  bool Update(float a_arg1) override; // 28
25  TEMP_EFFECT_TYPE GetType() const override; // 2C - { return kSPG; }
26  void SaveGame(BGSSaveGameBuffer* a_buf) override; // 2D
27  void LoadGame(BGSLoadGameBuffer* a_buf) override; // 2E
28  void FinishLoadGame(BGSLoadGameBuffer* a_buf) override; // 2F
29 
30  // members;
33  float unk40; // 40
34  float unk44; // 40
35  bool unk48; // 45
36  std::uint8_t pad49; // 49
37  std::uint16_t pad4A; // 4A
38  std::uint32_t pad4C; // 4C
39  private:
40  KEEP_FOR_RE()
41  };
42  static_assert(sizeof(BSTempEffectSPG) == 0x50);
43 }
#define KEEP_FOR_RE()
Definition: PCH.h:713
Definition: BGSLoadGameBuffer.h:6
Definition: BGSSaveGameBuffer.h:10
Definition: BGSShaderParticleGeometryData.h:18
Definition: BSTempEffectSPG.h:12
void LoadGame(BGSLoadGameBuffer *a_buf) override
void Detach() override
BGSShaderParticleGeometryData * data
Definition: BSTempEffectSPG.h:31
bool Update(float a_arg1) override
static constexpr auto RTTI
Definition: BSTempEffectSPG.h:14
~BSTempEffectSPG() override
float unk44
Definition: BSTempEffectSPG.h:34
float unk40
Definition: BSTempEffectSPG.h:33
void FinishLoadGame(BGSLoadGameBuffer *a_buf) override
TEMP_EFFECT_TYPE GetType() const override
NiPointer< NiAVObject > spg3D
Definition: BSTempEffectSPG.h:32
static constexpr auto TYPE
Definition: BSTempEffectSPG.h:17
std::uint8_t pad49
Definition: BSTempEffectSPG.h:36
static constexpr auto Ni_RTTI
Definition: BSTempEffectSPG.h:15
bool unk48
Definition: BSTempEffectSPG.h:35
static constexpr auto VTABLE
Definition: BSTempEffectSPG.h:16
std::uint16_t pad4A
Definition: BSTempEffectSPG.h:37
const NiRTTI * GetRTTI() const override
std::uint32_t pad4C
Definition: BSTempEffectSPG.h:38
void SaveGame(BGSSaveGameBuffer *a_buf) override
Definition: BSTempEffect.h:29
Definition: NiSmartPointer.h:9
Definition: NiRTTI.h:6
Definition: AbsorbEffect.h:6
TEMP_EFFECT_TYPE
Definition: BSTempEffect.h:13
constexpr std::array< REL::ID, 1 > VTABLE_BSTempEffectSPG
Definition: Offsets_VTABLE.h:10542
constexpr REL::ID NiRTTI_BSTempEffectSPG(static_cast< std::uint64_t >(515940))
constexpr REL::ID RTTI_BSTempEffectSPG(static_cast< std::uint64_t >(686057))