LeviLamina
Loading...
Searching...
No Matches
TimeCommand.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 TimeCommand : public ::Command {
16public:
17 // TimeCommand inner types define
18 enum class Mode : int {
19 Set = 0,
20 Add = 1,
21 Query = 2,
22 };
23
24 enum class Query : int {
25 DayTime = 0,
26 GameTime = 1,
27 Day = 2,
28 };
29
30 enum class TimeSpec : int {
31 Sunrise = 0,
32 Day = 1,
33 Noon = 2,
34 Sunset = 3,
35 Night = 4,
36 Midnight = 5,
37 Unspecified = 6,
38 };
39
40public:
41 // member variables
42 // NOLINTBEGIN
47 // NOLINTEND
48
49public:
50 // prevent constructor by default
51 TimeCommand& operator=(TimeCommand const&);
54
55public:
56 // virtual functions
57 // NOLINTBEGIN
58 // vIndex: 2
59 virtual void execute(::CommandOrigin const& origin, ::CommandOutput& output) const /*override*/;
60
61 // vIndex: 0
62 virtual ~TimeCommand() /*override*/ = default;
63 // NOLINTEND
64
65public:
66 // static functions
67 // NOLINTBEGIN
68 MCAPI static void setup(::CommandRegistry& registry);
69 // NOLINTEND
70
71public:
72 // destructor thunk
73 // NOLINTBEGIN
74
75 // NOLINTEND
76
77public:
78 // virtual function thunks
79 // NOLINTBEGIN
80 MCAPI void $execute(::CommandOrigin const& origin, ::CommandOutput& output) const;
81 // NOLINTEND
82
83public:
84 // vftables
85 // NOLINTBEGIN
86 MCAPI static void** $vftable();
87 // NOLINTEND
88};
Definition CommandOrigin.h:32
Definition CommandOutput.h:19
Definition CommandRegistry.h:44
Definition Command.h:17
Definition TimeCommand.h:15
Definition Alias.h:14