LeviLamina
Loading...
Searching...
No Matches
ScriptPlayerInventoryItemChangeAfterEvent.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#include "mc/scripting/modules/minecraft/items/ScriptPlayerInventoryType.h"
8
9// auto generated forward declare list
10// clang-format off
11class Player;
12namespace ScriptModuleMinecraft { class ScriptItemStack; }
13namespace ScriptModuleMinecraft { class ScriptPlayer; }
14namespace Scripting { class WeakLifetimeScope; }
15namespace Scripting { struct ClassBinding; }
16// clang-format on
17
18namespace ScriptModuleMinecraft {
19
21public:
22 // member variables
23 // NOLINTBEGIN
24 ::ll::TypedStorage<8, 32, ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptPlayer>>
25 mPlayerHandle;
26 ::ll::TypedStorage<
27 8,
28 40,
29 ::std::optional<::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptItemStack>>>
30 mBeforeItemStack;
31 ::ll::TypedStorage<
32 8,
33 40,
34 ::std::optional<::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptItemStack>>>
35 mAfterItemStack;
36 ::ll::TypedStorage<4, 4, ::ScriptModuleMinecraft::ScriptPlayerInventoryType> mplayerInventoryType;
37 ::ll::TypedStorage<4, 4, int> mSlotNumber;
38 ::ll::TypedStorage<1, 1, bool> mIsQuantityChangedOnly;
39 // NOLINTEND
40
41public:
42 // prevent constructor by default
45
46public:
47 // member functions
48 // NOLINTBEGIN
49 MCAPI
51
54 );
55
57 ::Player const& player,
60 ::ScriptModuleMinecraft::ScriptPlayerInventoryType playerInventoryType,
61 int slotNumber,
62 bool isQuantityChanged,
64 );
65
67 // NOLINTEND
68
69public:
70 // static functions
71 // NOLINTBEGIN
72 MCAPI static ::Scripting::ClassBinding bind();
73 // NOLINTEND
74
75public:
76 // constructor thunks
77 // NOLINTBEGIN
79
81
82 MCAPI void* $ctor(
83 ::Player const& player,
86 ::ScriptModuleMinecraft::ScriptPlayerInventoryType playerInventoryType,
87 int slotNumber,
88 bool isQuantityChanged,
90 );
91 // NOLINTEND
92
93public:
94 // destructor thunk
95 // NOLINTBEGIN
96 MCFOLD void $dtor();
97 // NOLINTEND
98};
99
100} // namespace ScriptModuleMinecraft
Definition Player.h:123
Definition StrongTypedObjectHandle.h:8
Definition WeakLifetimeScope.h:7
Definition ScriptPlayerInventoryItemChangeAfterEvent.h:20