CommonLibSSE NG
bhkRefObject.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "RE/H/hkRefPtr.h"
4 #include "RE/N/NiObject.h"
5 
6 namespace RE
7 {
8  class hkReferencedObject;
9 
10  class bhkRefObject : public NiObject
11  {
12  public:
13  inline static constexpr auto RTTI = RTTI_bhkRefObject;
14  inline static auto Ni_RTTI = NiRTTI_bhkRefObject;
15 
16  ~bhkRefObject() override; // 00
17 
18  // override(NiObject)
19  [[nodiscard]] const NiRTTI* GetRTTI() const override; // 02
20 
21  // add
22  virtual void SetReferencedObject(hkReferencedObject* a_object); // 25
23  virtual void AdjustRefCount(bool a_increment); // 26
24 
25  // members
27  };
28  static_assert(sizeof(bhkRefObject) == 0x18);
29 }
Definition: NiObject.h:37
Definition: NiRTTI.h:6
Definition: bhkRefObject.h:11
~bhkRefObject() override
hkRefPtr< hkReferencedObject > referencedObject
Definition: bhkRefObject.h:26
const NiRTTI * GetRTTI() const override
static constexpr auto RTTI
Definition: bhkRefObject.h:13
virtual void SetReferencedObject(hkReferencedObject *a_object)
virtual void AdjustRefCount(bool a_increment)
static auto Ni_RTTI
Definition: bhkRefObject.h:14
Definition: hkReferencedObject.h:11
Definition: AbsorbEffect.h:6
constexpr REL::VariantID RTTI_bhkRefObject(685162, 392928, 0x1ee0db8)
constexpr REL::VariantID NiRTTI_bhkRefObject(525108, 411583, 0x31880f8)