LeviLamina
Loading...
Searching...
No Matches
ExecuteContextCommandOrigin.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;
15class CompoundTag;
16class Dimension;
17class Level;
18class ServerLevel;
19class Vec2;
20class Vec3;
21// clang-format on
22
24public:
25 // member variables
26 // NOLINTBEGIN
36 // NOLINTEND
37
38public:
39 // prevent constructor by default
43
44public:
45 // virtual functions
46 // NOLINTBEGIN
47 // vIndex: 1
48 virtual ::std::string const& getRequestId() const /*override*/;
49
50 // vIndex: 2
51 virtual ::std::string getName() const /*override*/;
52
53 // vIndex: 3
54 virtual ::BlockPos getBlockPosition() const /*override*/;
55
56 // vIndex: 4
57 virtual ::Vec3 getWorldPosition() const /*override*/;
58
59 // vIndex: 5
60 virtual ::std::optional<::Vec2> getRotation() 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: 23
69 virtual ::CommandOriginType getOriginType() const /*override*/;
70
71 // vIndex: 30
72 virtual bool isValid() const /*override*/;
73
74 // vIndex: 10
75 virtual ::std::unique_ptr<::CommandOrigin> clone() const /*override*/;
76
77 // vIndex: 29
78 virtual ::CompoundTag serialize() const /*override*/;
79
80 // vIndex: 27
81 virtual void updateValues() /*override*/;
82
83 // vIndex: 28
84 virtual ::Vec3 const getExecutePosition(int version, ::CommandPositionFloat const& commandPosition) const
85 /*override*/;
86
87 // vIndex: 6
88 virtual ::Level* getLevel() const /*override*/;
89
90 // vIndex: 7
91 virtual ::Dimension* getDimension() const /*override*/;
92
93 // vIndex: 0
94 virtual ~ExecuteContextCommandOrigin() /*override*/ = default;
95 // NOLINTEND
96
97public:
98 // static functions
99 // NOLINTBEGIN
100 MCNAPI static ::std::unique_ptr<::ExecuteContextCommandOrigin> load(::CompoundTag const& tag, ::ServerLevel& level);
101 // NOLINTEND
102
103public:
104 // virtual function thunks
105 // NOLINTBEGIN
106 MCNAPI ::std::string const& $getRequestId() const;
107
108 MCNAPI ::std::string $getName() const;
109
110 MCNAPI ::BlockPos $getBlockPosition() const;
111
112 MCNAPI ::Vec3 $getWorldPosition() const;
113
114 MCNAPI ::std::optional<::Vec2> $getRotation() const;
115
116 MCNAPI ::Actor* $getEntity() const;
117
118 MCNAPI ::CommandPermissionLevel $getPermissionsLevel() const;
119
120 MCNAPI ::CommandOriginType $getOriginType() const;
121
122 MCNAPI bool $isValid() const;
123
124 MCNAPI ::std::unique_ptr<::CommandOrigin> $clone() const;
125
126 MCNAPI ::CompoundTag $serialize() const;
127
128 MCNAPI void $updateValues();
129
130 MCNAPI ::Vec3 const $getExecutePosition(int version, ::CommandPositionFloat const& commandPosition) const;
131
132 MCNAPI ::Level* $getLevel() const;
133
134 MCNAPI ::Dimension* $getDimension() const;
135 // NOLINTEND
136
137public:
138 // vftables
139 // NOLINTBEGIN
140 MCNAPI static void** $vftable();
141 // NOLINTEND
142};
Definition Actor.h:103
Definition BlockPos.h:18
Definition CommandOrigin.h:32
Definition CommandPositionFloat.h:8
Definition CompoundTag.h:13
Definition Dimension.h:83
Definition ExecuteContextCommandOrigin.h:23
MCAPI ::std::optional<::Vec2 > $getRotation() const
MCAPI bool $isValid() const
MCAPI::Vec3 const $getExecutePosition(int version, ::CommandPositionFloat const &commandPosition) const
MCAPI::Level * $getLevel() const
MCAPI::CommandOriginType $getOriginType() const
MCAPI::BlockPos $getBlockPosition() const
MCAPI::Vec3 $getWorldPosition() const
MCAPI::Actor * $getEntity() const
static MCAPI ::std::unique_ptr<::ExecuteContextCommandOrigin > load(::CompoundTag const &tag, ::ServerLevel &level)
MCAPI::CompoundTag $serialize() const
MCAPI ::std::unique_ptr<::CommandOrigin > $clone() const
MCAPI::std::string $getName() const
MCAPI::CommandPermissionLevel $getPermissionsLevel() const
MCAPI::std::string const & $getRequestId() const
static MCAPI void ** $vftable()
MCAPI::Dimension * $getDimension() const
Definition Level.h:238
Definition ServerLevel.h:54
Definition Vec2.h:5
Definition Vec3.h:10
Definition Alias.h:14
Definition serialize.h:11