LeviLamina
Loading...
Searching...
No Matches
PrecompiledCommandOrigin.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#include "mc/world/actor/player/AbilitiesIndex.h"
10
11// auto generated forward declare list
12// clang-format off
13class Actor;
14class BlockPos;
15class CompoundTag;
16class Dimension;
17class Level;
18class Vec2;
19class Vec3;
20// clang-format on
21
23public:
24 // virtual functions
25 // NOLINTBEGIN
26 // vIndex: 0
27 virtual ~PrecompiledCommandOrigin() /*override*/ = default;
28
29 // vIndex: 1
30 virtual ::std::string const& getRequestId() const /*override*/;
31
32 // vIndex: 2
33 virtual ::std::string getName() const /*override*/;
34
35 // vIndex: 3
36 virtual ::BlockPos getBlockPosition() const /*override*/;
37
38 // vIndex: 4
39 virtual ::Vec3 getWorldPosition() const /*override*/;
40
41 // vIndex: 5
42 virtual ::std::optional<::Vec2> getRotation() const /*override*/;
43
44 // vIndex: 6
45 virtual ::Level* getLevel() const /*override*/;
46
47 // vIndex: 7
48 virtual ::Dimension* getDimension() const /*override*/;
49
50 // vIndex: 8
51 virtual ::Actor* getEntity() const /*override*/;
52
53 // vIndex: 9
54 virtual ::CommandPermissionLevel getPermissionsLevel() const /*override*/;
55
56 // vIndex: 10
57 virtual ::std::unique_ptr<::CommandOrigin> clone() const /*override*/;
58
59 // vIndex: 23
60 virtual ::CommandOriginType getOriginType() const /*override*/;
61
62 // vIndex: 17
63 virtual bool canUseCommandsWithoutCheatsEnabled() const /*override*/;
64
65 // vIndex: 18
66 virtual bool isSelectorExpansionAllowed() const /*override*/;
67
68 // vIndex: 13
69 virtual bool hasChatPerms() const /*override*/;
70
71 // vIndex: 14
72 virtual bool hasTellPerms() const /*override*/;
73
74 // vIndex: 15
75 virtual bool canUseAbility(::AbilitiesIndex ability) const /*override*/;
76
77 // vIndex: 16
78 virtual bool isWorldBuilder() const /*override*/;
79
80 // vIndex: 29
81 virtual ::CompoundTag serialize() const /*override*/;
82
83 // vIndex: 30
84 virtual bool isValid() const /*override*/;
85 // NOLINTEND
86
87public:
88 // destructor thunk
89 // NOLINTBEGIN
90
91 // NOLINTEND
92
93public:
94 // virtual function thunks
95 // NOLINTBEGIN
96 MCFOLD ::std::string const& $getRequestId() const;
97
98 MCFOLD ::std::string $getName() const;
99
100 MCFOLD ::BlockPos $getBlockPosition() const;
101
102 MCFOLD ::Vec3 $getWorldPosition() const;
103
104 MCFOLD ::std::optional<::Vec2> $getRotation() const;
105
106 MCFOLD ::Level* $getLevel() const;
107
108 MCFOLD ::Dimension* $getDimension() const;
109
110 MCFOLD ::Actor* $getEntity() const;
111
112 MCFOLD ::CommandPermissionLevel $getPermissionsLevel() const;
113
114 MCAPI ::std::unique_ptr<::CommandOrigin> $clone() const;
115
116 MCAPI ::CommandOriginType $getOriginType() const;
117
118 MCFOLD bool $canUseCommandsWithoutCheatsEnabled() const;
119
120 MCFOLD bool $isSelectorExpansionAllowed() const;
121
122 MCFOLD bool $hasChatPerms() const;
123
124 MCFOLD bool $hasTellPerms() const;
125
126 MCFOLD bool $canUseAbility(::AbilitiesIndex ability) const;
127
128 MCFOLD bool $isWorldBuilder() const;
129
130 MCFOLD ::CompoundTag $serialize() const;
131
132 MCFOLD bool $isValid() const;
133 // NOLINTEND
134
135public:
136 // vftables
137 // NOLINTBEGIN
138 MCAPI static void** $vftable();
139 // NOLINTEND
140};
Definition Actor.h:104
Definition BlockPos.h:18
Definition CommandOrigin.h:32
Definition CompoundTag.h:13
Definition Dimension.h:83
Definition Level.h:234
Definition PrecompiledCommandOrigin.h:22
Definition Vec2.h:5
Definition Vec3.h:10
Definition serialize.h:11