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 HashedString;
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<5>>> mTextures;
23 // NOLINTEND
24
25public:
26 // prevent constructor by default
28
29public:
30 // virtual functions
31 // NOLINTBEGIN
32 // vIndex: 7
33 virtual void _initializeComponent() /*override*/;
34
35 // vIndex: 0
36 virtual ~IconItemComponent() /*override*/ = default;
37 // NOLINTEND
38
39public:
40 // member functions
41 // NOLINTBEGIN
43
44 MCAPI ::std::string const& getDefaultTexture() const;
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
58 MCAPI static ::HashedString const& getIdentifier();
59 // NOLINTEND
60
61public:
62 // constructor thunks
63 // NOLINTBEGIN
64 MCAPI void* $ctor(::SharedTypes::v1_21_80::IconItemComponent component);
65 // NOLINTEND
66
67public:
68 // virtual function thunks
69 // NOLINTBEGIN
70 MCAPI void $_initializeComponent();
71 // NOLINTEND
72
73public:
74 // vftables
75 // NOLINTBEGIN
76 MCNAPI static void** $vftable();
77 // NOLINTEND
78};
Definition HashedString.h:5
Definition IconItemComponent.h:18
static MCAPI void ** $vftable()
Definition NetworkedItemComponent.h:7
Definition SemVersion.h:16
Definition IconItemComponent.h:12
Definition ReflectionCtx.h:11
Definition ctx.h:5