Skip to content
LeviMC
English
AutoLightDark
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/script_core/lifetime_registry/scripting/StrongTypedObjectHandle.h"
7#include "mc/scripting/modules/minecraft/items/ScriptPlayerInventoryType.h"
8
9// auto generated forward declare list
10// clang-format off
11namespace ScriptModuleMinecraft { class ScriptItemStack; }
12namespace ScriptModuleMinecraft { class ScriptPlayer; }
13namespace ScriptModuleMinecraft { struct ScriptPlayerInventoryItemChangeIntermediateData; }
14namespace Scripting { class WeakLifetimeScope; }
15namespace Scripting { struct ClassBinding; }
16// clang-format on
17
18namespace ScriptModuleMinecraft {
19
20struct ScriptPlayerInventoryItemChangeAfterEvent {
21public:
22 // ScriptPlayerInventoryItemChangeAfterEvent inner types define
24
25public:
26 // member variables
27 // NOLINTBEGIN
28 ::ll::TypedStorage<8, 32, ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptPlayer>>
29 mPlayerHandle;
30 ::ll::TypedStorage<
31 8,
32 40,
33 ::std::optional<::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptItemStack>>>
34 mBeforeItemStack;
35 ::ll::TypedStorage<
36 8,
37 40,
38 ::std::optional<::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptItemStack>>>
39 mAfterItemStack;
40 ::ll::TypedStorage<4, 4, ::ScriptModuleMinecraft::ScriptPlayerInventoryType> mplayerInventoryType;
41 ::ll::TypedStorage<4, 4, int> mSlotNumber;
42 ::ll::TypedStorage<1, 1, bool> mIsQuantityChangedOnly;
43 // NOLINTEND
44
45public:
46 // prevent constructor by default
47 ScriptPlayerInventoryItemChangeAfterEvent& operator=(ScriptPlayerInventoryItemChangeAfterEvent const&);
48 ScriptPlayerInventoryItemChangeAfterEvent();
49
50public:
51 // member functions
52 // NOLINTBEGIN
55 );
56
58 ::std::shared_ptr<::ScriptModuleMinecraft::ScriptPlayerInventoryItemChangeIntermediateData> const& evtData,
60 );
61 // NOLINTEND
62
63public:
64 // static functions
65 // NOLINTBEGIN
66 MCNAPI static ::Scripting::ClassBinding bind();
67 // NOLINTEND
68
69public:
70 // constructor thunks
71 // NOLINTBEGIN
73
74 MCNAPI void* $ctor(
75 ::std::shared_ptr<::ScriptModuleMinecraft::ScriptPlayerInventoryItemChangeIntermediateData> const& evtData,
77 );
78 // NOLINTEND
79};
80
81} // namespace ScriptModuleMinecraft
Definition ScriptItemStack.h:30
Definition ScriptPlayer.h:42
Definition WeakLifetimeScope.h:12
Definition ScriptPlayerInventoryItemChangeAfterEvent.h:20
MCAPI void * $ctor(::std::shared_ptr<::ScriptModuleMinecraft::ScriptPlayerInventoryItemChangeIntermediateData > const &evtData, ::Scripting::WeakLifetimeScope const &scope)
MCAPI ScriptPlayerInventoryItemChangeAfterEvent(::ScriptModuleMinecraft::ScriptPlayerInventoryItemChangeAfterEvent const &)
MCAPI void * $ctor(::ScriptModuleMinecraft::ScriptPlayerInventoryItemChangeAfterEvent const &)
MCAPI ScriptPlayerInventoryItemChangeAfterEvent(::std::shared_ptr<::ScriptModuleMinecraft::ScriptPlayerInventoryItemChangeIntermediateData > const &evtData, ::Scripting::WeakLifetimeScope const &scope)
Definition ScriptPlayerInventoryItemChangeIntermediateData.h:12
Definition ClassBinding.h:10