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: Relocation.h:841
Definition: Relocation.h:867
Definition: InventoryEntryData.h:14
std::optional< double > GetEnchantmentCharge() const
TESBoundObject * object
Definition: InventoryEntryData.h:75
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
constexpr const TESBoundObject * GetObject() const noexcept
Definition: InventoryEntryData.h:39
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
const char * GetDisplayName()
SOUL_LEVEL GetSoulLevel() const
InventoryEntryData & operator=(const InventoryEntryData &a_rhs)
std::int32_t GetValue() const
Definition: InventoryEntryData.h:43
InventoryEntryData(TESBoundObject *a_object, std::int32_t a_countDelta)
Definition: InventoryEntryData.h:25
InventoryEntryData & operator=(InventoryEntryData &&a_rhs)
Definition: TESBoundObject.h:24
Definition: AbsorbEffect.h:6
SOUL_LEVEL
Definition: SoulLevels.h:6
Definition: NiBinaryStream.h:94