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
25public:
26 // prevent constructor by default
27 IconItemComponent();
28
29public:
30 // virtual functions
31 // NOLINTBEGIN
32 virtual void _initializeComponent(::ComponentItem& owner) /*override*/;
33 // NOLINTEND
34
35public:
36 // member functions
37 // NOLINTBEGIN
38 MCAPI explicit IconItemComponent(::SharedTypes::v1_21_80::IconItemComponent component);
39
40#ifdef LL_PLAT_C
41 MCAPI ::std::string const& getBundleOpenBackTexture() const;
42
43 MCAPI ::std::string const& getBundleOpenFrontTexture() const;
44#endif
45
46 MCAPI void setTexturePath(::std::string const& texturePath);
47 // NOLINTEND
48
49public:
50 // static functions
51 // NOLINTBEGIN
52 MCAPI static void bindType(
54 ::std::vector<::AllExperiments> const& requiredToggles,
55 ::std::optional<::SemVersion> releasedMinFormatVersion
56 );
57 // NOLINTEND
58
59public:
60 // constructor thunks
61 // NOLINTBEGIN
62 MCAPI void* $ctor(::SharedTypes::v1_21_80::IconItemComponent component);
63 // NOLINTEND
64
65public:
66 // virtual function thunks
67 // NOLINTBEGIN
68 MCAPI void $_initializeComponent(::ComponentItem& owner);
69
70
71 // NOLINTEND
72
73public:
74 // vftables
75 // NOLINTBEGIN
76 MCNAPI static void** $vftable();
77 // NOLINTEND
78};
Definition ComponentItem.h:50
static MCAPI void ** $vftable()
Definition NetworkedItemComponent.h:7
Definition SemVersion.h:15
Definition IconItemComponent.h:15
Definition ReflectionCtx.h:11
Definition ctx.h:5