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 SemVersion;
14namespace SharedTypes::v1_21_80 { struct IconItemComponent; }
15namespace cereal { struct ReflectionCtx; }
16// clang-format on
17
18class IconItemComponent : public ::NetworkedItemComponent<::IconItemComponent> {
19public:
20 // member variables
21 // NOLINTBEGIN
22 ::ll::TypedStorage<8, 64, ::std::unordered_map<::std::string, ::SharedTypes::Reference<11>>> mTextures;
23 // NOLINTEND
24
25#ifdef LL_PLAT_S
26public:
27 // prevent constructor by default
29
30#else // LL_PLAT_C
31#endif
32public:
33 // virtual functions
34 // NOLINTBEGIN
35 virtual void _initializeComponent(::ComponentItem& owner) /*override*/;
36 // NOLINTEND
37
38public:
39 // member functions
40 // NOLINTBEGIN
41#ifdef LL_PLAT_S
43#endif
44
45#ifdef LL_PLAT_C
46 MCAPI ::std::string const& getBundleOpenBackTexture() const;
47
48 MCAPI ::std::string const& getBundleOpenFrontTexture() const;
49#endif
50
51 MCAPI void setTexturePath(::std::string const& texturePath);
52 // NOLINTEND
53
54public:
55 // static functions
56 // NOLINTBEGIN
57#ifdef LL_PLAT_S
58 MCAPI static void bindType(
60 ::std::vector<::AllExperiments> const& requiredToggles,
61 ::std::optional<::SemVersion> releasedMinFormatVersion
62 );
63#endif
64 // NOLINTEND
65
66public:
67 // constructor thunks
68 // NOLINTBEGIN
69#ifdef LL_PLAT_S
70 MCAPI void* $ctor(::SharedTypes::v1_21_80::IconItemComponent component);
71#endif
72 // NOLINTEND
73
74public:
75 // virtual function thunks
76 // NOLINTBEGIN
77 MCAPI void $_initializeComponent(::ComponentItem& owner);
78
79
80 // NOLINTEND
81
82public:
83 // vftables
84 // NOLINTBEGIN
85 MCNAPI static void** $vftable();
86 // NOLINTEND
87};
Definition ComponentItem.h:50
Definition IconItemComponent.h:18
static MCAPI void ** $vftable()
Definition NetworkedItemComponent.h:7
Definition SemVersion.h:15
Definition IconItemComponent.h:15
Definition ReflectionCtx.h:11
Definition ctx.h:5