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
12
class
HashedString
;
13
class
SemVersion
;
14
namespace
SharedTypes::v1_21_80 {
struct
IconItemComponent
; }
15
namespace
cereal {
struct
ReflectionCtx; }
16
// clang-format on
17
18
class
IconItemComponent
:
public
::NetworkedItemComponent
<::IconItemComponent> {
19
public
:
20
// member variables
21
// NOLINTBEGIN
22
::ll::TypedStorage<8, 64, ::std::unordered_map<::std::string, ::SharedTypes::Reference<5>>> mTextures;
23
// NOLINTEND
24
25
public
:
26
// prevent constructor by default
27
IconItemComponent
();
28
29
public
:
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
39
public
:
40
// member functions
41
// NOLINTBEGIN
42
MCAPI
explicit
IconItemComponent
(
::SharedTypes::v1_21_80::IconItemComponent
component);
43
44
MCAPI ::std::string
const
& getDefaultTexture()
const
;
45
46
MCAPI
void
setTexturePath(::std::string
const
& texturePath);
47
// NOLINTEND
48
49
public
:
50
// static functions
51
// NOLINTBEGIN
52
MCAPI
static
void
bindType(
53
::cereal::ReflectionCtx
&
ctx
,
54
::std::vector<::AllExperiments>
const
& requiredToggles,
55
::std::optional<::SemVersion> releasedMinFormatVersion
56
);
57
58
MCAPI static ::HashedString
const
& getIdentifier();
59
// NOLINTEND
60
61
public
:
62
// constructor thunks
63
// NOLINTBEGIN
64
MCAPI
void
* $ctor(
::SharedTypes::v1_21_80::IconItemComponent
component);
65
// NOLINTEND
66
67
public
:
68
// virtual function thunks
69
// NOLINTBEGIN
70
MCAPI
void
$_initializeComponent();
71
// NOLINTEND
72
73
public
:
74
// vftables
75
// NOLINTBEGIN
76
MCNAPI
static
void
**
$vftable
();
77
// NOLINTEND
78
};
HashedString
Definition
HashedString.h:5
IconItemComponent
Definition
IconItemComponent.h:18
IconItemComponent::$vftable
static MCAPI void ** $vftable()
NetworkedItemComponent
Definition
NetworkedItemComponent.h:7
SemVersion
Definition
SemVersion.h:16
SharedTypes::v1_21_80::IconItemComponent
Definition
IconItemComponent.h:12
cereal::ReflectionCtx
Definition
ReflectionCtx.h:11
ctx
Definition
ctx.h:5
src
mc
world
item
components
IconItemComponent.h
Generated on Wed Aug 27 2025 11:39:40 for LeviLamina by
1.12.0