CommonLibSSE NG
GRefCountImplCore.h
Go to the documentation of this file.
1 #pragma once
2 
3 namespace RE
4 {
6  {
7  public:
8  inline static constexpr auto RTTI = RTTI_GRefCountImplCore;
9 
10  virtual ~GRefCountImplCore() = default; // 00
11 
13 
14  [[nodiscard]] constexpr std::uint32_t GetRefCount() const noexcept { return _refCount; }
15 
16  protected:
17  // members
18  volatile std::uint32_t _refCount{ 1 }; // 08
19  std::uint32_t _pad0C{ 0 }; // 0C
20  };
21  static_assert(sizeof(GRefCountImplCore) == 0x10);
22 }
Definition: GRefCountImplCore.h:6
virtual ~GRefCountImplCore()=default
static void CheckInvalidDelete(GRefCountImplCore *)
Definition: GRefCountImplCore.h:12
volatile std::uint32_t _refCount
Definition: GRefCountImplCore.h:18
std::uint32_t _pad0C
Definition: GRefCountImplCore.h:19
constexpr std::uint32_t GetRefCount() const noexcept
Definition: GRefCountImplCore.h:14
static constexpr auto RTTI
Definition: GRefCountImplCore.h:8
Definition: AbsorbEffect.h:6
constexpr REL::VariantID RTTI_GRefCountImplCore(686408, 394228, 0x1efd6f0)