LeviLamina
Loading...
Searching...
No Matches
WeatherCommand.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/server/commands/Command.h"
7
8// auto generated forward declare list
9// clang-format off
10class CommandOrigin;
11class CommandOutput;
12class CommandRegistry;
13// clang-format on
14
15class WeatherCommand : public ::Command {
16public:
17 // WeatherCommand inner types define
18 enum class WeatherRequest : int {
19 Set = 0,
20 Query = 1,
21 };
22
23 enum class WeatherType : int {
24 Clear = 0,
25 Rain = 1,
26 Thunder = 2,
27 };
28
29public:
30 // member variables
31 // NOLINTBEGIN
32 ::ll::TypedStorage<4, 4, ::WeatherCommand::WeatherRequest> mRequest;
33 ::ll::TypedStorage<4, 4, ::WeatherCommand::WeatherType> mType;
34 ::ll::TypedStorage<4, 4, int> mDuration;
35 // NOLINTEND
36
37public:
38 // virtual functions
39 // NOLINTBEGIN
40 virtual void execute(::CommandOrigin const& origin, ::CommandOutput& output) const /*override*/;
41
42 virtual ~WeatherCommand() /*override*/ = default;
43 // NOLINTEND
44
45public:
46 // static functions
47 // NOLINTBEGIN
48 MCAPI static void setup(::CommandRegistry& registry);
49 // NOLINTEND
50
51public:
52 // virtual function thunks
53 // NOLINTBEGIN
54 MCAPI void $execute(::CommandOrigin const& origin, ::CommandOutput& output) const;
55
56
57 // NOLINTEND
58
59public:
60 // vftables
61 // NOLINTBEGIN
62 MCNAPI static void** $vftable();
63 // NOLINTEND
64};
Definition CommandOrigin.h:32
Definition CommandOutput.h:20
Definition CommandRegistry.h:50
Definition Command.h:17
Definition WeatherCommand.h:15
static MCAPI void ** $vftable()