LeviLamina
Loading...
Searching...
No Matches
BlockCommandOrigin.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;
14class BlockPos;
15class BlockSource;
17class CompoundTag;
18class Dimension;
19class Level;
20class Vec2;
21class Vec3;
22// clang-format on
23
25public:
26 // member variables
27 // NOLINTBEGIN
32 // NOLINTEND
33
34public:
35 // prevent constructor by default
36 BlockCommandOrigin& operator=(BlockCommandOrigin const&);
39
40public:
41 // virtual functions
42 // NOLINTBEGIN
43 // vIndex: 0
44 virtual ~BlockCommandOrigin() /*override*/;
45
46 // vIndex: 1
47 virtual ::std::string const& getRequestId() const /*override*/;
48
49 // vIndex: 2
50 virtual ::std::string getName() const /*override*/;
51
52 // vIndex: 3
53 virtual ::BlockPos getBlockPosition() const /*override*/;
54
55 // vIndex: 4
56 virtual ::Vec3 getWorldPosition() const /*override*/;
57
58 // vIndex: 5
59 virtual ::std::optional<::Vec2> getRotation() const /*override*/;
60
61 // vIndex: 6
62 virtual ::Level* getLevel() const /*override*/;
63
64 // vIndex: 7
65 virtual ::Dimension* getDimension() const /*override*/;
66
67 // vIndex: 8
68 virtual ::Actor* getEntity() const /*override*/;
69
70 // vIndex: 9
71 virtual ::CommandPermissionLevel getPermissionsLevel() const /*override*/;
72
73 // vIndex: 10
74 virtual ::std::unique_ptr<::CommandOrigin> clone() const /*override*/;
75
76 // vIndex: 17
77 virtual bool canUseCommandsWithoutCheatsEnabled() const /*override*/;
78
79 // vIndex: 18
80 virtual bool isSelectorExpansionAllowed() const /*override*/;
81
82 // vIndex: 23
83 virtual ::CommandOriginType getOriginType() const /*override*/;
84
85 // vIndex: 29
86 virtual ::CompoundTag serialize() const /*override*/;
87
88 // vIndex: 30
89 virtual bool isValid() const /*override*/;
90
91 // vIndex: 33
92 virtual ::BaseCommandBlock* _getBaseCommandBlock(::BlockSource& region) const;
93
94 // vIndex: 34
95 virtual ::CommandBlockActor* _getBlockEntity(::BlockSource& region) const;
96 // NOLINTEND
97
98public:
99 // member functions
100 // NOLINTBEGIN
101 MCAPI ::std::string _getName(::BlockSource& region) const;
102 // NOLINTEND
103
104public:
105 // static functions
106 // NOLINTBEGIN
107 MCAPI static ::std::unique_ptr<::BlockCommandOrigin> load(::CompoundTag const& tag, ::Level& level);
108 // NOLINTEND
109
110public:
111 // destructor thunk
112 // NOLINTBEGIN
113 MCFOLD void $dtor();
114 // NOLINTEND
115
116public:
117 // virtual function thunks
118 // NOLINTBEGIN
119 MCFOLD ::std::string const& $getRequestId() const;
120
121 MCFOLD ::std::string $getName() const;
122
123 MCAPI ::BlockPos $getBlockPosition() const;
124
125 MCAPI ::Vec3 $getWorldPosition() const;
126
127 MCAPI ::std::optional<::Vec2> $getRotation() const;
128
129 MCFOLD ::Level* $getLevel() const;
130
131 MCAPI ::Dimension* $getDimension() const;
132
133 MCFOLD ::Actor* $getEntity() const;
134
135 MCFOLD ::CommandPermissionLevel $getPermissionsLevel() const;
136
137 MCAPI ::std::unique_ptr<::CommandOrigin> $clone() const;
138
139 MCFOLD bool $canUseCommandsWithoutCheatsEnabled() const;
140
141 MCFOLD bool $isSelectorExpansionAllowed() const;
142
143 MCFOLD ::CommandOriginType $getOriginType() const;
144
145 MCAPI ::CompoundTag $serialize() const;
146
147 MCFOLD bool $isValid() const;
148
149 MCAPI ::BaseCommandBlock* $_getBaseCommandBlock(::BlockSource& region) const;
150
151 MCAPI ::CommandBlockActor* $_getBlockEntity(::BlockSource& region) const;
152 // NOLINTEND
153
154public:
155 // vftables
156 // NOLINTBEGIN
157 MCAPI static void** $vftable();
158 // NOLINTEND
159};
Definition Actor.h:104
Definition BaseCommandBlock.h:16
Definition BlockCommandOrigin.h:24
Definition BlockPos.h:18
Definition BlockSource.h:67
Definition CommandBlockActor.h:26
Definition CommandOrigin.h:32
Definition CompoundTag.h:13
Definition Dimension.h:83
Definition Level.h:234
Definition Vec2.h:5
Definition Vec3.h:10
Definition Alias.h:14
Definition serialize.h:11