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