CommonLibSSE (Parapets fork)
Loading...
Searching...
No Matches
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)
 
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
 
 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)

◆ 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
inline

◆ 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 
)
inline

◆ IsOwnedBy() [2/2]

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

◆ IsQuestObject()

bool RE::InventoryEntryData::IsQuestObject ( ) const
inline

◆ 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)

◆ 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: