LeviLamina
Loading...
Searching...
No Matches
SpreadPlayersCommand.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/server/commands/Command.h"
7#include "mc/server/commands/CommandSelector.h"
8#include "mc/server/commands/RelativeFloat.h"
9
10// auto generated forward declare list
11// clang-format off
12class Actor;
13class ChunkPos;
14class CommandArea;
15class CommandOrigin;
16class CommandOutput;
17class CommandRegistry;
18// clang-format on
19
21public:
22 // SpreadPlayersCommand inner types define
23 using CommandAreas = ::std::map<::ChunkPos, ::std::unique_ptr<::CommandArea>>;
24
25public:
26 // member variables
27 // NOLINTBEGIN
28 ::ll::TypedStorage<8, 200, ::CommandSelector<::Actor>> mTargets;
29 ::ll::TypedStorage<4, 8, ::RelativeFloat> mX;
30 ::ll::TypedStorage<4, 8, ::RelativeFloat> maxHeight;
31 ::ll::TypedStorage<4, 8, ::RelativeFloat> mZ;
32 ::ll::TypedStorage<4, 4, float> mDistance;
33 ::ll::TypedStorage<4, 4, float> mMaxRange;
34 // NOLINTEND
35
36public:
37 // virtual functions
38 // NOLINTBEGIN
39 virtual void execute(::CommandOrigin const& origin, ::CommandOutput& output) const /*override*/;
40 // NOLINTEND
41
42public:
43 // static functions
44 // NOLINTBEGIN
45 MCAPI static void setup(::CommandRegistry& registry);
46 // NOLINTEND
47
48public:
49 // virtual function thunks
50 // NOLINTBEGIN
51 MCAPI void $execute(::CommandOrigin const& origin, ::CommandOutput& output) const;
52
53
54 // NOLINTEND
55};
Definition Actor.h:114
Definition ChunkPos.h:12
Definition CommandArea.h:10
Definition CommandOrigin.h:32
Definition CommandOutput.h:20
Definition CommandRegistry.h:49
Definition Command.h:17
Definition SpreadPlayersCommand.h:20