Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
CraftingContext.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/utility/NonOwnerPointer.h"
7#include "mc/util/BaseGameVersion.h"
8#include "mc/world/level/storage/Experiments.h"
9
10// auto generated forward declare list
11// clang-format off
12class CompoundTag;
13class ILevel;
14class ItemStackBase;
18struct ActorUniqueID;
19// clang-format on
20
21class CraftingContext {
22public:
23 // CraftingContext inner types declare
24 // clang-format off
25 class Impl;
26 // clang-format on
27
28 // CraftingContext inner types define
29 class Impl {
30 public:
31 // member variables
32 // NOLINTBEGIN
33 ::ll::TypedStorage<8, 16, ::std::weak_ptr<::TrimPatternRegistry> const> mTrimPatternRegistry;
34 ::ll::TypedStorage<8, 16, ::std::weak_ptr<::TrimMaterialRegistry const> const> mTrimMaterialRegistry;
35 ::ll::TypedStorage<8, 32, ::BaseGameVersion> mBaseGameVersion;
36 ::ll::TypedStorage<8, 72, ::Experiments> mExperiments;
37 ::ll::TypedStorage<8, 64, ::std::function<::MapItemSavedData*(::ActorUniqueID)>>
38 mGetMapSavedDataByActorUniqueId;
39 ::ll::TypedStorage<8, 64, ::std::function<::MapItemSavedData*(::CompoundTag const*)>>
40 mGetMapSavedDataByCampoundTag;
41 ::ll::TypedStorage<8, 64, ::std::function<::ActorUniqueID(::ActorUniqueID, bool)>> mExpandMapByID;
42 ::ll::TypedStorage<8, 64, ::std::function<bool(::ActorUniqueID, ::ActorUniqueID)>> mCopyAndLockMap;
43 ::ll::TypedStorage<8, 64, ::std::function<bool(::ItemStackBase const&)>> mIsStorageItemEmpty;
44 // NOLINTEND
45
46 public:
47 // prevent constructor by default
48 Impl();
49
50 public:
51 // member functions
52 // NOLINTBEGIN
53 MCNAPI explicit Impl(::Bedrock::NotNullNonOwnerPtr<::ILevel> level);
54
55 MCNAPI ~Impl();
56 // NOLINTEND
57
58 public:
59 // constructor thunks
60 // NOLINTBEGIN
61 MCNAPI void* $ctor(::Bedrock::NotNullNonOwnerPtr<::ILevel> level);
62 // NOLINTEND
63
64 public:
65 // destructor thunk
66 // NOLINTBEGIN
67 MCNAPI void $dtor();
68 // NOLINTEND
69 };
70
71public:
72 // member variables
73 // NOLINTBEGIN
74 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::CraftingContext::Impl>> mPimpl;
75 // NOLINTEND
76
77public:
78 // prevent constructor by default
79 CraftingContext();
80
81public:
82 // member functions
83 // NOLINTBEGIN
84 MCAPI explicit CraftingContext(::Bedrock::NotNullNonOwnerPtr<::ILevel> level);
85
86 MCAPI ~CraftingContext();
87 // NOLINTEND
88
89public:
90 // constructor thunks
91 // NOLINTBEGIN
92 MCAPI void* $ctor(::Bedrock::NotNullNonOwnerPtr<::ILevel> level);
93 // NOLINTEND
94
95public:
96 // destructor thunk
97 // NOLINTBEGIN
98 MCAPI void $dtor();
99 // NOLINTEND
100};
Definition CompoundTag.h:18
Definition CraftingContext.h:29
MCAPI void * $ctor(::Bedrock::NotNullNonOwnerPtr<::ILevel > level)
MCAPI Impl(::Bedrock::NotNullNonOwnerPtr<::ILevel > level)
Definition ILevel.h:223
Definition ItemStackBase.h:45
Definition MapItemSavedData.h:32
Definition TrimMaterialRegistry.h:13
Definition TrimPatternRegistry.h:14
Definition ActorUniqueID.h:5