LeviLamina
Loading...
Searching...
No Matches
ScriptPlayerPlaceBlockBeforeEvent.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/ScriptBlockEvent.h"
10
11// auto generated forward declare list
12// clang-format off
13class Block;
14class BlockPos;
15class Dimension;
16class Player;
17namespace ScriptModuleMinecraft { class ScriptBlockPermutation; }
18namespace ScriptModuleMinecraft { class ScriptPlayer; }
19namespace Scripting { class WeakLifetimeScope; }
20namespace Scripting { struct ClassBinding; }
21// clang-format on
22
23namespace ScriptModuleMinecraft {
24
26public:
27 // member variables
28 // NOLINTBEGIN
29 ::ll::TypedStorage<8, 32, ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptPlayer>> mPlayer;
30 ::ll::TypedStorage<4, 4, ::ScriptModuleMinecraft::ScriptFacing> mFace;
31 ::ll::TypedStorage<4, 12, ::Vec3> mFaceLocation;
32 ::ll::TypedStorage<1, 1, bool> mCancel;
33 ::ll::TypedStorage<8, 32, ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptBlockPermutation>>
34 mPermutation;
35 // NOLINTEND
36
37public:
38 // prevent constructor by default
41
42public:
43 // member functions
44 // NOLINTBEGIN
46
48
50 ::Player const& player,
51 ::Dimension& dimension,
52 ::BlockPos const& pos,
53 uchar face,
54 ::Vec3 const& faceLocation,
55 ::Block const& permutationToPlace,
57 );
58
60 // NOLINTEND
61
62public:
63 // static functions
64 // NOLINTBEGIN
65 MCAPI static ::Scripting::ClassBinding bind();
66 // NOLINTEND
67
68public:
69 // constructor thunks
70 // NOLINTBEGIN
72
74
75 MCAPI void* $ctor(
76 ::Player const& player,
77 ::Dimension& dimension,
78 ::BlockPos const& pos,
79 uchar face,
80 ::Vec3 const& faceLocation,
81 ::Block const& permutationToPlace,
83 );
84 // NOLINTEND
85
86public:
87 // destructor thunk
88 // NOLINTBEGIN
89 MCAPI void $dtor();
90 // NOLINTEND
91};
92
93} // namespace ScriptModuleMinecraft
Definition BlockPos.h:17
Definition Block.h:38
Definition Dimension.h:83
Definition Player.h:123
Definition WeakLifetimeScope.h:7
Definition Vec3.h:10
Definition ScriptBlockEvent.h:17
Definition ScriptPlayerPlaceBlockBeforeEvent.h:25