LeviLamina
Loading...
Searching...
No Matches
DyeableItemComponent.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/shared_types/shared_types/Color255RGB.h"
7#include "mc/world/item/components/NetworkedItemComponent.h"
8#include "mc/world/level/storage/AllExperiments.h"
9
10// auto generated forward declare list
11// clang-format off
12class CompoundTag;
13class ItemDescriptor;
14class ItemStackBase;
15class SemVersion;
16namespace Bedrock::Safety { class RedactableString; }
17namespace cereal { struct ReflectionCtx; }
18namespace mce { class Color; }
19// clang-format on
20
21class DyeableItemComponent : public ::NetworkedItemComponent<::DyeableItemComponent> {
22public:
23 // member variables
24 // NOLINTBEGIN
25 ::ll::TypedStorage<4, 16, ::SharedTypes::Color255RGB> mDefaultColor;
26 // NOLINTEND
27
28public:
29 // member functions
30 // NOLINTBEGIN
31 MCAPI void
32 appendFormattedHovertext(::ItemStackBase const& item, ::Bedrock::Safety::RedactableString& hovertext, bool) const;
33
34 MCAPI ::mce::Color getColor(::CompoundTag const* userData, ::ItemDescriptor const&) const;
35
36 MCAPI void setColor(::ItemStackBase& instance, ::mce::Color const& color) const;
37 // NOLINTEND
38
39public:
40 // static functions
41 // NOLINTBEGIN
42 MCAPI static void bindType(
44 ::std::vector<::AllExperiments> const& requiredToggles,
45 ::std::optional<::SemVersion> releasedMinFormatVersion
46 );
47 // NOLINTEND
48
49public:
50 // vftables
51 // NOLINTBEGIN
52 MCNAPI static void** $vftable();
53 // NOLINTEND
54};
Definition RedactableString.h:10
Definition CompoundTag.h:18
Definition DyeableItemComponent.h:21
static MCAPI void ** $vftable()
Definition ItemDescriptor.h:25
Definition ItemStackBase.h:44
Definition NetworkedItemComponent.h:7
Definition SemVersion.h:15
Definition Color.h:13
Definition ReflectionCtx.h:11
Definition ctx.h:5