CommonLibSSE NG
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 auto Ni_RTTI = NiRTTI_BSTempEffectSPG;
16  inline static constexpr auto TYPE = TEMP_EFFECT_TYPE::kSPG;
17 
18  ~BSTempEffectSPG() override; // 00
19 
20  // override (BSTempEffect)
21  const NiRTTI* GetRTTI() const override; // 02
22  void Detach() override; // 27
23  bool Update(float a_arg1) override; // 28
24  TEMP_EFFECT_TYPE GetType() const override; // 2C - { return kSPG; }
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  // members;
32  float unk40; // 40
33  float unk44; // 40
34  bool unk48; // 45
35  std::uint8_t pad49; // 49
36  std::uint16_t pad4A; // 4A
37  std::uint32_t pad4C; // 4C
38  };
39  static_assert(sizeof(BSTempEffectSPG) == 0x50);
40 }
Definition: BGSLoadGameBuffer.h:6
Definition: BGSSaveGameBuffer.h:10
Definition: BGSShaderParticleGeometryData.h:18
Definition: BSTempEffectSPG.h:12
void LoadGame(BGSLoadGameBuffer *a_buf) override
static auto Ni_RTTI
Definition: BSTempEffectSPG.h:15
void Detach() override
BGSShaderParticleGeometryData * data
Definition: BSTempEffectSPG.h:30
bool Update(float a_arg1) override
static constexpr auto RTTI
Definition: BSTempEffectSPG.h:14
~BSTempEffectSPG() override
float unk44
Definition: BSTempEffectSPG.h:33
float unk40
Definition: BSTempEffectSPG.h:32
void FinishLoadGame(BGSLoadGameBuffer *a_buf) override
TEMP_EFFECT_TYPE GetType() const override
NiPointer< NiAVObject > spg3D
Definition: BSTempEffectSPG.h:31
static constexpr auto TYPE
Definition: BSTempEffectSPG.h:16
std::uint8_t pad49
Definition: BSTempEffectSPG.h:35
bool unk48
Definition: BSTempEffectSPG.h:34
std::uint16_t pad4A
Definition: BSTempEffectSPG.h:36
const NiRTTI * GetRTTI() const override
std::uint32_t pad4C
Definition: BSTempEffectSPG.h:37
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 REL::VariantID NiRTTI_BSTempEffectSPG(515940, 402037, 0x2fd24a8)
constexpr REL::VariantID RTTI_BSTempEffectSPG(686057, 393866, 0x1ef5248)