LeviLamina
Loading...
Searching...
No Matches
Cursor.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/scripting/runtime/Result_deprecated.h"
7
8// auto generated forward declare list
9// clang-format off
10class BlockPos;
11namespace Editor::Cursor { struct AttachmentProperties; }
12namespace Editor::Cursor { struct CursorState; }
13// clang-format on
14
15namespace Editor::Cursor {
16
17class Cursor {
18public:
19 // member variables
20 // NOLINTBEGIN
26 // NOLINTEND
27
28#ifdef LL_PLAT_S
29public:
30 // prevent constructor by default
31 Cursor& operator=(Cursor const&);
32 Cursor(Cursor const&);
33 Cursor();
34
35#else // LL_PLAT_C
36public:
37 // prevent constructor by default
38 Cursor& operator=(Cursor const&);
39 Cursor(Cursor const&);
40
41#endif
42public:
43 // virtual functions
44 // NOLINTBEGIN
45 virtual ~Cursor() = default;
46
47 virtual void setCursorState(::Editor::Cursor::CursorState&& state);
48
49 virtual void setCursorState(::Editor::Cursor::CursorState const& state);
50
51 virtual void setAttachmentProperties(::Editor::Cursor::AttachmentProperties&& props);
52
53 virtual void setAttachmentProperties(::Editor::Cursor::AttachmentProperties const& props);
54
55 virtual ::Scripting::Result_deprecated<::BlockPos> moveCursor(::glm::ivec3 const& offset);
56 // NOLINTEND
57
58public:
59 // member functions
60 // NOLINTBEGIN
61#ifdef LL_PLAT_C
62 MCNAPI Cursor();
63#endif
64 // NOLINTEND
65
66public:
67 // constructor thunks
68 // NOLINTBEGIN
69#ifdef LL_PLAT_C
70 MCNAPI void* $ctor();
71#endif
72 // NOLINTEND
73
74public:
75 // virtual function thunks
76 // NOLINTBEGIN
78
80
82
84
85 MCNAPI ::Scripting::Result_deprecated<::BlockPos> $moveCursor(::glm::ivec3 const& offset);
86
87
88 // NOLINTEND
89
90public:
91 // vftables
92 // NOLINTBEGIN
93 MCNAPI static void** $vftable();
94 // NOLINTEND
95};
96
97} // namespace Editor::Cursor
Definition BlockPos.h:19
MCAPI ::Scripting::Result_deprecated<::BlockPos > $moveCursor(::glm::ivec3 const &offset)
MCAPI void $setCursorState(::Editor::Cursor::CursorState &&state)
MCAPI void $setAttachmentProperties(::Editor::Cursor::AttachmentProperties const &props)
MCAPI void $setAttachmentProperties(::Editor::Cursor::AttachmentProperties &&props)
static MCAPI void ** $vftable()
MCAPI void $setCursorState(::Editor::Cursor::CursorState const &state)
Definition AttachmentProperties.h:7
Definition CursorState.h:12
Definition Alias.h:14