LeviLamina
Loading...
Searching...
No Matches
BannerPattern.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/utility/EnableNonOwnerReferences.h"
7
8// auto generated forward declare list
9// clang-format off
10class ItemStack;
11class ItemStackBase;
12// clang-format on
13
14class BannerPattern : public ::Bedrock::EnableNonOwnerReferences {
15public:
16 // member variables
17 // NOLINTBEGIN
18 ::ll::TypedStorage<1, 1, uchar> mID;
19 ::ll::TypedStorage<8, 24, ::std::vector<::std::string>> mPattern;
20 ::ll::TypedStorage<8, 64, ::std::function<::ItemStack()>> mIngredientItemFunctor;
21 ::ll::TypedStorage<8, 32, ::std::string> mName;
22 ::ll::TypedStorage<8, 32, ::std::string> mNameID;
23 ::ll::TypedStorage<2, 2, short> mPatternItemType;
24 ::ll::TypedStorage<1, 1, bool> mIgnoreAux;
25 ::ll::TypedStorage<1, 1, bool> mHiddenFromCrafting;
26 // NOLINTEND
27
28public:
29 // prevent constructor by default
30 BannerPattern();
31
32public:
33 // member functions
34 // NOLINTBEGIN
35 MCAPI BannerPattern(::std::string const& name, ::std::string const& nameID, bool hiddenFromCrafting);
36
37 MCAPI BannerPattern(
38 ::std::string const& name,
39 ::std::string const& nameID,
40 ::std::function<::ItemStack()>&& itemFunctor,
41 short patternItemType
42 );
43
44 MCAPI BannerPattern(
45 ::std::string const& name,
46 ::std::string const& nameID,
47 ::std::function<::ItemStack()>&& itemFunctor,
48 short patternItemType,
49 bool ignoreAux
50 );
51
52 MCAPI BannerPattern(
53 ::std::string const& name,
54 ::std::string const& nameID,
55 ::std::string const& row1,
56 ::std::string const& row2,
57 ::std::string const& row3
58 );
59
60 MCAPI bool hasPattern() const;
61
62 MCAPI bool matchesPatternItem(::ItemStackBase const& item) const;
63 // NOLINTEND
64
65public:
66 // static variables
67 // NOLINTBEGIN
68 MCAPI static ::std::vector<::BannerPattern> const& mPatterns();
69 // NOLINTEND
70
71public:
72 // constructor thunks
73 // NOLINTBEGIN
74 MCAPI void* $ctor(::std::string const& name, ::std::string const& nameID, bool hiddenFromCrafting);
75
76 MCAPI void* $ctor(
77 ::std::string const& name,
78 ::std::string const& nameID,
79 ::std::function<::ItemStack()>&& itemFunctor,
80 short patternItemType
81 );
82
83 MCAPI void* $ctor(
84 ::std::string const& name,
85 ::std::string const& nameID,
86 ::std::function<::ItemStack()>&& itemFunctor,
87 short patternItemType,
88 bool ignoreAux
89 );
90
91 MCAPI void* $ctor(
92 ::std::string const& name,
93 ::std::string const& nameID,
94 ::std::string const& row1,
95 ::std::string const& row2,
96 ::std::string const& row3
97 );
98 // NOLINTEND
99};
Definition EnableNonOwnerReferences.h:7
Definition ItemStackBase.h:44
Definition ItemStack.h:26