CommonLibSSE (Parapets fork)
BarrierProjectile.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "RE/B/BSPointerHandle.h"
4 #include "RE/F/FormTypes.h"
5 #include "RE/P/Projectile.h"
6 
7 namespace RE
8 {
10  {
11  public:
12  inline static constexpr auto RTTI = RTTI_BarrierProjectile;
13  inline static constexpr auto FORMTYPE = FormType::ProjectileBarrier;
14 
15  struct RecordFlags
16  {
17  enum RecordFlag : std::uint32_t
18  {
19  };
20  };
21 
23  {
25  std::uint32_t count; // 4
26  };
27  static_assert(sizeof(CollisionData) == 0x8);
28 
29  ~BarrierProjectile() override; // 00
30 
31  // override (Projectile)
32  void SaveGame(BGSSaveFormBuffer* a_buf) override; // 0E
33  void LoadGame(BGSLoadFormBuffer* a_buf) override; // 0F
34  void InitLoadGame(BGSLoadFormBuffer* a_buf) override; // 10
35  void FinishLoadGame(BGSLoadFormBuffer* a_buf) override; // 11
36  void Revert(BGSLoadFormBuffer* a_buf) override; // 12
37  void InitHavok() override; // 66
38  NiAVObject* Load3D(bool a_backgroundLoading) override; // 6A
39  void Unk_A7(void) override; // A7 - { return 1; }
40  void UpdateImpl(float a_delta) override; // AB
41  void Unk_AC(void) override; // AC
42  void Unk_B8(void) override; // B8 - { return 0; }
43 
44  // members
45  float width; // 1D8
46  std::uint32_t pad1DC; // 1DC
48  };
49 #if !defined(SKYRIMVR) && !defined(SKYRIMSE_PRE_1_6_629)
50  static_assert(sizeof(BarrierProjectile) == 0x200);
51 #else
52  static_assert(sizeof(BarrierProjectile) == 0x1F8);
53 #endif
54 }
Definition: BSTArray.h:377
Definition: BarrierProjectile.h:10
void Revert(BGSLoadFormBuffer *a_buf) override
void InitHavok() override
void Unk_A7(void) override
void Unk_B8(void) override
void FinishLoadGame(BGSLoadFormBuffer *a_buf) override
static constexpr auto RTTI
Definition: BarrierProjectile.h:12
void LoadGame(BGSLoadFormBuffer *a_buf) override
NiAVObject * Load3D(bool a_backgroundLoading) override
void Unk_AC(void) override
static constexpr auto FORMTYPE
Definition: BarrierProjectile.h:13
void SaveGame(BGSSaveFormBuffer *a_buf) override
std::uint32_t pad1DC
Definition: BarrierProjectile.h:46
~BarrierProjectile() override
void UpdateImpl(float a_delta) override
float width
Definition: BarrierProjectile.h:45
void InitLoadGame(BGSLoadFormBuffer *a_buf) override
BSTArray< CollisionData > collisionData
Definition: BarrierProjectile.h:47
Definition: NiAVObject.h:45
Definition: Projectile.h:23
Definition: AbsorbEffect.h:6
constexpr REL::ID RTTI_BarrierProjectile
Definition: Offsets_RTTI.h:3676
Definition: BarrierProjectile.h:23
ObjectRefHandle ref
Definition: BarrierProjectile.h:24
std::uint32_t count
Definition: BarrierProjectile.h:25
Definition: BarrierProjectile.h:16
RecordFlag
Definition: BarrierProjectile.h:18