19class ContainerScreenContext {
23 ::ll::TypedStorage<8, 8, ::Player*> mPlayer;
24 ::ll::TypedStorage<1, 1, ::SharedTypes::Legacy::ContainerType> mScreenContainerType;
25 ::ll::TypedStorage<8, 24, ::std::variant<::std::monostate, ::ActorUniqueID, ::BlockPos>> mOwner;
31 MCAPI ContainerScreenContext();
33 MCAPI ContainerScreenContext(
35 ::SharedTypes::Legacy::ContainerType screenContainerType,
39 MCAPI ContainerScreenContext(
41 ::SharedTypes::Legacy::ContainerType screenContainerType,
45 MCAPI ::gsl::not_null<::StackRefResult<::IContainerRegistryAccess>> getContainerRegistryAccess()
const;
47 MCFOLD ::Player& getPlayer()
const;
49 MCFOLD ::SharedTypes::Legacy::ContainerType getScreenContainerType()
const;
52 MCAPI
bool operator==(::SharedTypes::Legacy::ContainerType screenContainerType)
const;
55 MCAPI ::Actor* tryGetActor()
const;
57 MCAPI ::BlockActor* tryGetBlockActor()
const;
59 MCAPI ::BlockPos
const* tryGetBlockActorPos()
const;
68 $ctor(
::Player& player, ::SharedTypes::Legacy::ContainerType screenContainerType,
::ActorUniqueID const& actorId);
71 $ctor(
::Player& player, ::SharedTypes::Legacy::ContainerType screenContainerType,
::BlockPos const& blockPos);