LeviLamina
Loading...
Searching...
No Matches
ScriptPlayerHotbarSelectedSlotChangeAfterEvent.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/deps/scripting/lifetime_registry/StrongTypedObjectHandle.h"
7
8
// auto generated forward declare list
9
// clang-format off
10
class
Player
;
11
namespace
ScriptModuleMinecraft {
class
ScriptItemStack; }
12
namespace
ScriptModuleMinecraft {
class
ScriptPlayer; }
13
namespace
Scripting {
class
WeakLifetimeScope; }
14
namespace
Scripting {
struct
ClassBinding; }
15
// clang-format on
16
17
namespace
ScriptModuleMinecraft {
18
19
struct
ScriptPlayerHotbarSelectedSlotChangeAfterEvent
{
20
public
:
21
// member variables
22
// NOLINTBEGIN
23
::ll::TypedStorage<8, 32, ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptPlayer>>
24
mPlayerHandle;
25
::ll::TypedStorage<4, 4, int> mPreviousSlotSelected;
26
::ll::TypedStorage<4, 4, int> mNewSlotSelected;
27
::ll::TypedStorage<
28
8,
29
40,
30
::std::optional<::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptItemStack>>>
31
mItemStack;
32
// NOLINTEND
33
34
public
:
35
// prevent constructor by default
36
ScriptPlayerHotbarSelectedSlotChangeAfterEvent
& operator=(
ScriptPlayerHotbarSelectedSlotChangeAfterEvent
const
&);
37
ScriptPlayerHotbarSelectedSlotChangeAfterEvent
();
38
39
public
:
40
// member functions
41
// NOLINTBEGIN
42
MCAPI
ScriptPlayerHotbarSelectedSlotChangeAfterEvent
(
43
::ScriptModuleMinecraft::ScriptPlayerHotbarSelectedSlotChangeAfterEvent
const
&
44
);
45
46
MCAPI
ScriptPlayerHotbarSelectedSlotChangeAfterEvent
(
47
::Player
const
& player,
48
int
previousSlotSelected,
49
int
newSlotSelected,
50
::std::optional<
::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptItemStack>
> item,
51
::Scripting::WeakLifetimeScope
const
& scope
52
);
53
54
MCAPI
~ScriptPlayerHotbarSelectedSlotChangeAfterEvent
();
55
// NOLINTEND
56
57
public
:
58
// static functions
59
// NOLINTBEGIN
60
MCAPI static ::Scripting::ClassBinding bind();
61
// NOLINTEND
62
63
public
:
64
// constructor thunks
65
// NOLINTBEGIN
66
MCAPI
void
* $ctor(
::ScriptModuleMinecraft::ScriptPlayerHotbarSelectedSlotChangeAfterEvent
const
&);
67
68
MCAPI
void
* $ctor(
69
::Player
const
& player,
70
int
previousSlotSelected,
71
int
newSlotSelected,
72
::std::optional<
::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptItemStack>
> item,
73
::Scripting::WeakLifetimeScope
const
& scope
74
);
75
// NOLINTEND
76
77
public
:
78
// destructor thunk
79
// NOLINTBEGIN
80
MCAPI
void
$dtor();
81
// NOLINTEND
82
};
83
84
}
// namespace ScriptModuleMinecraft
Player
Definition
Player.h:123
Scripting::StrongTypedObjectHandle
Definition
StrongTypedObjectHandle.h:8
Scripting::WeakLifetimeScope
Definition
WeakLifetimeScope.h:7
ScriptModuleMinecraft::ScriptPlayerHotbarSelectedSlotChangeAfterEvent
Definition
ScriptPlayerHotbarSelectedSlotChangeAfterEvent.h:19
src-server
mc
scripting
modules
minecraft
events
ScriptPlayerHotbarSelectedSlotChangeAfterEvent.h
Generated on Tue Nov 18 2025 07:41:47 for LeviLamina by
1.12.0