LeviLamina
Loading...
Searching...
No Matches
ContainerWeakRef.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/legacy/ActorUniqueID.h"
7#include "mc/world/TypedRuntimeId.h"
8#include "mc/world/inventory/ActorContainerType.h"
9#include "mc/world/level/BlockPos.h"
10
11// auto generated forward declare list
12// clang-format off
13class Actor;
14class BlockSource;
15class Container;
18// clang-format on
19
21public:
22 // member variables
23 // NOLINTBEGIN
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;
29 // NOLINTEND
30
31public:
32 // member functions
33 // NOLINTBEGIN
34 MCAPI explicit operator bool() const;
35
36 MCAPI ::ContainerWeakRefData tryGetContainer(::BlockSource& region) const;
37
38 MCAPI ~ContainerWeakRef();
39 // NOLINTEND
40
41public:
42 // static functions
43 // NOLINTBEGIN
44 MCAPI static ::Container* tryGetActorContainer(::Actor& actor, ::ActorContainerType containerType);
45 // NOLINTEND
46
47public:
48 // destructor thunk
49 // NOLINTBEGIN
50 MCFOLD void $dtor();
51 // NOLINTEND
52};
Definition Actor.h:102
Definition BlockSource.h:63
Definition ContainerWeakRef.h:20
Definition Container.h:28
Definition ContainerRuntimeIdTag.h:5
Definition ContainerWeakRefData.h:5