CommonLibVR
Loading...
Searching...
No Matches
BSTempEffectWeaponBlood.h
Go to the documentation of this file.
1#pragma once
2
3#include "RE/B/BSTempEffect.h"
5
6namespace RE
7{
8 class NiAVObject;
9
11 {
12 public:
13 inline static constexpr auto RTTI = RTTI_BSTempEffectWeaponBlood;
14 inline static constexpr auto VTABLE = VTABLE_BSTempEffectWeaponBlood;
15 inline static constexpr auto TYPE = TEMP_EFFECT_TYPE::kWeaponBlood;
16
17 ~BSTempEffectWeaponBlood() override; // 00
18
19 bool Update(float a_arg1) override; // 28
20 [[nodiscard]] TEMP_EFFECT_TYPE GetType() const override; // 2C - { return 1; }
21
22 static void ClearEffectForWeapon(NiAVObject* a_weapon3D)
23 {
24 using func_t = decltype(&ClearEffectForWeapon);
25 static REL::Relocation<func_t> func{ RELOCATION_ID(29303, 30154) };
26 return func(a_weapon3D);
27 }
28
29 // members;
31 float alphaThreshold; // 038
32 private:
34 };
35 static_assert(sizeof(BSTempEffectWeaponBlood) == 0x40);
36}
#define KEEP_FOR_RE()
Definition PCH.h:517
#define RELOCATION_ID(SE, AE)
Definition PCH.h:506
Definition Relocation.h:210
Definition BSTempEffectWeaponBlood.h:11
TEMP_EFFECT_TYPE GetType() const override
bool Update(float a_arg1) override
static void ClearEffectForWeapon(NiAVObject *a_weapon3D)
Definition BSTempEffectWeaponBlood.h:22
static constexpr auto VTABLE
Definition BSTempEffectWeaponBlood.h:14
static constexpr auto RTTI
Definition BSTempEffectWeaponBlood.h:13
float alphaThreshold
Definition BSTempEffectWeaponBlood.h:31
static constexpr auto TYPE
Definition BSTempEffectWeaponBlood.h:15
NiPointer< NiAVObject > weapon3D
Definition BSTempEffectWeaponBlood.h:30
Definition BSTempEffect.h:29
Definition NiAVObject.h:57
Definition NiSmartPointer.h:9
Definition AbsorbEffect.h:6
TEMP_EFFECT_TYPE
Definition BSTempEffect.h:13
constexpr REL::ID RTTI_BSTempEffectWeaponBlood(static_cast< std::uint64_t >(686059))
constexpr std::array< REL::ID, 1 > VTABLE_BSTempEffectWeaponBlood
Definition Offsets_VTABLE.h:10544