70 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)
bool allowStolenItems
Definition: TESContainer.h:67
static constexpr auto VTABLE
Definition: TESContainer.h:36
std::uint32_t numContainerObjects
Definition: TESContainer.h:66
std::optional< ContainerObject * > GetContainerObjectAt(std::uint32_t a_idx) const
std::int32_t CountObjectsInContainer(TESBoundObject *a_object) const
void ForEachContainerObject(std::function< BSContainer::ForEachResult(ContainerObject &)> a_fn) const
Definition: TESContainer.h:45
ContainerObject ** containerObjects
Definition: TESContainer.h:65
bool AddObjectToContainer(TESBoundObject *a_object, std::int32_t a_count, TESForm *a_owner)
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::ID RTTI_TESContainer(static_cast< std::uint64_t >(513941))
constexpr std::array< REL::ID, 1 > VTABLE_TESContainer
Definition: Offsets_VTABLE.h:12815
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)