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