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
22class PrecompiledCommandOrigin : public ::CommandOrigin {
23public:
24 // virtual functions
25 // NOLINTBEGIN
26 virtual ~PrecompiledCommandOrigin() /*override*/ = default;
27
28 virtual ::std::string const& getRequestId() const /*override*/;
29
30 virtual ::std::string getName() const /*override*/;
31
32 virtual ::BlockPos getBlockPosition() const /*override*/;
33
34 virtual ::Vec3 getWorldPosition() const /*override*/;
35
36 virtual ::std::optional<::Vec2> getRotation() const /*override*/;
37
38 virtual ::Level* getLevel() const /*override*/;
39
40 virtual ::Dimension* getDimension() const /*override*/;
41
42 virtual ::Actor* getEntity() const /*override*/;
43
44 virtual ::CommandPermissionLevel getPermissionsLevel() const /*override*/;
45
46 virtual ::std::unique_ptr<::CommandOrigin> clone() const /*override*/;
47
48 virtual ::CommandOriginType getOriginType() const /*override*/;
49
50 virtual bool canUseCommandsWithoutCheatsEnabled() const /*override*/;
51
52 virtual bool isSelectorExpansionAllowed() const /*override*/;
53
54 virtual bool hasChatPerms() const /*override*/;
55
56 virtual bool hasTellPerms() const /*override*/;
57
58 virtual bool canUseAbility(::AbilitiesIndex) const /*override*/;
59
60 virtual bool isWorldBuilder() const /*override*/;
61
62 virtual ::CompoundTag serialize() const /*override*/;
63
64 virtual bool isValid() const /*override*/;
65 // NOLINTEND
66
67public:
68 // virtual function thunks
69 // NOLINTBEGIN
70 MCFOLD ::std::string const& $getRequestId() const;
71
72 MCFOLD ::std::string $getName() const;
73
74 MCFOLD ::BlockPos $getBlockPosition() const;
75
76 MCFOLD ::Vec3 $getWorldPosition() const;
77
78 MCFOLD ::std::optional<::Vec2> $getRotation() const;
79
80 MCFOLD ::Level* $getLevel() const;
81
82 MCFOLD ::Dimension* $getDimension() const;
83
84 MCFOLD ::Actor* $getEntity() const;
85
86 MCFOLD ::CommandPermissionLevel $getPermissionsLevel() const;
87
88 MCAPI ::std::unique_ptr<::CommandOrigin> $clone() const;
89
90 MCFOLD ::CommandOriginType $getOriginType() const;
91
92 MCFOLD bool $canUseCommandsWithoutCheatsEnabled() const;
93
94 MCFOLD bool $isSelectorExpansionAllowed() const;
95
96 MCFOLD bool $hasChatPerms() const;
97
98 MCFOLD bool $hasTellPerms() const;
99
100 MCFOLD bool $canUseAbility(::AbilitiesIndex) const;
101
102 MCFOLD bool $isWorldBuilder() const;
103
104 MCFOLD ::CompoundTag $serialize() const;
105
106 MCFOLD bool $isValid() const;
107
108
109 // NOLINTEND
110
111public:
112 // vftables
113 // NOLINTBEGIN
114 MCNAPI static void** $vftable();
115 // NOLINTEND
116};
Definition Actor.h:125
Definition BlockPos.h:21
Definition CompoundTag.h:23
Definition Dimension.h:89
Definition Level.h:255
Definition PrecompiledCommandOrigin.h:22
static MCAPI void ** $vftable()
Definition Vec2.h:5
Definition Vec3.h:10