CommonLibSSE NG
Loading...
Searching...
No Matches
RE::InventoryChanges Class Reference

#include <InventoryChanges.h>

Classes

class  IItemChangeVisitor
 

Public Member Functions

 InventoryChanges ()
 
 InventoryChanges (TESObjectREFR *a_ref)
 
 ~InventoryChanges ()
 
void AddEntryData (InventoryEntryData *a_entry)
 
TESObjectARMOGetArmorInSlot (std::int32_t a_slot)
 
std::uint16_t GetNextUniqueID ()
 
std::uint32_t GetWornMask ()
 
void InitFromContainerExtra ()
 
void InitLeveledItems ()
 
void InitOutfitItems (BGSOutfit *a_outfit, std::uint16_t a_npcLevel)
 
void InitScripts ()
 
void RemoveFavorite (InventoryEntryData *a_entry, ExtraDataList *a_itemList)
 
void SendContainerChangedEvent (ExtraDataList *a_itemExtraList, TESObjectREFR *a_fromRefr, TESForm *a_item, std::int32_t a_count)
 
void SetFavorite (InventoryEntryData *a_entry, ExtraDataList *a_itemList)
 
void SetUniqueID (ExtraDataList *a_itemList, TESForm *a_oldForm, TESForm *a_newForm)
 
void GenerateLeveledListChanges ()
 
std::int16_t GetItemCount (RE::TESBoundObject *a_obj)
 
void VisitInventory (IItemChangeVisitor &visitor)
 
void VisitWornItems (IItemChangeVisitor &visitor)
 
 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 }
 

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)

◆ GenerateLeveledListChanges()

void RE::InventoryChanges::GenerateLeveledListChanges ( )

◆ GetArmorInSlot()

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

◆ GetItemCount()

std::int16_t RE::InventoryChanges::GetItemCount ( RE::TESBoundObject a_obj)

◆ GetNextUniqueID()

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

◆ GetWornMask()

std::uint32_t RE::InventoryChanges::GetWornMask ( )

◆ InitFromContainerExtra()

void RE::InventoryChanges::InitFromContainerExtra ( )

◆ InitLeveledItems()

void RE::InventoryChanges::InitLeveledItems ( )

◆ InitOutfitItems()

void RE::InventoryChanges::InitOutfitItems ( BGSOutfit a_outfit,
std::uint16_t  a_npcLevel 
)

◆ InitScripts()

void RE::InventoryChanges::InitScripts ( )

◆ RemoveFavorite()

void RE::InventoryChanges::RemoveFavorite ( InventoryEntryData a_entry,
ExtraDataList a_itemList 
)

◆ SendContainerChangedEvent()

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

◆ SetFavorite()

void RE::InventoryChanges::SetFavorite ( InventoryEntryData a_entry,
ExtraDataList a_itemList 
)

◆ SetUniqueID()

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

◆ TES_HEAP_REDEFINE_NEW()

RE::InventoryChanges::TES_HEAP_REDEFINE_NEW ( )

◆ VisitInventory()

void RE::InventoryChanges::VisitInventory ( IItemChangeVisitor visitor)

◆ VisitWornItems()

void RE::InventoryChanges::VisitWornItems ( IItemChangeVisitor visitor)

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: