LeviLamina
Loading...
Searching...
No Matches
GameModeCommand.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/server/commands/Command.h"
7#include "mc/server/commands/CommandSelector.h"
8#include "mc/world/level/GameType.h"
9
10// auto generated forward declare list
11// clang-format off
12class CommandOrigin;
13class CommandOutput;
14class CommandRegistry;
15class Player;
16// clang-format on
17
18class GameModeCommand : public ::Command {
19public:
20 // member variables
21 // NOLINTBEGIN
22 ::ll::TypedStorage<8, 200, ::CommandSelector<::Player>> mPlayers;
23 ::ll::TypedStorage<4, 4, ::GameType> mGameMode;
24 ::ll::TypedStorage<4, 4, int> mGameModeNumber;
25 // NOLINTEND
26
27public:
28 // virtual functions
29 // NOLINTBEGIN
30 virtual void execute(::CommandOrigin const& origin, ::CommandOutput& output) const /*override*/;
31
32 virtual ~GameModeCommand() /*override*/ = default;
33 // NOLINTEND
34
35public:
36 // static functions
37 // NOLINTBEGIN
38 MCAPI static void setup(::CommandRegistry& registry);
39 // NOLINTEND
40
41public:
42 // virtual function thunks
43 // NOLINTBEGIN
44 MCAPI void $execute(::CommandOrigin const& origin, ::CommandOutput& output) const;
45
46
47 // NOLINTEND
48
49public:
50 // vftables
51 // NOLINTBEGIN
52 MCNAPI static void** $vftable();
53 // NOLINTEND
54};
Definition CommandOrigin.h:32
Definition CommandOutput.h:20
Definition CommandRegistry.h:50
Definition Command.h:17
Definition GameModeCommand.h:18
static MCAPI void ** $vftable()
Definition Player.h:129