LeviLamina
Loading...
Searching...
No Matches
IconItemComponent.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/shared_types/util/Reference.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 ComponentItem;
13class HashedString;
14class SemVersion;
15namespace SharedTypes::v1_21_80 { struct IconItemComponent; }
16namespace cereal { struct ReflectionCtx; }
17// clang-format on
18
19class IconItemComponent : public ::NetworkedItemComponent<::IconItemComponent> {
20public:
21 // member variables
22 // NOLINTBEGIN
23 ::ll::TypedStorage<8, 64, ::std::unordered_map<::std::string, ::SharedTypes::Reference<11>>> mTextures;
24 // NOLINTEND
25
26public:
27 // prevent constructor by default
28 IconItemComponent();
29
30public:
31 // virtual functions
32 // NOLINTBEGIN
33 virtual void _initializeComponent(::ComponentItem& owner) /*override*/;
34 // NOLINTEND
35
36public:
37 // member functions
38 // NOLINTBEGIN
39 MCAPI explicit IconItemComponent(::SharedTypes::v1_21_80::IconItemComponent component);
40
41#ifdef LL_PLAT_C
42 MCAPI ::std::string const& getBundleOpenBackTexture() const;
43
44 MCAPI ::std::string const& getBundleOpenFrontTexture() const;
45#endif
46
47 MCAPI ::std::string const& getDefaultTexture() const;
48
49 MCAPI ::std::string const& getDyedTexture() const;
50
51#ifdef LL_PLAT_C
52 MCAPI ::std::string const& getIconTrimPath() const;
53
54 MCFOLD ::std::unordered_map<::std::string, ::SharedTypes::Reference<11>> const& getTextures() const;
55#endif
56
57 MCAPI void setOwnerIcon() const;
58
59 MCAPI void setTexturePath(::std::string const& texturePath);
60 // NOLINTEND
61
62public:
63 // static functions
64 // NOLINTBEGIN
65 MCAPI static void bindType(
67 ::std::vector<::AllExperiments> const& requiredToggles,
68 ::std::optional<::SemVersion> releasedMinFormatVersion
69 );
70
71 MCAPI static ::HashedString const& getIdentifier();
72 // NOLINTEND
73
74public:
75 // constructor thunks
76 // NOLINTBEGIN
77 MCAPI void* $ctor(::SharedTypes::v1_21_80::IconItemComponent component);
78 // NOLINTEND
79
80public:
81 // virtual function thunks
82 // NOLINTBEGIN
83 MCAPI void $_initializeComponent(::ComponentItem& owner);
84
85
86 // NOLINTEND
87
88public:
89 // vftables
90 // NOLINTBEGIN
91 MCNAPI static void** $vftable();
92 // NOLINTEND
93};
Definition ComponentItem.h:55
Definition HashedString.h:5
static MCAPI void ** $vftable()
Definition NetworkedItemComponent.h:7
Definition SemVersion.h:15
Definition IconItemComponent.h:15
Definition ReflectionCtx.h:11
Definition ctx.h:5