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