CommonLibSSE (powerof3)
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 constexpr auto Ni_RTTI = NiRTTI_bhkRefObject;
15  inline static constexpr auto VTABLE = VTABLE_bhkRefObject;
16 
17  ~bhkRefObject() override; // 00
18 
19  // override(NiObject)
20  [[nodiscard]] const NiRTTI* GetRTTI() const override; // 02
21 
22  // add
23  virtual void SetReferencedObject(hkReferencedObject* a_object); // 25
24  virtual void AdjustRefCount(bool a_increment); // 26
25 
26  // members
28  };
29  static_assert(sizeof(bhkRefObject) == 0x18);
30 }
Definition: NiObject.h:37
Definition: NiRTTI.h:6
Definition: bhkRefObject.h:11
~bhkRefObject() override
static constexpr auto Ni_RTTI
Definition: bhkRefObject.h:14
hkRefPtr< hkReferencedObject > referencedObject
Definition: bhkRefObject.h:27
const NiRTTI * GetRTTI() const override
static constexpr auto RTTI
Definition: bhkRefObject.h:13
virtual void SetReferencedObject(hkReferencedObject *a_object)
static constexpr auto VTABLE
Definition: bhkRefObject.h:15
virtual void AdjustRefCount(bool a_increment)
Definition: hkReferencedObject.h:11
Definition: AbsorbEffect.h:6
constexpr REL::ID RTTI_bhkRefObject(static_cast< std::uint64_t >(685162))
constexpr REL::ID NiRTTI_bhkRefObject(static_cast< std::uint64_t >(525108))
constexpr std::array< REL::ID, 1 > VTABLE_bhkRefObject
Definition: Offsets_VTABLE.h:13356