LeviLamina
Loading...
Searching...
No Matches
ScriptBlockRaycastHit.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
10// auto generated forward declare list
11// clang-format off
12class BlockPos;
13class BlockSource;
14namespace ScriptModuleMinecraft { class ScriptBlock; }
15namespace Scripting { class WeakLifetimeScope; }
16namespace Scripting { struct InterfaceBinding; }
17// clang-format on
18
19namespace ScriptModuleMinecraft {
20
21class ScriptBlockRaycastHit {
22public:
23 // member variables
24 // NOLINTBEGIN
25 ::ll::TypedStorage<8, 32, ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptBlock>> mBlock;
26 ::ll::TypedStorage<4, 4, ::ScriptModuleMinecraft::ScriptFacing> mFace;
27 ::ll::TypedStorage<4, 12, ::Vec3> mFaceLocationAbsolute;
28 ::ll::TypedStorage<4, 12, ::Vec3> mFaceLocationRelative;
29 // NOLINTEND
30
31public:
32 // prevent constructor by default
33 ScriptBlockRaycastHit();
34
35public:
36 // member functions
37 // NOLINTBEGIN
38 MCAPI ScriptBlockRaycastHit(
39 ::BlockSource& source,
40 ::BlockPos const& pos,
41 uchar face,
42 ::Vec3 const& faceLocation,
44 );
45 // NOLINTEND
46
47public:
48 // static functions
49 // NOLINTBEGIN
50 MCAPI static ::Scripting::InterfaceBinding bind();
51 // NOLINTEND
52
53public:
54 // constructor thunks
55 // NOLINTBEGIN
56 MCAPI void* $ctor(
57 ::BlockSource& source,
58 ::BlockPos const& pos,
59 uchar face,
60 ::Vec3 const& faceLocation,
62 );
63 // NOLINTEND
64};
65
66} // namespace ScriptModuleMinecraft
Definition BlockPos.h:21
Definition BlockSource.h:72
Definition ScriptBlock.h:35
Definition WeakLifetimeScope.h:14
Definition Vec3.h:10
Definition InterfaceBinding.h:16