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