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