CommonLibSSE (Parapets fork)
RE::InventoryChanges Class Reference

#include <InventoryChanges.h>

Classes

class  IItemChangeVisitor
 

Public Types

enum class  VisitResult : std::uint32_t { kStop = 0 , kContinue = 1 }
 

Public Member Functions

 InventoryChanges ()
 
 InventoryChanges (TESObjectREFR *a_ref)
 
 ~InventoryChanges ()
 
void AddEntryData (InventoryEntryData *a_entry)
 
TESObjectARMOGetArmorInSlot (std::int32_t a_slot)
 
std::uint16_t GetNextUniqueID ()
 
RE::ExtraDataListEnchantObject (RE::TESBoundObject *a_obj, RE::ExtraDataList *a_extraList, RE::EnchantmentItem *a_enchantment, uint16_t a_charge)
 
void InitFromContainerExtra ()
 
void InitLeveledItems ()
 
void InitScripts ()
 
void SendContainerChangedEvent (ExtraDataList *a_itemExtraList, TESObjectREFR *a_fromRefr, TESForm *a_item, std::int32_t a_count)
 
void SetUniqueID (ExtraDataList *a_itemList, TESForm *a_oldForm, TESForm *a_newForm)
 
std::int32_t GetCount (const TESBoundObject *a_object, std::predicate< const InventoryEntryData * > auto a_itemFilter) const
 
 TES_HEAP_REDEFINE_NEW ()
 

Public Attributes

BSSimpleList< InventoryEntryData * > * entryList { nullptr }
 
TESObjectREFRowner { nullptr }
 
float totalWeight { 0.0F }
 
float armorWeight { 0.0F }
 
bool changed { false }
 
std::uint8_t unk19 { 0 }
 
std::uint8_t unk1A { 0 }
 
std::uint8_t unk1B { 0 }
 
std::uint32_t unk1C { 0 }
 

Member Enumeration Documentation

◆ VisitResult

enum RE::InventoryChanges::VisitResult : std::uint32_t
strong
Enumerator
kStop 
kContinue 

Constructor & Destructor Documentation

◆ InventoryChanges() [1/2]

RE::InventoryChanges::InventoryChanges ( )

◆ InventoryChanges() [2/2]

RE::InventoryChanges::InventoryChanges ( TESObjectREFR a_ref)
explicit

◆ ~InventoryChanges()

RE::InventoryChanges::~InventoryChanges ( )

Member Function Documentation

◆ AddEntryData()

void RE::InventoryChanges::AddEntryData ( InventoryEntryData a_entry)

◆ EnchantObject()

RE::ExtraDataList* RE::InventoryChanges::EnchantObject ( RE::TESBoundObject a_obj,
RE::ExtraDataList a_extraList,
RE::EnchantmentItem a_enchantment,
uint16_t  a_charge 
)

◆ GetArmorInSlot()

TESObjectARMO* RE::InventoryChanges::GetArmorInSlot ( std::int32_t  a_slot)

◆ GetCount()

std::int32_t RE::InventoryChanges::GetCount ( const TESBoundObject a_object,
std::predicate< const InventoryEntryData * > auto  a_itemFilter 
) const
inline

◆ GetNextUniqueID()

std::uint16_t RE::InventoryChanges::GetNextUniqueID ( )

◆ InitFromContainerExtra()

void RE::InventoryChanges::InitFromContainerExtra ( )

◆ InitLeveledItems()

void RE::InventoryChanges::InitLeveledItems ( )

◆ InitScripts()

void RE::InventoryChanges::InitScripts ( )

◆ SendContainerChangedEvent()

void RE::InventoryChanges::SendContainerChangedEvent ( ExtraDataList a_itemExtraList,
TESObjectREFR a_fromRefr,
TESForm a_item,
std::int32_t  a_count 
)

◆ SetUniqueID()

void RE::InventoryChanges::SetUniqueID ( ExtraDataList a_itemList,
TESForm a_oldForm,
TESForm a_newForm 
)

◆ TES_HEAP_REDEFINE_NEW()

RE::InventoryChanges::TES_HEAP_REDEFINE_NEW ( )

Member Data Documentation

◆ armorWeight

float RE::InventoryChanges::armorWeight { 0.0F }

◆ changed

bool RE::InventoryChanges::changed { false }

◆ entryList

BSSimpleList<InventoryEntryData*>* RE::InventoryChanges::entryList { nullptr }

◆ owner

TESObjectREFR* RE::InventoryChanges::owner { nullptr }

◆ totalWeight

float RE::InventoryChanges::totalWeight { 0.0F }

◆ unk19

std::uint8_t RE::InventoryChanges::unk19 { 0 }

◆ unk1A

std::uint8_t RE::InventoryChanges::unk1A { 0 }

◆ unk1B

std::uint8_t RE::InventoryChanges::unk1B { 0 }

◆ unk1C

std::uint32_t RE::InventoryChanges::unk1C { 0 }

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