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 abilityIndex) 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 MCNAPI ::std::string const& $getRequestId() const;
71
72 MCNAPI ::std::string $getName() const;
73
74 MCNAPI ::BlockPos $getBlockPosition() const;
75
76 MCNAPI ::Vec3 $getWorldPosition() const;
77
78 MCNAPI ::std::optional<::Vec2> $getRotation() const;
79
80 MCNAPI ::Level* $getLevel() const;
81
82 MCNAPI ::Dimension* $getDimension() const;
83
84 MCNAPI ::Actor* $getEntity() const;
85
86 MCNAPI ::CommandPermissionLevel $getPermissionsLevel() const;
87
88 MCNAPI ::std::unique_ptr<::CommandOrigin> $clone() const;
89
90 MCNAPI ::CommandOriginType $getOriginType() const;
91
93
94 MCNAPI bool $isSelectorExpansionAllowed() const;
95
96 MCNAPI bool $hasChatPerms() const;
97
98 MCNAPI bool $hasTellPerms() const;
99
100 MCNAPI bool $canUseAbility(::AbilitiesIndex abilityIndex) const;
101
102 MCNAPI bool $isWorldBuilder() const;
103
104 MCNAPI ::CompoundTag $serialize() const;
105
106 MCNAPI bool $isValid() const;
107
108
109 // NOLINTEND
110
111public:
112 // vftables
113 // NOLINTBEGIN
114 MCNAPI static void** $vftable();
115 // NOLINTEND
116};
Definition Actor.h:105
Definition BlockPos.h:19
Definition CompoundTag.h:23
Definition Dimension.h:85
Definition Level.h:249
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 $canUseAbility(::AbilitiesIndex abilityIndex) const
MCAPI bool $hasChatPerms() const
MCAPI bool $isSelectorExpansionAllowed() const
MCAPI::Vec3 $getWorldPosition() const
MCAPI::CommandPermissionLevel $getPermissionsLevel() const
MCAPI bool $isWorldBuilder() const
Definition Vec2.h:5
Definition Vec3.h:10