CommonLibSSE (powerof3)
ConeProjectile.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "RE/B/BSTArray.h"
4 #include "RE/F/FormTypes.h"
5 #include "RE/H/hkRefPtr.h"
6 #include "RE/I/ImpactResults.h"
7 #include "RE/N/NiPoint3.h"
8 #include "RE/P/Projectile.h"
9 
10 namespace RE
11 {
12  class hkpSphereShape;
13 
14  class ConeProjectile : public Projectile
15  {
16  public:
17  inline static constexpr auto RTTI = RTTI_ConeProjectile;
18  inline static constexpr auto FORMTYPE = FormType::ProjectileCone;
19 
20  struct RecordFlags
21  {
22  enum RecordFlag : std::uint32_t
23  {
24  };
25  };
26 
27  ~ConeProjectile() override; // 00
28 
29  // override (Projectile)
30  void SaveGame(BGSSaveFormBuffer* a_buf) override; // 0E
31  void LoadGame(BGSLoadFormBuffer* a_buf) override; // 0F
32  void InitLoadGame(BGSLoadFormBuffer* a_buf) override; // 10
33  void FinishLoadGame(BGSLoadFormBuffer* a_buf) override; // 11
34  void Revert(BGSLoadFormBuffer* a_buf) override; // 12
35  void Unk_A9(void) override; // A9
36  void UpdateImpl(float a_delta) override; // AB
37  void Unk_AC(void) override; // AC
38  void Unk_B8(void) override; // B8 - { return 0; }
39  void Unk_BC(void) override; // BC
40  void Unk_BD(void) override; // BD
41  void Unk_BE(void) override; // BE
42  void Handle3DLoaded() override; // C0
43 
44  // add
45  virtual void Unk_C2(void); // C2 - { return 1; }
46 
47  // members
49  float environmentTimer; // 1DC
50  float coneAngleTangent; // 1E0
52  NiPoint3 origin; // 1E8
53  std::uint32_t pad1F4; // 1F4
56  };
57  static_assert(sizeof(ConeProjectile) == 0x220);
58 }
Definition: ConeProjectile.h:15
void Unk_BD(void) override
void Handle3DLoaded() override
hkRefPtr< hkpSphereShape > collisionShape
Definition: ConeProjectile.h:54
void Unk_BE(void) override
float initialCollisionSphereRadius
Definition: ConeProjectile.h:51
void UpdateImpl(float a_delta) override
NiPoint3 origin
Definition: ConeProjectile.h:52
void Unk_BC(void) override
void Unk_A9(void) override
virtual void Unk_C2(void)
std::uint32_t pad1F4
Definition: ConeProjectile.h:53
void Revert(BGSLoadFormBuffer *a_buf) override
ImpactResult impactResult
Definition: ConeProjectile.h:48
float environmentTimer
Definition: ConeProjectile.h:49
void Unk_B8(void) override
static constexpr auto FORMTYPE
Definition: ConeProjectile.h:18
void LoadGame(BGSLoadFormBuffer *a_buf) override
void SaveGame(BGSSaveFormBuffer *a_buf) override
BSTArray< void * > collisions
Definition: ConeProjectile.h:55
static constexpr auto RTTI
Definition: ConeProjectile.h:17
void InitLoadGame(BGSLoadFormBuffer *a_buf) override
~ConeProjectile() override
void FinishLoadGame(BGSLoadFormBuffer *a_buf) override
void Unk_AC(void) override
float coneAngleTangent
Definition: ConeProjectile.h:50
Definition: NiPoint3.h:6
Definition: Projectile.h:19
Definition: AbsorbEffect.h:6
ImpactResult
Definition: ImpactResults.h:6
constexpr REL::ID RTTI_ConeProjectile
Definition: Offsets_RTTI.h:4536
Definition: ConeProjectile.h:21
RecordFlag
Definition: ConeProjectile.h:23