20class ContainerWeakRef {
24 ::ll::TypedStorage<8, 8, ::ActorUniqueID> mContainerActor;
25 ::ll::TypedStorage<4, 4, ::ActorContainerType> mActorContainerType;
26 ::ll::TypedStorage<4, 12, ::BlockPos> mBlockPosition;
27 ::ll::TypedStorage<4, 4, ::ContainerRuntimeId> mContainerRuntimeId;
28 ::ll::TypedStorage<8, 16, ::std::weak_ptr<::Container>> mWeakContainer;
34 MCAPI ContainerWeakRef();
36 MCAPI
explicit ContainerWeakRef(::std::weak_ptr<::Container> ref);
38 MCAPI ContainerWeakRef(
::BlockPos const& blockPos, ::ContainerRuntimeId
const& containerRuntimeId);
40 MCAPI ContainerWeakRef(
42 ::ActorContainerType containerType,
43 ::ContainerRuntimeId
const& containerRuntimeId
46 MCAPI
explicit operator bool()
const;
49 MCAPI ::ContainerWeakRefData tryGetContainer(
::BlockSource& region)
const;
52 MCAPI ~ContainerWeakRef();
59 MCAPI static ::Container* tryGetActorContainer(
::Actor& actor, ::ActorContainerType containerType);
68 MCAPI
void* $ctor(::std::weak_ptr<::Container> ref);
70 MCAPI
void* $ctor(
::BlockPos const& blockPos, ::ContainerRuntimeId
const& containerRuntimeId);
74 ::ActorContainerType containerType,
75 ::ContainerRuntimeId
const& containerRuntimeId