CommonLibSSE (Parapets fork)
|
#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) |
TESObjectARMO * | GetArmorInSlot (std::int32_t a_slot) |
std::uint16_t | GetNextUniqueID () |
RE::ExtraDataList * | EnchantObject (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 } |
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 } |
|
strong |
RE::InventoryChanges::InventoryChanges | ( | ) |
|
explicit |
RE::InventoryChanges::~InventoryChanges | ( | ) |
void RE::InventoryChanges::AddEntryData | ( | InventoryEntryData * | a_entry | ) |
RE::ExtraDataList* RE::InventoryChanges::EnchantObject | ( | RE::TESBoundObject * | a_obj, |
RE::ExtraDataList * | a_extraList, | ||
RE::EnchantmentItem * | a_enchantment, | ||
uint16_t | a_charge | ||
) |
TESObjectARMO* RE::InventoryChanges::GetArmorInSlot | ( | std::int32_t | a_slot | ) |
|
inline |
std::uint16_t RE::InventoryChanges::GetNextUniqueID | ( | ) |
void RE::InventoryChanges::InitFromContainerExtra | ( | ) |
void RE::InventoryChanges::InitLeveledItems | ( | ) |
void RE::InventoryChanges::InitScripts | ( | ) |
void RE::InventoryChanges::SendContainerChangedEvent | ( | ExtraDataList * | a_itemExtraList, |
TESObjectREFR * | a_fromRefr, | ||
TESForm * | a_item, | ||
std::int32_t | a_count | ||
) |
void RE::InventoryChanges::SetUniqueID | ( | ExtraDataList * | a_itemList, |
TESForm * | a_oldForm, | ||
TESForm * | a_newForm | ||
) |
RE::InventoryChanges::TES_HEAP_REDEFINE_NEW | ( | ) |
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 } |