CommonLibSSE (powerof3)
Loading...
Searching...
No Matches
ArrowProjectile.h
Go to the documentation of this file.
1#pragma once
2
3#include "RE/F/FormTypes.h"
5
6namespace RE
7{
8 class AlchemyItem;
9 class EnchantmentItem;
10
12 {
13 public:
14 inline static constexpr auto RTTI = RTTI_ArrowProjectile;
15 inline static constexpr auto VTABLE = VTABLE_ArrowProjectile;
16 inline static constexpr auto FORMTYPE = FormType::ProjectileArrow;
17
19 {
20 enum RecordFlag : std::uint32_t
21 {
22 };
23 };
24
25 ~ArrowProjectile() override; // 00
26
27 // override (MissileProjectile)
28 void SaveGame(BGSSaveFormBuffer* a_buf) override; // 0E
29 void LoadGame(BGSLoadFormBuffer* a_buf) override; // 0F
30 void PostLoad3D(NiAVObject* a_root) override; // AA
31 void UpdateImpl(float a_delta) override; // AB
32 bool ProcessImpacts() override; // AC
33 void Update3D() override; // AD
34 float GetPowerSpeedMult() const override; // AF
35 float GetWeaponSpeedMult() const override; // B0
36 bool GetStopMainSoundAfterImpact() override; // B1 - { return 1; }
37 float GetGravity() override; // B5
38 bool ShouldBeLimited() override; // B9 - { return (unk1CC >> 22) & 1; }
39 void AddImpact(TESObjectREFR* a_ref, const NiPoint3& a_targetLoc, const NiPoint3& a_velocity, hkpCollidable* a_collidable, std::int32_t a_arg6, std::uint32_t a_arg7) override; // BD
40 void Handle3DLoaded() override; // C0
41 void Unk_C2(void) override; // C2 - { return 1; }
42 void Unk_C3(void) override; // C3 - { return 1; }
43
44 // members
47 };
48#ifndef SKYRIM_SUPPORT_AE
49 static_assert(sizeof(ArrowProjectile) == 0x1F0);
50#else
51 static_assert(sizeof(ArrowProjectile) == 0x1F8);
52#endif
53}
Definition: AlchemyItem.h:24
Definition: ArrowProjectile.h:12
AlchemyItem * poison
Definition: ArrowProjectile.h:46
void SaveGame(BGSSaveFormBuffer *a_buf) override
void Unk_C3(void) override
float GetWeaponSpeedMult() const override
void Unk_C2(void) override
void UpdateImpl(float a_delta) override
void Handle3DLoaded() override
void PostLoad3D(NiAVObject *a_root) override
void LoadGame(BGSLoadFormBuffer *a_buf) override
float GetGravity() override
bool ShouldBeLimited() override
void Update3D() override
void AddImpact(TESObjectREFR *a_ref, const NiPoint3 &a_targetLoc, const NiPoint3 &a_velocity, hkpCollidable *a_collidable, std::int32_t a_arg6, std::uint32_t a_arg7) override
~ArrowProjectile() override
static constexpr auto RTTI
Definition: ArrowProjectile.h:14
EnchantmentItem * enchantItem
Definition: ArrowProjectile.h:45
float GetPowerSpeedMult() const override
bool ProcessImpacts() override
bool GetStopMainSoundAfterImpact() override
static constexpr auto FORMTYPE
Definition: ArrowProjectile.h:16
static constexpr auto VTABLE
Definition: ArrowProjectile.h:15
Definition: EnchantmentItem.h:10
Definition: MissileProjectile.h:10
Definition: NiAVObject.h:50
Definition: NiPoint3.h:6
Definition: TESObjectREFR.h:110
Definition: hkpCollidable.h:13
Definition: AbsorbEffect.h:6
constexpr REL::ID RTTI_ArrowProjectile(static_cast< std::uint64_t >(687494))
constexpr std::array< REL::ID, 4 > VTABLE_ArrowProjectile
Definition: Offsets_VTABLE.h:7417
Definition: ArrowProjectile.h:19
RecordFlag
Definition: ArrowProjectile.h:21