LeviLamina
Loading...
Searching...
No Matches
AdmireItemComponent.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/deps/ecs/WeakEntityRef.h"
7
#include "mc/world/item/ItemStack.h"
8
#include "mc/world/level/Tick.h"
9
10
// auto generated forward declare list
11
// clang-format off
12
class
Actor
;
13
// clang-format on
14
15
struct
AdmireItemComponent
{
16
public
:
17
// member variables
18
// NOLINTBEGIN
19
::ll::TypedStorage<1, 1, bool> mIsAdmiring;
20
::ll::TypedStorage<8, 152, ::ItemStack> mAdmireItem;
21
::ll::TypedStorage<8, 8, ::Tick> mAdmireUntil;
22
::ll::TypedStorage<8, 24, ::WeakEntityRef> mItemOwnerRef;
23
// NOLINTEND
24
25
public
:
26
// prevent constructor by default
27
AdmireItemComponent
& operator=(
AdmireItemComponent
const
&);
28
AdmireItemComponent
(
AdmireItemComponent
const
&);
29
AdmireItemComponent
();
30
31
public
:
32
// member functions
33
// NOLINTBEGIN
34
MCAPI
AdmireItemComponent
(
::AdmireItemComponent
&&);
35
36
MCAPI
void
onAdmireItemPickedUp(
::Actor
const
& owner,
::ItemStack
const
& item,
::Actor
* itemOwner);
37
38
MCAPI ::AdmireItemComponent& operator=(
::AdmireItemComponent
&&);
39
40
MCAPI
void
stopAdmiring();
41
42
MCAPI
~AdmireItemComponent
();
43
// NOLINTEND
44
45
public
:
46
// constructor thunks
47
// NOLINTBEGIN
48
MCAPI
void
* $ctor(
::AdmireItemComponent
&&);
49
// NOLINTEND
50
51
public
:
52
// destructor thunk
53
// NOLINTBEGIN
54
MCAPI
void
$dtor();
55
// NOLINTEND
56
};
Actor
Definition
Actor.h:102
ItemStack
Definition
ItemStack.h:23
AdmireItemComponent
Definition
AdmireItemComponent.h:15
src-server
mc
entity
components
AdmireItemComponent.h
Generated on Sun Oct 12 2025 06:31:36 for LeviLamina by
1.12.0