LeviLamina
Loading...
Searching...
No Matches
ClientAutomationCommandOrigin.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;
13class BlockPos;
14class CompoundTag;
15class Dimension;
16class Level;
17class Vec2;
18class Vec3;
20// clang-format on
21
22class ClientAutomationCommandOrigin : public ::CommandOrigin {
23public:
24 // member variables
25 // NOLINTBEGIN
26 ::ll::TypedStorage<8, 32, ::std::string> mRequestId;
27 // NOLINTEND
28
29public:
30 // prevent constructor by default
31 ClientAutomationCommandOrigin();
32
33public:
34 // virtual functions
35 // NOLINTBEGIN
36 virtual ~ClientAutomationCommandOrigin() /*override*/ = default;
37
38 virtual ::std::string const& getRequestId() const /*override*/;
39
40 virtual ::std::string getName() const /*override*/;
41
42 virtual ::BlockPos getBlockPosition() const /*override*/;
43
44 virtual ::Vec3 getWorldPosition() const /*override*/;
45
46 virtual ::std::optional<::Vec2> getRotation() const /*override*/;
47
48 virtual ::Level* getLevel() const /*override*/;
49
50 virtual ::Dimension* getDimension() const /*override*/;
51
52 virtual ::Actor* getEntity() const /*override*/;
53
54 virtual ::CommandPermissionLevel getPermissionsLevel() const /*override*/;
55
56 virtual ::std::unique_ptr<::CommandOrigin> clone() const /*override*/;
57
58 virtual bool canUseCommandsWithoutCheatsEnabled() const /*override*/;
59
60 virtual bool isSelectorExpansionAllowed() const /*override*/;
61
62 virtual ::CommandOriginType getOriginType() const /*override*/;
63
64 virtual ::CommandOriginData toCommandOriginData() const /*override*/;
65
66 virtual ::CompoundTag serialize() const /*override*/;
67
68 virtual bool isValid() const /*override*/;
69 // NOLINTEND
70
71public:
72 // member functions
73 // NOLINTBEGIN
74 MCAPI explicit ClientAutomationCommandOrigin(::std::string const& requestId);
75 // NOLINTEND
76
77public:
78 // constructor thunks
79 // NOLINTBEGIN
80 MCAPI void* $ctor(::std::string const& requestId);
81 // NOLINTEND
82
83public:
84 // virtual function thunks
85 // NOLINTBEGIN
86 MCFOLD ::std::string const& $getRequestId() const;
87
88 MCFOLD ::std::string $getName() const;
89
90 MCFOLD ::BlockPos $getBlockPosition() const;
91
92 MCFOLD ::Vec3 $getWorldPosition() const;
93
94 MCFOLD ::std::optional<::Vec2> $getRotation() const;
95
96 MCFOLD ::Level* $getLevel() const;
97
98 MCFOLD ::Dimension* $getDimension() const;
99
100 MCFOLD ::Actor* $getEntity() const;
101
102 MCFOLD ::CommandPermissionLevel $getPermissionsLevel() const;
103
104 MCAPI ::std::unique_ptr<::CommandOrigin> $clone() const;
105
106 MCFOLD bool $canUseCommandsWithoutCheatsEnabled() const;
107
108 MCFOLD bool $isSelectorExpansionAllowed() const;
109
110 MCFOLD ::CommandOriginType $getOriginType() const;
111
112 MCAPI ::CommandOriginData $toCommandOriginData() const;
113
114 MCFOLD ::CompoundTag $serialize() const;
115
116 MCFOLD bool $isValid() const;
117
118
119 // NOLINTEND
120
121public:
122 // vftables
123 // NOLINTBEGIN
124 MCNAPI static void** $vftable();
125 // NOLINTEND
126};
Definition Actor.h:123
Definition BlockPos.h:21
static MCAPI void ** $vftable()
Definition CompoundTag.h:23
Definition Dimension.h:88
Definition Level.h:254
Definition Vec2.h:5
Definition Vec3.h:10
Definition CommandOriginData.h:9