CommonLibVR
BGSDecalNode.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "RE/N/NiNode.h"
4 #include "RE/N/NiSmartPointer.h"
5 
6 namespace RE
7 {
8  class BSTempEffect;
9 
10  class BGSDecalNode : public NiNode
11  {
12  public:
13  inline static constexpr auto RTTI = RTTI_BGSDecalNode;
14  inline static constexpr auto Ni_RTTI = NiRTTI_BGSDecalNode;
15  inline static constexpr auto VTABLE = VTABLE_BGSDecalNode;
16 
17  ~BGSDecalNode() override; // 00
18 
19  // override (NiNode)
20  const NiRTTI* GetRTTI() const override; // 02
21  NiObject* CreateClone(NiCloningProcess& a_cloning) override; // 17
22  void ProcessClone(NiCloningProcess& a_cloning) override; // 1D
23  void OnVisible(NiCullingProcess& a_process) override; // 34
24 
25  // add
26  virtual std::uint8_t Unk_3E(); // 3E - { return 1; }
27  virtual void AttachDecal(BSTempEffect* a_decal, bool a_firstAvail); // 3F
28 
29  // members
31  bool isSkinned; // 140
32  private:
33  KEEP_FOR_RE()
34  };
35 #ifndef SKYRIMVR
36  static_assert(sizeof(BGSDecalNode) == 0x148);
37 #else
38  static_assert(sizeof(BGSDecalNode) == 0x170);
39 #endif
40 }
#define KEEP_FOR_RE()
Definition: PCH.h:713
Definition: BGSDecalNode.h:11
static constexpr auto VTABLE
Definition: BGSDecalNode.h:15
void ProcessClone(NiCloningProcess &a_cloning) override
NiObject * CreateClone(NiCloningProcess &a_cloning) override
void OnVisible(NiCullingProcess &a_process) override
bool isSkinned
Definition: BGSDecalNode.h:31
static constexpr auto RTTI
Definition: BGSDecalNode.h:13
virtual void AttachDecal(BSTempEffect *a_decal, bool a_firstAvail)
virtual std::uint8_t Unk_3E()
BSTArray< NiPointer< BSTempEffect > > decals
Definition: BGSDecalNode.h:30
~BGSDecalNode() override
const NiRTTI * GetRTTI() const override
static constexpr auto Ni_RTTI
Definition: BGSDecalNode.h:14
Definition: BSTArray.h:378
Definition: BSTempEffect.h:29
Definition: NiCloningProcess.h:10
Definition: NiCullingProcess.h:34
Definition: NiNode.h:12
Definition: NiObject.h:37
Definition: NiRTTI.h:6
Definition: AbsorbEffect.h:6
constexpr REL::ID NiRTTI_BGSDecalNode(static_cast< std::uint64_t >(514417))
constexpr std::array< REL::ID, 1 > VTABLE_BGSDecalNode
Definition: Offsets_VTABLE.h:8602
constexpr REL::ID RTTI_BGSDecalNode(static_cast< std::uint64_t >(684910))