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