CommonLibSSE (powerof3)
FlameProjectile.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "RE/F/FormTypes.h"
4 #include "RE/P/Projectile.h"
5 
6 namespace RE
7 {
8  class FlameProjectile : public Projectile
9  {
10  public:
11  inline static constexpr auto RTTI = RTTI_FlameProjectile;
12  inline static constexpr auto FORMTYPE = FormType::ProjectileFlame;
13 
14  struct RecordFlags
15  {
16  enum RecordFlag : std::uint32_t
17  {
18  };
19  };
20 
21  ~FlameProjectile() override; // 00
22 
23  // override (Projectile)
24  void SaveGame(BGSSaveFormBuffer* a_buf) override; // 0E
25  void LoadGame(BGSLoadFormBuffer* a_buf) override; // 0F
26  void InitLoadGame(BGSLoadFormBuffer* a_buf) override; // 10
27  void FinishLoadGame(BGSLoadFormBuffer* a_buf) override; // 11
28  void Revert(BGSLoadFormBuffer* a_buf) override; // 12
29  void Unk_A4(void) override; // A4 - { return 1; }
30  void Unk_A9(void) override; // A9
31  void UpdateImpl(float a_delta) override; // AB
32  void Unk_B7(void) override; // B7
33  void Unk_BD(void) override; // BD
34  void Handle3DLoaded() override; // C0 - { flags = flags & 0xFFFFFFCC | 8; }
35  void Unk_C1(void) override; // C1
36 
37  // members
38  float expirationTimer; // 1D8
39  float coneAngle; // 1DC
40  };
41  static_assert(sizeof(FlameProjectile) == 0x1E8);
42 }
Definition: FlameProjectile.h:9
static constexpr auto FORMTYPE
Definition: FlameProjectile.h:12
~FlameProjectile() override
void Revert(BGSLoadFormBuffer *a_buf) override
void FinishLoadGame(BGSLoadFormBuffer *a_buf) override
static constexpr auto RTTI
Definition: FlameProjectile.h:11
void Unk_BD(void) override
float coneAngle
Definition: FlameProjectile.h:39
void UpdateImpl(float a_delta) override
float expirationTimer
Definition: FlameProjectile.h:38
void Unk_A4(void) override
void Unk_B7(void) override
void Unk_A9(void) override
void Handle3DLoaded() override
void LoadGame(BGSLoadFormBuffer *a_buf) override
void Unk_C1(void) override
void InitLoadGame(BGSLoadFormBuffer *a_buf) override
void SaveGame(BGSSaveFormBuffer *a_buf) override
Definition: Projectile.h:19
Definition: AbsorbEffect.h:6
constexpr REL::ID RTTI_FlameProjectile
Definition: Offsets_RTTI.h:4802
Definition: FlameProjectile.h:15
RecordFlag
Definition: FlameProjectile.h:17