24 [[nodiscard]]
constexpr bool IsValid() const noexcept {
return static_cast<bool>(
valid); }
52 static_assert(
sizeof(
Object) == 0x30);
const ObjectTypeInfo * GetTypeInfo() const
VMHandle GetHandle() const
std::uint32_t valid
Definition: Object.h:39
BSFixedString currentState
Definition: Object.h:42
constexpr bool IsConstructed() const noexcept
Definition: Object.h:22
ObjectTypeInfo * GetTypeInfo()
const Variable * GetProperty(const BSFixedString &a_name) const
std::uint32_t initialized
Definition: Object.h:38
std::uint32_t remainingPropsToInit
Definition: Object.h:40
void * lockStructure
Definition: Object.h:43
BSTSmartPointer< ObjectTypeInfo > type
Definition: Object.h:41
Variable * GetProperty(const BSFixedString &a_name)
std::uint32_t pad2C
Definition: Object.h:46
void * Resolve(VMTypeID a_typeID) const
volatile VMHandle handle
Definition: Object.h:44
constexpr bool IsInitialized() const noexcept
Definition: Object.h:23
constexpr bool IsValid() const noexcept
Definition: Object.h:24
std::uint32_t constructed
Definition: Object.h:37
volatile std::int32_t refCountAndHandleLock
Definition: Object.h:45
Variable variables[0]
Definition: Object.h:47
Definition: ObjectTypeInfo.h:17
Definition: Variable.h:15
Definition: BSTSmartPointer.h:37
Definition: AbsorbEffect.h:6
std::uint32_t VMTypeID
Definition: BSCoreTypes.h:9
std::uint64_t VMHandle
Definition: BSCoreTypes.h:7