LeviLamina
Loading...
Searching...
No Matches
ScriptDebuggerCommandOrigin.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/utility/AutomaticID.h"
7#include "mc/server/commands/CommandOrigin.h"
8#include "mc/server/commands/CommandOriginType.h"
9#include "mc/server/commands/CommandPermissionLevel.h"
10
11// auto generated forward declare list
12// clang-format off
13class Actor;
14class BlockPos;
15class Dimension;
16class Level;
17class ServerLevel;
18class Vec2;
19class Vec3;
20// clang-format on
21
23public:
24 // member variables
25 // NOLINTBEGIN
30 // NOLINTEND
31
32public:
33 // prevent constructor by default
37
38public:
39 // virtual functions
40 // NOLINTBEGIN
41 // vIndex: 0
42 virtual ~ScriptDebuggerCommandOrigin() /*override*/ = default;
43
44 // vIndex: 1
45 virtual ::std::string const& getRequestId() const /*override*/;
46
47 // vIndex: 2
48 virtual ::std::string getName() const /*override*/;
49
50 // vIndex: 3
51 virtual ::BlockPos getBlockPosition() const /*override*/;
52
53 // vIndex: 4
54 virtual ::Vec3 getWorldPosition() const /*override*/;
55
56 // vIndex: 5
57 virtual ::std::optional<::Vec2> getRotation() const /*override*/;
58
59 // vIndex: 6
60 virtual ::Level* getLevel() const /*override*/;
61
62 // vIndex: 7
63 virtual ::Dimension* getDimension() const /*override*/;
64
65 // vIndex: 8
66 virtual ::Actor* getEntity() const /*override*/;
67
68 // vIndex: 9
69 virtual ::CommandPermissionLevel getPermissionsLevel() const /*override*/;
70
71 // vIndex: 10
72 virtual ::std::unique_ptr<::CommandOrigin> clone() const /*override*/;
73
74 // vIndex: 17
75 virtual bool canUseCommandsWithoutCheatsEnabled() const /*override*/;
76
77 // vIndex: 18
78 virtual bool isSelectorExpansionAllowed() const /*override*/;
79
80 // vIndex: 23
81 virtual ::CommandOriginType getOriginType() const /*override*/;
82
83 // vIndex: 26
84 virtual void handleCommandOutputCallback(int successCount, ::std::string&& messages) const /*override*/;
85
86 // vIndex: 30
87 virtual bool isValid() const /*override*/;
88 // NOLINTEND
89
90public:
91 // member functions
92 // NOLINTBEGIN
94 ::ServerLevel& origin,
95 ::CommandPermissionLevel permissionLevel,
96 ::DimensionType dimensionType,
97 ::std::function<void(int, ::std::string&&)> outputCallback
98 );
99 // NOLINTEND
100
101public:
102 // constructor thunks
103 // NOLINTBEGIN
104 MCAPI void* $ctor(
105 ::ServerLevel& origin,
106 ::CommandPermissionLevel permissionLevel,
107 ::DimensionType dimensionType,
108 ::std::function<void(int, ::std::string&&)> outputCallback
109 );
110 // NOLINTEND
111
112public:
113 // destructor thunk
114 // NOLINTBEGIN
115
116 // NOLINTEND
117
118public:
119 // virtual function thunks
120 // NOLINTBEGIN
121 MCFOLD ::std::string const& $getRequestId() const;
122
123 MCAPI ::std::string $getName() const;
124
125 MCFOLD ::BlockPos $getBlockPosition() const;
126
127 MCFOLD ::Vec3 $getWorldPosition() const;
128
129 MCFOLD ::std::optional<::Vec2> $getRotation() const;
130
131 MCFOLD ::Level* $getLevel() const;
132
133 MCAPI ::Dimension* $getDimension() const;
134
135 MCFOLD ::Actor* $getEntity() const;
136
137 MCFOLD ::CommandPermissionLevel $getPermissionsLevel() const;
138
139 MCAPI ::std::unique_ptr<::CommandOrigin> $clone() const;
140
141 MCFOLD bool $canUseCommandsWithoutCheatsEnabled() const;
142
143 MCFOLD bool $isSelectorExpansionAllowed() const;
144
145 MCFOLD ::CommandOriginType $getOriginType() const;
146
147 MCAPI void $handleCommandOutputCallback(int successCount, ::std::string&& messages) const;
148
149 MCFOLD bool $isValid() const;
150 // NOLINTEND
151
152public:
153 // vftables
154 // NOLINTBEGIN
155 MCAPI static void** $vftable();
156 // NOLINTEND
157};
Definition Actor.h:104
Definition AutomaticID.h:6
Definition BlockPos.h:18
Definition CommandOrigin.h:32
Definition Dimension.h:83
Definition Level.h:234
Definition ScriptDebuggerCommandOrigin.h:22
Definition ServerLevel.h:52
Definition Vec2.h:5
Definition Vec3.h:10
Definition Alias.h:14