CommonLibSSE NG
|
#include <InventoryChanges.h>
Classes | |
class | IItemChangeVisitor |
Public Member Functions | |
InventoryChanges () | |
InventoryChanges (TESObjectREFR *a_ref) | |
~InventoryChanges () | |
void | AddEntryData (InventoryEntryData *a_entry) |
TESObjectARMO * | GetArmorInSlot (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 } |
TESObjectREFR * | owner { 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 } |
RE::InventoryChanges::InventoryChanges | ( | ) |
|
explicit |
RE::InventoryChanges::~InventoryChanges | ( | ) |
void RE::InventoryChanges::AddEntryData | ( | InventoryEntryData * | a_entry | ) |
void RE::InventoryChanges::GenerateLeveledListChanges | ( | ) |
TESObjectARMO * RE::InventoryChanges::GetArmorInSlot | ( | std::int32_t | a_slot | ) |
std::int16_t RE::InventoryChanges::GetItemCount | ( | RE::TESBoundObject * | a_obj | ) |
std::uint16_t RE::InventoryChanges::GetNextUniqueID | ( | ) |
std::uint32_t RE::InventoryChanges::GetWornMask | ( | ) |
void RE::InventoryChanges::InitFromContainerExtra | ( | ) |
void RE::InventoryChanges::InitLeveledItems | ( | ) |
void RE::InventoryChanges::InitOutfitItems | ( | BGSOutfit * | a_outfit, |
std::uint16_t | a_npcLevel | ||
) |
void RE::InventoryChanges::InitScripts | ( | ) |
void RE::InventoryChanges::RemoveFavorite | ( | InventoryEntryData * | a_entry, |
ExtraDataList * | a_itemList | ||
) |
void RE::InventoryChanges::SendContainerChangedEvent | ( | ExtraDataList * | a_itemExtraList, |
TESObjectREFR * | a_fromRefr, | ||
TESForm * | a_item, | ||
std::int32_t | a_count | ||
) |
void RE::InventoryChanges::SetFavorite | ( | InventoryEntryData * | a_entry, |
ExtraDataList * | a_itemList | ||
) |
void RE::InventoryChanges::SetUniqueID | ( | ExtraDataList * | a_itemList, |
TESForm * | a_oldForm, | ||
TESForm * | a_newForm | ||
) |
RE::InventoryChanges::TES_HEAP_REDEFINE_NEW | ( | ) |
void RE::InventoryChanges::VisitInventory | ( | IItemChangeVisitor & | visitor | ) |
void RE::InventoryChanges::VisitWornItems | ( | IItemChangeVisitor & | visitor | ) |
float RE::InventoryChanges::armorWeight { 0.0F } |
bool RE::InventoryChanges::changed { false } |
BSSimpleList<InventoryEntryData*>* RE::InventoryChanges::entryList { nullptr } |
TESObjectREFR* RE::InventoryChanges::owner { nullptr } |
float RE::InventoryChanges::totalWeight { 0.0F } |
std::uint8_t RE::InventoryChanges::unk19 { 0 } |
std::uint8_t RE::InventoryChanges::unk1A { 0 } |
std::uint8_t RE::InventoryChanges::unk1B { 0 } |
std::uint32_t RE::InventoryChanges::unk1C { 0 } |