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 // virtual function thunks
89 // NOLINTBEGIN
90 MCNAPI ::std::string const& $getRequestId() const;
91
92 MCNAPI ::std::string $getName() const;
93
94 MCNAPI ::BlockPos $getBlockPosition() const;
95
96 MCNAPI ::Vec3 $getWorldPosition() const;
97
98 MCNAPI ::std::optional<::Vec2> $getRotation() const;
99
100 MCNAPI ::Level* $getLevel() const;
101
102 MCNAPI ::Dimension* $getDimension() const;
103
104 MCNAPI ::Actor* $getEntity() const;
105
106 MCNAPI ::CommandPermissionLevel $getPermissionsLevel() const;
107
108 MCNAPI ::std::unique_ptr<::CommandOrigin> $clone() const;
109
110 MCNAPI ::CommandOriginType $getOriginType() const;
111
113
114 MCNAPI bool $isSelectorExpansionAllowed() const;
115
116 MCNAPI bool $hasChatPerms() const;
117
118 MCNAPI bool $hasTellPerms() const;
119
120 MCNAPI bool $canUseAbility(::AbilitiesIndex ability) const;
121
122 MCNAPI bool $isWorldBuilder() const;
123
124 MCNAPI ::CompoundTag $serialize() const;
125
126 MCNAPI bool $isValid() const;
127 // NOLINTEND
128
129public:
130 // vftables
131 // NOLINTBEGIN
132 MCNAPI static void** $vftable();
133 // NOLINTEND
134};
Definition Actor.h:103
Definition BlockPos.h:18
Definition CommandOrigin.h:32
Definition CompoundTag.h:13
Definition Dimension.h:83
Definition Level.h:238
Definition PrecompiledCommandOrigin.h:22
MCAPI ::std::optional<::Vec2 > $getRotation() const
MCAPI bool $isValid() const
MCAPI::BlockPos $getBlockPosition() const
MCAPI::Dimension * $getDimension() const
MCAPI::Level * $getLevel() const
MCAPI::std::string const & $getRequestId() const
static MCAPI void ** $vftable()
MCAPI::std::string $getName() const
MCAPI ::std::unique_ptr<::CommandOrigin > $clone() const
MCAPI bool $canUseCommandsWithoutCheatsEnabled() const
MCAPI::Actor * $getEntity() const
MCAPI::CommandOriginType $getOriginType() const
MCAPI::CompoundTag $serialize() const
MCAPI bool $hasTellPerms() const
MCAPI bool $hasChatPerms() const
MCAPI bool $isSelectorExpansionAllowed() const
MCAPI::Vec3 $getWorldPosition() const
MCAPI::CommandPermissionLevel $getPermissionsLevel() const
MCAPI bool $canUseAbility(::AbilitiesIndex ability) const
MCAPI bool $isWorldBuilder() const
Definition Vec2.h:5
Definition Vec3.h:10
Definition serialize.h:11