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 // NOLINTEND
42
43public:
44 // static functions
45 // NOLINTBEGIN
46 MCAPI static void setup(::CommandRegistry& registry);
47 // NOLINTEND
48
49public:
50 // virtual function thunks
51 // NOLINTBEGIN
52 MCAPI void $execute(::CommandOrigin const& origin, ::CommandOutput& output) const;
53
54
55 // NOLINTEND
56};
Definition CommandOrigin.h:32
Definition CommandOutput.h:20
Definition CommandRegistry.h:49
Definition Command.h:17
Definition WeatherCommand.h:15