LeviLamina
Loading...
Searching...
No Matches
ScriptItemUseOnAfterEvent.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/math/Vec3.h"
7#include "mc/deps/script_core/lifetime_registry/scripting/StrongTypedObjectHandle.h"
8#include "mc/scripting/modules/minecraft/events/ScriptItemUseOnEvent.h"
9
10// auto generated forward declare list
11// clang-format off
12class Player;
13struct ItemUseOnEvent;
14namespace ScriptModuleMinecraft { class ScriptItemStack; }
15namespace ScriptModuleMinecraft { class ScriptPlayer; }
16namespace ScriptModuleMinecraft { struct ScriptItemUseOnIntermediateData; }
17namespace Scripting { class WeakLifetimeScope; }
18namespace Scripting { struct ClassBinding; }
19// clang-format on
20
21namespace ScriptModuleMinecraft {
22
23struct ScriptItemUseOnAfterEvent : public ::ScriptModuleMinecraft::ScriptItemUseOnEvent {
24public:
25 // ScriptItemUseOnAfterEvent inner types define
27
28public:
29 // member variables
30 // NOLINTBEGIN
31 ::ll::TypedStorage<8, 32, ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptPlayer>> mSource;
32 ::ll::TypedStorage<1, 1, bool> mIsFirstEvent;
33 ::ll::TypedStorage<4, 12, ::Vec3> mBlockPositionV010;
34 // NOLINTEND
35
36public:
37 // prevent constructor by default
38 ScriptItemUseOnAfterEvent();
39
40public:
41 // member functions
42 // NOLINTBEGIN
43 MCAPI ScriptItemUseOnAfterEvent(
44 ::std::shared_ptr<::ScriptModuleMinecraft::ScriptItemUseOnIntermediateData> const& evtData,
46 );
47
48 MCAPI ScriptItemUseOnAfterEvent(
49 ::ItemUseOnEvent const& itemEvent,
51 ::Player const& player,
53 );
54 // NOLINTEND
55
56public:
57 // static functions
58 // NOLINTBEGIN
59 MCAPI static ::Scripting::ClassBinding bind();
60
61 MCAPI static ::Scripting::ClassBinding bindV010();
62 // NOLINTEND
63
64public:
65 // constructor thunks
66 // NOLINTBEGIN
67 MCAPI void* $ctor(
68 ::std::shared_ptr<::ScriptModuleMinecraft::ScriptItemUseOnIntermediateData> const& evtData,
70 );
71
72 MCAPI void* $ctor(
73 ::ItemUseOnEvent const& itemEvent,
75 ::Player const& player,
77 );
78 // NOLINTEND
79};
80
81} // namespace ScriptModuleMinecraft
Definition Player.h:129
Definition ScriptItemStack.h:30
Definition ScriptPlayer.h:42
Definition StrongTypedObjectHandle.h:8
Definition WeakLifetimeScope.h:12
Definition ItemUseOnEvent.h:11
Definition ScriptItemUseOnEvent.h:22
Definition ScriptItemUseOnIntermediateData.h:18
Definition ClassBinding.h:10