LeviLamina
Loading...
Searching...
No Matches
GameArgumentCommandOrigin.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;
19// clang-format on
20
22public:
23 // member variables
24 // NOLINTBEGIN
26 // NOLINTEND
27
28public:
29 // prevent constructor by default
33
34public:
35 // virtual functions
36 // NOLINTBEGIN
37 // vIndex: 0
38 virtual ~GameArgumentCommandOrigin() /*override*/ = default;
39
40 // vIndex: 1
41 virtual ::std::string const& getRequestId() const /*override*/;
42
43 // vIndex: 2
44 virtual ::std::string getName() const /*override*/;
45
46 // vIndex: 3
47 virtual ::BlockPos getBlockPosition() const /*override*/;
48
49 // vIndex: 4
50 virtual ::Vec3 getWorldPosition() const /*override*/;
51
52 // vIndex: 5
53 virtual ::std::optional<::Vec2> getRotation() const /*override*/;
54
55 // vIndex: 6
56 virtual ::Level* getLevel() const /*override*/;
57
58 // vIndex: 7
59 virtual ::Dimension* getDimension() const /*override*/;
60
61 // vIndex: 8
62 virtual ::Actor* getEntity() const /*override*/;
63
64 // vIndex: 9
65 virtual ::CommandPermissionLevel getPermissionsLevel() const /*override*/;
66
67 // vIndex: 10
68 virtual ::std::unique_ptr<::CommandOrigin> clone() const /*override*/;
69
70 // vIndex: 17
71 virtual bool canUseCommandsWithoutCheatsEnabled() const /*override*/;
72
73 // vIndex: 18
74 virtual bool isSelectorExpansionAllowed() const /*override*/;
75
76 // vIndex: 23
77 virtual ::CommandOriginType getOriginType() const /*override*/;
78
79 // vIndex: 29
80 virtual ::CompoundTag serialize() const /*override*/;
81
82 // vIndex: 30
83 virtual bool isValid() const /*override*/;
84 // NOLINTEND
85
86public:
87 // virtual function thunks
88 // NOLINTBEGIN
89
90 // NOLINTEND
91};
Definition Actor.h:103
Definition BlockPos.h:18
Definition CommandOrigin.h:32
Definition CompoundTag.h:13
Definition Dimension.h:83
Definition GameArgumentCommandOrigin.h:21
Definition Level.h:238
Definition Vec2.h:5
Definition Vec3.h:10
Definition Alias.h:14
Definition serialize.h:11