Skip to content
LeviMC
English
AutoLightDark
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 MCNAPI BannerPattern(::std::string const& name, ::std::string const& nameID, bool hiddenFromCrafting);
36
38 ::std::string const& name,
39 ::std::string const& nameID,
40 ::std::function<::ItemStack()>&& itemFunctor,
41 short patternItemType
42 );
43
45 ::std::string const& name,
46 ::std::string const& nameID,
47 ::std::function<::ItemStack()>&& itemFunctor,
48 short patternItemType,
49 bool ignoreAux
50 );
51
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#ifdef LL_PLAT_C
61 MCNAPI bool hasPattern() const;
62#endif
63
64 MCNAPI bool matchesPatternItem(::ItemStackBase const& item) const;
65 // NOLINTEND
66
67public:
68 // static variables
69 // NOLINTBEGIN
70 MCNAPI static ::std::vector<::BannerPattern> const& mPatterns();
71 // NOLINTEND
72
73public:
74 // constructor thunks
75 // NOLINTBEGIN
76 MCNAPI void* $ctor(::std::string const& name, ::std::string const& nameID, bool hiddenFromCrafting);
77
78 MCNAPI void* $ctor(
79 ::std::string const& name,
80 ::std::string const& nameID,
81 ::std::function<::ItemStack()>&& itemFunctor,
82 short patternItemType
83 );
84
85 MCNAPI void* $ctor(
86 ::std::string const& name,
87 ::std::string const& nameID,
88 ::std::function<::ItemStack()>&& itemFunctor,
89 short patternItemType,
90 bool ignoreAux
91 );
92
93 MCNAPI void* $ctor(
94 ::std::string const& name,
95 ::std::string const& nameID,
96 ::std::string const& row1,
97 ::std::string const& row2,
98 ::std::string const& row3
99 );
100 // NOLINTEND
101};
MCAPI void * $ctor(::std::string const &name, ::std::string const &nameID, ::std::function<::ItemStack()> &&itemFunctor, short patternItemType, bool ignoreAux)
MCAPI BannerPattern(::std::string const &name, ::std::string const &nameID, ::std::function<::ItemStack()> &&itemFunctor, short patternItemType)
MCAPI BannerPattern(::std::string const &name, ::std::string const &nameID, ::std::string const &row1, ::std::string const &row2, ::std::string const &row3)
MCAPI void * $ctor(::std::string const &name, ::std::string const &nameID, ::std::function<::ItemStack()> &&itemFunctor, short patternItemType)
MCAPI BannerPattern(::std::string const &name, ::std::string const &nameID, bool hiddenFromCrafting)
MCAPI bool matchesPatternItem(::ItemStackBase const &item) const
MCAPI void * $ctor(::std::string const &name, ::std::string const &nameID, ::std::string const &row1, ::std::string const &row2, ::std::string const &row3)
static MCAPI ::std::vector<::BannerPattern > const & mPatterns()
MCAPI void * $ctor(::std::string const &name, ::std::string const &nameID, bool hiddenFromCrafting)
MCAPI BannerPattern(::std::string const &name, ::std::string const &nameID, ::std::function<::ItemStack()> &&itemFunctor, short patternItemType, bool ignoreAux)
Definition EnableNonOwnerReferences.h:7
Definition ItemStackBase.h:45
Definition ItemStack.h:26