LeviLamina
Loading...
Searching...
No Matches
PlayerItemInUse.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/world/actor/player/PlayerInventorySlotData.h"
7
#include "mc/world/item/ItemStack.h"
8
9
// auto generated forward declare list
10
// clang-format off
11
class
EntityContext
;
12
class
Player
;
13
// clang-format on
14
15
struct
PlayerItemInUse
{
16
public
:
17
// member variables
18
// NOLINTBEGIN
19
::ll::TypedStorage<1, 1, bool> mShouldSendInteractionGameEvents;
20
::ll::TypedStorage<8, 152, ::ItemStack> mItem;
21
::ll::TypedStorage<4, 8, ::PlayerInventorySlotData> mSlot;
22
// NOLINTEND
23
24
public
:
25
// member functions
26
// NOLINTBEGIN
27
MCNAPI
void
releaseUsing
(
::Player
& player);
28
29
MCNAPI
void
30
setItemInUse
(
::ItemStack
const
& newItem,
::EntityContext
& owner,
int
duration,
::PlayerInventorySlotData
slot);
31
32
MCNAPI
~PlayerItemInUse
();
33
// NOLINTEND
34
35
public
:
36
// destructor thunk
37
// NOLINTBEGIN
38
MCNAPI
void
$dtor
();
39
// NOLINTEND
40
};
EntityContext
Definition
EntityContext.h:16
ItemStack
Definition
ItemStack.h:25
Player
Definition
Player.h:119
PlayerInventorySlotData
Definition
PlayerInventorySlotData.h:8
PlayerItemInUse
Definition
PlayerItemInUse.h:15
PlayerItemInUse::releaseUsing
MCAPI void releaseUsing(::Player &player)
PlayerItemInUse::setItemInUse
MCAPI void setItemInUse(::ItemStack const &newItem, ::EntityContext &owner, int duration, ::PlayerInventorySlotData slot)
PlayerItemInUse::~PlayerItemInUse
MCAPI ~PlayerItemInUse()
PlayerItemInUse::$dtor
MCAPI void $dtor()
src
mc
world
actor
player
PlayerItemInUse.h
Generated on Fri Jun 13 2025 05:05:03 for LeviLamina by
1.12.0