69 void CopyObjectList(
const std::vector<ContainerObject*>& a_copiedData);
Definition TESBoundObject.h:24
Definition TESContainer.h:33
static constexpr auto RTTI
Definition TESContainer.h:35
void ClearDataComponent() override
void CopyComponent(BaseFormComponent *a_rhs) override
bool RemoveObjectFromContainer(TESBoundObject *a_object, std::int32_t a_count)
bool AddObjectsToContainer(std::map< TESBoundObject *, std::int32_t > &a_objects, TESForm *a_owner)
std::optional< ContainerObject * > GetContainerObjectAt(std::uint32_t a_idx) const
std::uint32_t numContainerObjects
Definition TESContainer.h:65
std::int32_t CountObjectsInContainer(TESBoundObject *a_object) const
void ForEachContainerObject(std::function< BSContainer::ForEachResult(ContainerObject &)> a_fn) const
Definition TESContainer.h:44
ContainerObject ** containerObjects
Definition TESContainer.h:64
bool AddObjectToContainer(TESBoundObject *a_object, std::int32_t a_count, TESForm *a_owner)
std::uint32_t pad14
Definition TESContainer.h:66
std::optional< std::uint32_t > GetContainerObjectIndex(TESBoundObject *a_object, std::int32_t a_count) const
void InitializeDataComponent() override
ForEachResult
Definition BSContainer.h:6
Definition AbsorbEffect.h:6
constexpr REL::VariantID RTTI_TESContainer(513941, 392582, 0x1edb408)
Definition TESContainer.h:14
~ContainerObject()=default
std::int32_t count
Definition TESContainer.h:25
ContainerItemExtra * itemExtra
Definition TESContainer.h:28
ContainerObject(TESBoundObject *a_obj, std::int32_t a_count, TESForm *a_owner)
std::uint32_t pad04
Definition TESContainer.h:26
TESBoundObject * obj
Definition TESContainer.h:27
ContainerObject(TESBoundObject *a_obj, std::int32_t a_count)