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;
17struct ActorUniqueID;
18// clang-format on
19
20class CraftingContext {
21public:
22 // CraftingContext inner types declare
23 // clang-format off
24 class Impl;
25 // clang-format on
26
27 // CraftingContext inner types define
28 class Impl {
29 public:
30 // member variables
31 // NOLINTBEGIN
32 ::ll::TypedStorage<8, 16, ::std::weak_ptr<::TrimPatternRegistry> const> mTrimPatternRegistry;
33 ::ll::TypedStorage<8, 16, ::std::weak_ptr<::TrimMaterialRegistry const> const> mTrimMaterialRegistry;
34 ::ll::TypedStorage<8, 32, ::BaseGameVersion> mBaseGameVersion;
35 ::ll::TypedStorage<8, 72, ::Experiments> mExperiments;
36 ::ll::TypedStorage<8, 64, ::std::function<::MapItemSavedData*(::ActorUniqueID)>>
37 mGetMapSavedDataByActorUniqueId;
38 ::ll::TypedStorage<8, 64, ::std::function<::MapItemSavedData*(::CompoundTag const*)>>
39 mGetMapSavedDataByCampoundTag;
40 ::ll::TypedStorage<8, 64, ::std::function<::ActorUniqueID(::ActorUniqueID, bool)>> mExpandMapByID;
41 ::ll::TypedStorage<8, 64, ::std::function<bool(::ActorUniqueID, ::ActorUniqueID)>> mCopyAndLockMap;
42 // NOLINTEND
43
44 public:
45 // prevent constructor by default
46 Impl();
47
48 public:
49 // member functions
50 // NOLINTBEGIN
51 MCAPI explicit Impl(::Bedrock::NotNullNonOwnerPtr<::ILevel> level);
52
53 MCAPI ~Impl();
54 // NOLINTEND
55
56 public:
57 // constructor thunks
58 // NOLINTBEGIN
59 MCAPI void* $ctor(::Bedrock::NotNullNonOwnerPtr<::ILevel> level);
60 // NOLINTEND
61
62 public:
63 // destructor thunk
64 // NOLINTBEGIN
65 MCAPI void $dtor();
66 // NOLINTEND
67 };
68
69public:
70 // member variables
71 // NOLINTBEGIN
72 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::CraftingContext::Impl>> mPimpl;
73 // NOLINTEND
74
75public:
76 // prevent constructor by default
77 CraftingContext();
78
79public:
80 // member functions
81 // NOLINTBEGIN
82 MCAPI explicit CraftingContext(::Bedrock::NotNullNonOwnerPtr<::ILevel> level);
83
84 MCAPI ::BaseGameVersion getBaseGameVersion() const;
85
86 MCAPI ::std::weak_ptr<::TrimMaterialRegistry const> const getTrimMaterialRegistry() const;
87
88 MCAPI ::std::weak_ptr<::TrimPatternRegistry const> const getTrimPatternRegistry() const;
89
90 MCAPI ::std::weak_ptr<::TrimPatternRegistry> const getTrimPatternRegistry();
91
92 MCAPI ~CraftingContext();
93 // NOLINTEND
94
95public:
96 // constructor thunks
97 // NOLINTBEGIN
98 MCAPI void* $ctor(::Bedrock::NotNullNonOwnerPtr<::ILevel> level);
99 // NOLINTEND
100
101public:
102 // destructor thunk
103 // NOLINTBEGIN
104 MCAPI void $dtor();
105 // NOLINTEND
106};
Definition CompoundTag.h:23
Definition CraftingContext.h:28
Definition ILevel.h:219
Definition MapItemSavedData.h:32
Definition TrimMaterialRegistry.h:13
Definition TrimPatternRegistry.h:14
Definition ActorUniqueID.h:10