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& operator=(ArmorTrim const&);
27 ArmorTrim();
28
29public:
30 // member functions
31 // NOLINTBEGIN
32 MCAPI ArmorTrim(::ArmorTrim const&);
33
34 MCAPI ArmorTrim(::HashedString patternId, ::HashedString materialId);
35
36 MCAPI void load(::CompoundTag const& tag);
37
38 MCAPI ~ArmorTrim();
39 // NOLINTEND
40
41public:
42 // static functions
43 // NOLINTBEGIN
44 MCAPI static void appendUpgradeHoverText(
45 ::ItemStackBase const& stack,
46 ::Level& level,
48 );
49
50 MCAPI static ::std::optional<::ArmorTrim> getTrim(::ItemStackBase const& instance);
51
52 MCAPI static void setTrim(::ItemStackBase& instance, ::ArmorTrim trim);
53 // NOLINTEND
54
55public:
56 // static variables
57 // NOLINTBEGIN
58 MCAPI static ::std::string const& TAG_TRIM();
59
60 MCAPI static ::std::string const& TAG_TRIM_MATERIAL();
61
62 MCAPI static ::std::string const& TAG_TRIM_PATTERN();
63
64 MCAPI static ::std::string const& UPGRADE_DESCRIPTION();
65
66 MCAPI static ::std::string const& UPGRADE_DESCRIPTION_FORMAT();
67
68 MCAPI static ::std::string const& WRONG_VERSION_OR_ITEM_ERROR();
69 // NOLINTEND
70
71public:
72 // constructor thunks
73 // NOLINTBEGIN
74 MCFOLD void* $ctor(::ArmorTrim const&);
75
76 MCAPI void* $ctor(::HashedString patternId, ::HashedString materialId);
77 // NOLINTEND
78
79public:
80 // destructor thunk
81 // NOLINTBEGIN
82 MCFOLD void $dtor();
83 // NOLINTEND
84};
Definition RedactableString.h:10
Definition CompoundTag.h:23
Definition HashedString.h:5
Definition ItemStackBase.h:44
Definition Level.h:249