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 WeatherType : int {
19 Clear = 0,
20 Rain = 1,
21 Thunder = 2,
22 };
23
24 enum class WeatherRequest : int {
25 Set = 0,
26 Query = 1,
27 };
28
29public:
30 // member variables
31 // NOLINTBEGIN
35 // NOLINTEND
36
37public:
38 // prevent constructor by default
39 WeatherCommand& operator=(WeatherCommand const&);
42
43public:
44 // virtual functions
45 // NOLINTBEGIN
46 // vIndex: 2
47 virtual void execute(::CommandOrigin const& origin, ::CommandOutput& output) const /*override*/;
48
49 // vIndex: 0
50 virtual ~WeatherCommand() /*override*/ = default;
51 // NOLINTEND
52
53public:
54 // static functions
55 // NOLINTBEGIN
56 MCAPI static void setup(::CommandRegistry& registry);
57 // NOLINTEND
58
59public:
60 // destructor thunk
61 // NOLINTBEGIN
62
63 // NOLINTEND
64
65public:
66 // virtual function thunks
67 // NOLINTBEGIN
68 MCAPI void $execute(::CommandOrigin const& origin, ::CommandOutput& output) const;
69 // NOLINTEND
70
71public:
72 // vftables
73 // NOLINTBEGIN
74 MCAPI static void** $vftable();
75 // NOLINTEND
76};
Definition CommandOrigin.h:32
Definition CommandOutput.h:19
Definition CommandRegistry.h:44
Definition Command.h:17
Definition WeatherCommand.h:15
Definition Alias.h:14