CommonLibSSE (Parapets fork)
RE::InventoryEntryData Class Reference

#include <InventoryEntryData.h>

Public Member Functions

 InventoryEntryData () noexcept=default
 
 InventoryEntryData (const InventoryEntryData &a_rhs)
 
 InventoryEntryData (InventoryEntryData &&a_rhs) noexcept
 
 InventoryEntryData (TESBoundObject *a_object, std::int32_t a_countDelta)
 
 ~InventoryEntryData ()
 
InventoryEntryDataoperator= (const InventoryEntryData &a_rhs)
 
InventoryEntryDataoperator= (InventoryEntryData &&a_rhs)
 
void AddExtraList (ExtraDataList *a_extra)
 
InventoryEntryDataDeepCopy (const InventoryEntryData &a_rhs)
 
const char * GetDisplayName ()
 
std::optional< double > GetEnchantmentCharge () const
 
constexpr TESBoundObjectGetObject () noexcept
 
constexpr const TESBoundObjectGetObject () const noexcept
 
TESFormGetOwner ()
 
SOUL_LEVEL GetSoulLevel () const
 
std::int32_t GetValue () const
 
float GetWeight () const
 
bool IsEnchanted () const
 
bool IsLeveled () const
 
bool IsWorn () const
 
bool IsOwnedBy (Actor *a_testOwner, bool a_defaultTo=true)
 
bool IsOwnedBy (Actor *a_testOwner, TESForm *a_itemOwner, bool a_defaultTo=true)
 
bool IsQuestObject () const
 
void SetWorn (bool a_worn, bool a_left, bool a_deleteExtraList=true)
 
 TES_HEAP_REDEFINE_NEW ()
 

Public Attributes

TESBoundObjectobject { nullptr }
 
BSSimpleList< ExtraDataList * > * extraLists { nullptr }
 
std::int32_t countDelta { 0 }
 
std::uint32_t pad14 { 0 }
 

Constructor & Destructor Documentation

◆ InventoryEntryData() [1/4]

RE::InventoryEntryData::InventoryEntryData ( )
defaultnoexcept

◆ InventoryEntryData() [2/4]

RE::InventoryEntryData::InventoryEntryData ( const InventoryEntryData a_rhs)

◆ InventoryEntryData() [3/4]

RE::InventoryEntryData::InventoryEntryData ( InventoryEntryData &&  a_rhs)
inlinenoexcept

◆ InventoryEntryData() [4/4]

RE::InventoryEntryData::InventoryEntryData ( TESBoundObject a_object,
std::int32_t  a_countDelta 
)
inline

◆ ~InventoryEntryData()

RE::InventoryEntryData::~InventoryEntryData ( )

Member Function Documentation

◆ AddExtraList()

void RE::InventoryEntryData::AddExtraList ( ExtraDataList a_extra)

◆ DeepCopy()

InventoryEntryData& RE::InventoryEntryData::DeepCopy ( const InventoryEntryData a_rhs)

◆ GetDisplayName()

const char* RE::InventoryEntryData::GetDisplayName ( )

◆ GetEnchantmentCharge()

std::optional<double> RE::InventoryEntryData::GetEnchantmentCharge ( ) const

◆ GetObject() [1/2]

constexpr const TESBoundObject* RE::InventoryEntryData::GetObject ( ) const
inlineconstexprnoexcept

◆ GetObject() [2/2]

constexpr TESBoundObject* RE::InventoryEntryData::GetObject ( )
inlineconstexprnoexcept

◆ GetOwner()

TESForm* RE::InventoryEntryData::GetOwner ( )

◆ GetSoulLevel()

SOUL_LEVEL RE::InventoryEntryData::GetSoulLevel ( ) const

◆ GetValue()

std::int32_t RE::InventoryEntryData::GetValue ( ) const

◆ GetWeight()

float RE::InventoryEntryData::GetWeight ( ) const

◆ IsEnchanted()

bool RE::InventoryEntryData::IsEnchanted ( ) const

◆ IsLeveled()

bool RE::InventoryEntryData::IsLeveled ( ) const

◆ IsOwnedBy() [1/2]

bool RE::InventoryEntryData::IsOwnedBy ( Actor a_testOwner,
bool  a_defaultTo = true 
)

◆ IsOwnedBy() [2/2]

bool RE::InventoryEntryData::IsOwnedBy ( Actor a_testOwner,
TESForm a_itemOwner,
bool  a_defaultTo = true 
)

◆ IsQuestObject()

bool RE::InventoryEntryData::IsQuestObject ( ) const

◆ IsWorn()

bool RE::InventoryEntryData::IsWorn ( ) const

◆ operator=() [1/2]

InventoryEntryData& RE::InventoryEntryData::operator= ( const InventoryEntryData a_rhs)

◆ operator=() [2/2]

InventoryEntryData& RE::InventoryEntryData::operator= ( InventoryEntryData &&  a_rhs)

◆ SetWorn()

void RE::InventoryEntryData::SetWorn ( bool  a_worn,
bool  a_left,
bool  a_deleteExtraList = true 
)

◆ TES_HEAP_REDEFINE_NEW()

RE::InventoryEntryData::TES_HEAP_REDEFINE_NEW ( )

Member Data Documentation

◆ countDelta

std::int32_t RE::InventoryEntryData::countDelta { 0 }

◆ extraLists

BSSimpleList<ExtraDataList*>* RE::InventoryEntryData::extraLists { nullptr }

◆ object

TESBoundObject* RE::InventoryEntryData::object { nullptr }

◆ pad14

std::uint32_t RE::InventoryEntryData::pad14 { 0 }

The documentation for this class was generated from the following file: