20 object(
std::exchange(a_rhs.
object,
nullptr)),
62 return IsOwnedBy_Impl(a_testOwner, a_itemOwner, a_defaultTo);
81 [[nodiscard]]
bool IsOwnedBy_Impl(
Actor* a_testOwner,
TESForm* a_itemOwner,
bool a_defaultTo)
83 using func_t =
decltype(&InventoryEntryData::IsOwnedBy_Impl);
85 return func(
this, a_testOwner, a_itemOwner, a_defaultTo);
88 static_assert(
sizeof(InventoryEntryData) == 0x18);
Definition: InventoryEntryData.h:14
TESBoundObject * object
Definition: InventoryEntryData.h:75
constexpr const TESBoundObject * GetObject() const noexcept
Definition: InventoryEntryData.h:39
InventoryEntryData & operator=(const InventoryEntryData &a_rhs)
const char * GetDisplayName()
void AddExtraList(ExtraDataList *a_extra)
std::int32_t countDelta
Definition: InventoryEntryData.h:77
BSSimpleList< ExtraDataList * > * extraLists
Definition: InventoryEntryData.h:76
bool IsOwnedBy(Actor *a_testOwner, TESForm *a_itemOwner, bool a_defaultTo=true)
Definition: InventoryEntryData.h:60
InventoryEntryData() noexcept=default
std::uint32_t pad14
Definition: InventoryEntryData.h:78
bool IsOwnedBy(Actor *a_testOwner, bool a_defaultTo=true)
Definition: InventoryEntryData.h:55
constexpr TESBoundObject * GetObject() noexcept
Definition: InventoryEntryData.h:38
bool IsQuestObject() const
Definition: InventoryEntryData.h:65
std::optional< double > GetEnchantmentCharge() const
InventoryEntryData & operator=(InventoryEntryData &&a_rhs)
SOUL_LEVEL GetSoulLevel() const
std::int32_t GetValue() const
Definition: InventoryEntryData.h:43
InventoryEntryData(TESBoundObject *a_object, std::int32_t a_countDelta)
Definition: InventoryEntryData.h:25
Definition: TESBoundObject.h:24
Definition: Relocation.h:858
constexpr REL::ID IsQuestObject(static_cast< std::uint64_t >(16005))
constexpr REL::ID GetValue(static_cast< std::uint64_t >(15995))
constexpr REL::ID IsOwnedBy(static_cast< std::uint64_t >(16020))
Definition: AbsorbEffect.h:6
SOUL_LEVEL
Definition: SoulLevels.h:6
Definition: NiBinaryStream.h:94