CommonLibSSE (Parapets fork)
MissileProjectile.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "RE/F/FormTypes.h"
4 #include "RE/I/ImpactResults.h"
5 #include "RE/P/Projectile.h"
6 
7 namespace RE
8 {
10  {
11  public:
12  inline static constexpr auto RTTI = RTTI_MissileProjectile;
13  inline static constexpr auto FORMTYPE = FormType::ProjectileMissile;
14 
15  struct RecordFlags
16  {
17  enum RecordFlag : std::uint32_t
18  {
19  };
20  };
21 
22  ~MissileProjectile() override; // 00
23 
24  // override (Projectile)
25  void SaveGame(BGSSaveFormBuffer* a_buf) override; // 0E
26  void LoadGame(BGSLoadFormBuffer* a_buf) override; // 0F
27  void InitLoadGame(BGSLoadFormBuffer* a_buf) override; // 10
28  void FinishLoadGame(BGSLoadFormBuffer* a_buf) override; // 11
29  void Revert(BGSLoadFormBuffer* a_buf) override; // 12
30  void Unk_A2(void) override; // A2 - { return 1; }
31  void Unk_A9(void) override; // A9
32  void UpdateImpl(float a_delta) override; // AB
33  void Unk_AC(void) override; // AC
34  void Unk_B8(void) override; // B8 - { return unk1D8 == 1; }
35  void Unk_BD(void) override; // BD
36  void Handle3DLoaded() override; // C0
37 
38  // add
39  virtual void Unk_C2(void); // C2 - { return 0; }
40  virtual void Unk_C3(void); // C3 - { return 0; }
41 
42  // members
44  bool waitingToInitialize3D; // 1DC
45  std::uint8_t unk1DD; // 1DD
46  std::uint16_t unk1DE; // 1DE
47  };
48 #if !defined(SKYRIMVR) && !defined(SKYRIMSE_PRE_1_6_629)
49  static_assert(sizeof(MissileProjectile) == 0x1E8);
50 #else
51  static_assert(sizeof(MissileProjectile) == 0x1E0);
52 #endif
53 }
Definition: MissileProjectile.h:10
void Unk_A9(void) override
void Unk_B8(void) override
bool waitingToInitialize3D
Definition: MissileProjectile.h:44
void SaveGame(BGSSaveFormBuffer *a_buf) override
void Unk_AC(void) override
void Unk_A2(void) override
void FinishLoadGame(BGSLoadFormBuffer *a_buf) override
void LoadGame(BGSLoadFormBuffer *a_buf) override
void InitLoadGame(BGSLoadFormBuffer *a_buf) override
virtual void Unk_C2(void)
virtual void Unk_C3(void)
static constexpr auto RTTI
Definition: MissileProjectile.h:12
ImpactResult impactResult
Definition: MissileProjectile.h:43
void UpdateImpl(float a_delta) override
void Unk_BD(void) override
std::uint8_t unk1DD
Definition: MissileProjectile.h:45
std::uint16_t unk1DE
Definition: MissileProjectile.h:46
void Revert(BGSLoadFormBuffer *a_buf) override
static constexpr auto FORMTYPE
Definition: MissileProjectile.h:13
void Handle3DLoaded() override
~MissileProjectile() override
Definition: Projectile.h:23
Definition: AbsorbEffect.h:6
constexpr REL::ID RTTI_MissileProjectile
Definition: Offsets_RTTI.h:5164
ImpactResult
Definition: ImpactResults.h:6
Definition: MissileProjectile.h:16
RecordFlag
Definition: MissileProjectile.h:18