LeviLamina
Loading...
Searching...
No Matches
ArmorTrim.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/string/HashedString.h"
7
8// auto generated forward declare list
9// clang-format off
10class ItemStackBase;
11class Level;
12namespace Bedrock::Safety { class RedactableString; }
13// clang-format on
14
15class ArmorTrim {
16public:
17 // member variables
18 // NOLINTBEGIN
19 ::ll::TypedStorage<8, 48, ::HashedString> mPatternId;
20 ::ll::TypedStorage<8, 48, ::HashedString> mMaterialId;
21 // NOLINTEND
22
23public:
24 // prevent constructor by default
25 ArmorTrim();
26
27public:
28 // member functions
29 // NOLINTBEGIN
30 MCAPI ArmorTrim(::HashedString patternId, ::HashedString materialId);
31
32 MCAPI ~ArmorTrim();
33 // NOLINTEND
34
35public:
36 // static functions
37 // NOLINTBEGIN
38 MCAPI static void appendUpgradeHoverText(
39 ::ItemStackBase const& stack,
40 ::Level& level,
42 );
43
44 MCAPI static ::std::optional<::ArmorTrim> getTrim(::ItemStackBase const& instance);
45
46 MCAPI static void setTrim(::ItemStackBase& instance, ::ArmorTrim trim);
47 // NOLINTEND
48
49public:
50 // static variables
51 // NOLINTBEGIN
52 MCAPI static ::std::string const& TAG_TRIM();
53
54 MCAPI static ::std::string const& TAG_TRIM_MATERIAL();
55
56 MCAPI static ::std::string const& TAG_TRIM_PATTERN();
57
58 MCAPI static ::std::string const& WRONG_VERSION_OR_ITEM_ERROR();
59 // NOLINTEND
60
61public:
62 // constructor thunks
63 // NOLINTBEGIN
64 MCAPI void* $ctor(::HashedString patternId, ::HashedString materialId);
65 // NOLINTEND
66
67public:
68 // destructor thunk
69 // NOLINTBEGIN
70 MCFOLD void $dtor();
71 // NOLINTEND
72};
Definition RedactableString.h:10
Definition HashedString.h:5
Definition ItemStackBase.h:44
Definition Level.h:254