CommonLibSSE NG
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 TYPE = TEMP_EFFECT_TYPE::kWeaponBlood;
15
16 ~BSTempEffectWeaponBlood() override; // 00
17
18 bool Update(float a_arg1) override; // 28
19 [[nodiscard]] TEMP_EFFECT_TYPE GetType() const override; // 2C - { return 1; }
20
21 static void ClearEffectForWeapon(NiAVObject* a_weapon3D)
22 {
23 using func_t = decltype(&ClearEffectForWeapon);
24 REL::Relocation<func_t> func{ RELOCATION_ID(29303, 30154) };
25 return func(a_weapon3D);
26 }
27
28 // members;
30 float alphaThreshold; // 038
31 };
32 static_assert(sizeof(BSTempEffectWeaponBlood) == 0x40);
33}
#define RELOCATION_ID(a_se, a_ae)
Definition PCH.h:794
Definition BSTempEffect.h:29
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:21
static constexpr auto RTTI
Definition BSTempEffectWeaponBlood.h:13
float alphaThreshold
Definition BSTempEffectWeaponBlood.h:30
static constexpr auto TYPE
Definition BSTempEffectWeaponBlood.h:14
NiPointer< NiAVObject > weapon3D
Definition BSTempEffectWeaponBlood.h:29
Definition NiAVObject.h:50
Definition NiSmartPointer.h:9
Definition Relocation.h:1638
Definition AbsorbEffect.h:6
TEMP_EFFECT_TYPE
Definition BSTempEffect.h:13
constexpr REL::VariantID RTTI_BSTempEffectWeaponBlood(686059, 393867, 0x1ef52b8)