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; }
13namespace Editor::Cursor { struct Position; }
14namespace Editor::Cursor { struct Ray; }
15// clang-format on
16
17namespace Editor::Cursor {
18
19class Cursor {
20public:
21 // member variables
22 // NOLINTBEGIN
28 // NOLINTEND
29
30public:
31 // prevent constructor by default
32 Cursor& operator=(Cursor const&);
33 Cursor(Cursor const&);
34
35public:
36 // virtual functions
37 // NOLINTBEGIN
38 virtual ~Cursor() = default;
39
40 virtual void setCursorState(::Editor::Cursor::CursorState&& state);
41
42 virtual void setCursorState(::Editor::Cursor::CursorState const& state);
43
44 virtual void setAttachmentProperties(::Editor::Cursor::AttachmentProperties&& props);
45
46 virtual void setAttachmentProperties(::Editor::Cursor::AttachmentProperties const& props);
47
48 virtual ::Scripting::Result_deprecated<::BlockPos> moveCursor(::glm::ivec3 const& offset);
49 // NOLINTEND
50
51public:
52 // member functions
53 // NOLINTBEGIN
54 MCNAPI Cursor();
55
56 MCNAPI ::std::optional<::Editor::Cursor::Position>& _getBlockPosition();
57
58#ifdef LL_PLAT_C
59 MCNAPI ::Editor::Cursor::Position& _getManualBlockPosition();
60
61 MCNAPI ::Editor::Cursor::Ray& _getRay();
62#endif
63
64 MCNAPI ::Editor::Cursor::AttachmentProperties getAttachmentProperties() const;
65
66 MCNAPI ::std::optional<::Editor::Cursor::Position> const& getBlockPosition() const;
67
68 MCNAPI ::Editor::Cursor::CursorState getCursorState() const;
69
70#ifdef LL_PLAT_C
71 MCNAPI ::Editor::Cursor::Ray const& getRay() const;
72#endif
73 // NOLINTEND
74
75public:
76 // constructor thunks
77 // NOLINTBEGIN
78 MCNAPI void* $ctor();
79 // NOLINTEND
80
81public:
82 // virtual function thunks
83 // NOLINTBEGIN
85
87
89
91
92 MCNAPI ::Scripting::Result_deprecated<::BlockPos> $moveCursor(::glm::ivec3 const& offset);
93
94
95 // NOLINTEND
96
97public:
98 // vftables
99 // NOLINTBEGIN
100 MCNAPI static void** $vftable();
101 // NOLINTEND
102};
103
104} // namespace Editor::Cursor
Definition BlockPos.h:21
MCAPI ::Scripting::Result_deprecated<::BlockPos > $moveCursor(::glm::ivec3 const &offset)
MCAPI void $setCursorState(::Editor::Cursor::CursorState &&state)
MCAPI::Editor::Cursor::AttachmentProperties getAttachmentProperties() const
MCAPI ::std::optional<::Editor::Cursor::Position > & _getBlockPosition()
MCAPI void $setAttachmentProperties(::Editor::Cursor::AttachmentProperties const &props)
MCAPI void $setAttachmentProperties(::Editor::Cursor::AttachmentProperties &&props)
static MCAPI void ** $vftable()
MCAPI ::std::optional<::Editor::Cursor::Position > const & getBlockPosition() const
MCAPI::Editor::Cursor::CursorState getCursorState() const
MCAPI void * $ctor()
MCAPI void $setCursorState(::Editor::Cursor::CursorState const &state)
Definition AttachmentProperties.h:7
Definition CursorState.h:12
Definition Position.h:12
Definition Ray.h:12
Definition Alias.h:14