LeviLamina
Loading...
Searching...
No Matches
DevConsoleCommandOrigin.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/common/SubClientId.h"
7#include "mc/server/commands/CommandOrigin.h"
8#include "mc/server/commands/CommandOriginType.h"
9#include "mc/server/commands/CommandPermissionLevel.h"
10
11// auto generated forward declare list
12// clang-format off
13class Actor;
14class BlockPos;
15class CompoundTag;
16class Dimension;
17class Level;
19class Vec2;
20class Vec3;
22// clang-format on
23
25public:
26 // member variables
27 // NOLINTBEGIN
32 // NOLINTEND
33
34public:
35 // prevent constructor by default
39
40public:
41 // virtual functions
42 // NOLINTBEGIN
43 // vIndex: 0
44 virtual ~DevConsoleCommandOrigin() /*override*/ = default;
45
46 // vIndex: 1
47 virtual ::std::string const& getRequestId() const /*override*/;
48
49 // vIndex: 2
50 virtual ::std::string getName() const /*override*/;
51
52 // vIndex: 3
53 virtual ::BlockPos getBlockPosition() const /*override*/;
54
55 // vIndex: 4
56 virtual ::Vec3 getWorldPosition() const /*override*/;
57
58 // vIndex: 5
59 virtual ::std::optional<::Vec2> getRotation() const /*override*/;
60
61 // vIndex: 6
62 virtual ::Level* getLevel() const /*override*/;
63
64 // vIndex: 7
65 virtual ::Dimension* getDimension() const /*override*/;
66
67 // vIndex: 8
68 virtual ::Actor* getEntity() const /*override*/;
69
70 // vIndex: 9
71 virtual ::CommandPermissionLevel getPermissionsLevel() const /*override*/;
72
73 // vIndex: 10
74 virtual ::std::unique_ptr<::CommandOrigin> clone() const /*override*/;
75
76 // vIndex: 17
77 virtual bool canUseCommandsWithoutCheatsEnabled() const /*override*/;
78
79 // vIndex: 18
80 virtual bool isSelectorExpansionAllowed() const /*override*/;
81
82 // vIndex: 19
83 virtual ::NetworkIdentifier const& getSourceId() const /*override*/;
84
85 // vIndex: 20
86 virtual ::SubClientId getSourceSubId() const /*override*/;
87
88 // vIndex: 23
89 virtual ::CommandOriginType getOriginType() const /*override*/;
90
91 // vIndex: 24
92 virtual ::CommandOriginData toCommandOriginData() const /*override*/;
93
94 // vIndex: 29
95 virtual ::CompoundTag serialize() const /*override*/;
96
97 // vIndex: 30
98 virtual bool isValid() const /*override*/;
99
100 // vIndex: 31
101 virtual bool requiresValidLevel() const /*override*/;
102 // NOLINTEND
103
104public:
105 // destructor thunk
106 // NOLINTBEGIN
107
108 // NOLINTEND
109
110public:
111 // virtual function thunks
112 // NOLINTBEGIN
113
114 // NOLINTEND
115};
Definition Actor.h:104
Definition BlockPos.h:18
Definition CommandOrigin.h:32
Definition CompoundTag.h:13
Definition DevConsoleCommandOrigin.h:24
Definition Dimension.h:83
Definition Level.h:234
Definition NetworkIdentifier.h:11
Definition Vec2.h:5
Definition Vec3.h:10
Definition CommandOriginData.h:13
Definition Alias.h:14
Definition serialize.h:11