LeviLamina
Loading...
Searching...
No Matches
ScriptPlayerInteractWithBlockEvent.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/scripting/lifetime_registry/StrongTypedObjectHandle.h"
8#include "mc/scripting/modules/minecraft/ScriptFacing.h"
9#include "mc/scripting/modules/minecraft/events/ScriptPlayerInteractEvent.h"
10
11// auto generated forward declare list
12// clang-format off
13namespace ScriptModuleMinecraft { class ScriptBlock; }
14namespace ScriptModuleMinecraft { class ScriptPlayer; }
15// clang-format on
16
17namespace ScriptModuleMinecraft {
18
19struct ScriptPlayerInteractWithBlockEvent : public ::ScriptModuleMinecraft::ScriptPlayerInteractEvent {
20public:
21 // member variables
22 // NOLINTBEGIN
23 ::ll::TypedStorage<8, 32, ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptBlock>> mBlock;
24 ::ll::TypedStorage<4, 4, ::ScriptModuleMinecraft::ScriptFacing> mBlockFace;
25 ::ll::TypedStorage<4, 12, ::Vec3> mFaceLocationAbsolute;
26 ::ll::TypedStorage<4, 12, ::Vec3> mFaceLocationRelative;
27 ::ll::TypedStorage<1, 1, bool> mIsFirstEvent;
28 // NOLINTEND
29
30public:
31 // prevent constructor by default
32 ScriptPlayerInteractWithBlockEvent();
33
34public:
35 // member functions
36 // NOLINTBEGIN
37 MCAPI ScriptPlayerInteractWithBlockEvent(
40 ::ScriptModuleMinecraft::ScriptFacing blockFace,
41 ::Vec3 faceLocation,
42 bool isFirstEvent
43 );
44 // NOLINTEND
45
46public:
47 // constructor thunks
48 // NOLINTBEGIN
49 MCAPI void* $ctor(
52 ::ScriptModuleMinecraft::ScriptFacing blockFace,
53 ::Vec3 faceLocation,
54 bool isFirstEvent
55 );
56 // NOLINTEND
57};
58
59} // namespace ScriptModuleMinecraft
Definition ScriptBlock.h:35
Definition ScriptPlayer.h:56
Definition StrongTypedObjectHandle.h:8
Definition Vec3.h:10
Definition ScriptPlayerInteractEvent.h:15