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
35 // NOLINTEND
36
37public:
38 // prevent constructor by default
39 WeatherCommand& operator=(WeatherCommand const&);
40 WeatherCommand(WeatherCommand const&);
41 WeatherCommand();
42
43public:
44 // virtual functions
45 // NOLINTBEGIN
46 virtual void execute(::CommandOrigin const& origin, ::CommandOutput& output) const /*override*/;
47
48 virtual ~WeatherCommand() /*override*/ = default;
49 // NOLINTEND
50
51public:
52 // static functions
53 // NOLINTBEGIN
54 MCAPI static void setup(::CommandRegistry& registry);
55 // NOLINTEND
56
57public:
58 // virtual function thunks
59 // NOLINTBEGIN
60 MCAPI void $execute(::CommandOrigin const& origin, ::CommandOutput& output) const;
61
62
63 // NOLINTEND
64
65public:
66 // vftables
67 // NOLINTBEGIN
68 MCNAPI static void** $vftable();
69 // NOLINTEND
70};
Definition CommandOrigin.h:32
Definition CommandOutput.h:19
Definition CommandRegistry.h:47
Definition Command.h:17
static MCAPI void ** $vftable()
Definition Alias.h:14