CommonLibSSE (Parapets fork)
Loading...
Searching...
No Matches
GrenadeProjectile.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
6namespace RE
7{
8 struct BGSDecalGroup;
9
11 {
12 public:
13 inline static constexpr auto RTTI = RTTI_GrenadeProjectile;
14 inline static constexpr auto FORMTYPE = FormType::ProjectileGrenade;
15
17 {
18 enum RecordFlag : std::uint32_t
19 {
20 };
21 };
22
23 ~GrenadeProjectile() override; // 00
24
25 // override (Projectile)
26 void SaveGame(BGSSaveFormBuffer* a_buf) override; // 0E
27 void LoadGame(BGSLoadFormBuffer* a_buf) override; // 0F
28 void InitLoadGame(BGSLoadFormBuffer* a_buf) override; // 10
29 void FinishLoadGame(BGSLoadFormBuffer* a_buf) override; // 11
30 void Revert(BGSLoadFormBuffer* a_buf) override; // 12
31 BGSDecalGroup* GetDecalGroup() const override; // 9F - { return decalGroup; }
32 void Unk_A3(void) override; // A3 - { return 1; }
33 void Unk_A8(void) override; // A8
34 void Unk_A9(void) override; // A9
35 void UpdateImpl(float a_delta) override; // AB
36 void Unk_AE(void) override; // AE
37 void Unk_B2(void) override; // B2
38 void Unk_B3(void) override; // B3
39 bool IsNotGeneratedForm() const override; // B4
40 void Unk_BA(void) override; // BA - { return 1; }
41 void Unk_BB(void) override; // BB
42 void Unk_BD(void) override; // BD
43 void Unk_BF(void) override; // BF - { flags |= 1 << 30; }
44 void Handle3DLoaded() override; // C0
45
46 // members
49 std::uint8_t pad1E1; // 1E1
50 std::uint16_t pad1E2; // 1E2
51 std::uint32_t pad1E4; // 1E4
52 };
53#if !defined(SKYRIMVR) && !defined(SKYRIMSE_PRE_1_6_629)
54 static_assert(sizeof(GrenadeProjectile) == 0x1F0);
55#else
56 static_assert(sizeof(GrenadeProjectile) == 0x1E8);
57#endif
58}
Definition: GrenadeProjectile.h:11
void SaveGame(BGSSaveFormBuffer *a_buf) override
std::uint16_t pad1E2
Definition: GrenadeProjectile.h:50
void InitLoadGame(BGSLoadFormBuffer *a_buf) override
void Unk_B3(void) override
void LoadGame(BGSLoadFormBuffer *a_buf) override
void Unk_BD(void) override
void Unk_BA(void) override
~GrenadeProjectile() override
bool collisionGroupReset
Definition: GrenadeProjectile.h:48
BGSDecalGroup * GetDecalGroup() const override
BGSDecalGroup * decalGroup
Definition: GrenadeProjectile.h:47
std::uint32_t pad1E4
Definition: GrenadeProjectile.h:51
void Unk_A8(void) override
void UpdateImpl(float a_delta) override
void Unk_A9(void) override
void Unk_BF(void) override
static constexpr auto RTTI
Definition: GrenadeProjectile.h:13
void FinishLoadGame(BGSLoadFormBuffer *a_buf) override
void Revert(BGSLoadFormBuffer *a_buf) override
std::uint8_t pad1E1
Definition: GrenadeProjectile.h:49
void Unk_AE(void) override
void Unk_B2(void) override
void Unk_BB(void) override
void Handle3DLoaded() override
bool IsNotGeneratedForm() const override
void Unk_A3(void) override
static constexpr auto FORMTYPE
Definition: GrenadeProjectile.h:14
Definition: Projectile.h:19
Definition: AbsorbEffect.h:6
constexpr REL::ID RTTI_GrenadeProjectile
Definition: Offsets_RTTI.h:4870
Definition: BGSDecalGroup.h:61
Definition: GrenadeProjectile.h:17
RecordFlag
Definition: GrenadeProjectile.h:19