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 CompoundTag;
11class ItemStackBase;
12class Level;
13namespace Bedrock::Safety { class RedactableString; }
14// clang-format on
15
16class ArmorTrim {
17public:
18 // member variables
19 // NOLINTBEGIN
20 ::ll::TypedStorage<8, 48, ::HashedString> mPatternId;
21 ::ll::TypedStorage<8, 48, ::HashedString> mMaterialId;
22 // NOLINTEND
23
24public:
25 // prevent constructor by default
26 ArmorTrim();
27
28public:
29 // member functions
30 // NOLINTBEGIN
31 MCAPI ArmorTrim(::HashedString patternId, ::HashedString materialId);
32
33 MCAPI void load(::CompoundTag const& tag);
34
35 MCAPI ~ArmorTrim();
36 // NOLINTEND
37
38public:
39 // static functions
40 // NOLINTBEGIN
41 MCAPI static void appendUpgradeHoverText(
42 ::ItemStackBase const& stack,
43 ::Level& level,
45 );
46
47 MCAPI static ::std::optional<::ArmorTrim> getTrim(::ItemStackBase const& instance);
48
49 MCAPI static void setTrim(::ItemStackBase& instance, ::ArmorTrim trim);
50 // NOLINTEND
51
52public:
53 // static variables
54 // NOLINTBEGIN
55 MCAPI static ::std::string const& TAG_TRIM();
56
57 MCAPI static ::std::string const& TAG_TRIM_MATERIAL();
58
59 MCAPI static ::std::string const& TAG_TRIM_PATTERN();
60
61 MCAPI static ::std::string const& UPGRADE_DESCRIPTION();
62
63 MCAPI static ::std::string const& UPGRADE_DESCRIPTION_FORMAT();
64
65 MCAPI static ::std::string const& WRONG_VERSION_OR_ITEM_ERROR();
66 // NOLINTEND
67
68public:
69 // constructor thunks
70 // NOLINTBEGIN
71 MCAPI void* $ctor(::HashedString patternId, ::HashedString materialId);
72 // NOLINTEND
73
74public:
75 // destructor thunk
76 // NOLINTBEGIN
77 MCFOLD void $dtor();
78 // NOLINTEND
79};
Definition ArmorTrim.h:16
Definition RedactableString.h:10
Definition CompoundTag.h:13
Definition HashedString.h:5
Definition ItemStackBase.h:34
Definition Level.h:243