LeviLamina
Loading...
Searching...
No Matches
ClientCommands.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/utility/NonOwnerPointer.h"
7
8// auto generated forward declare list
9// clang-format off
10class ActiveDirectoryIdentity;
11class CommandRegistry;
12class FileArchiver;
13class IApp;
14class IMinecraftGame;
15class Level;
16class MinecraftCommands;
17namespace Bedrock::DevTools { struct CommandExecutor; }
18namespace mce { class TextureGroup; }
19// clang-format on
20
21class ClientCommands {
22public:
23 // static functions
24 // NOLINTBEGIN
25 MCAPI static void init(
26 ::CommandRegistry& registry,
27 ::IMinecraftGame& minecraftClient,
28 ::Bedrock::NotNullNonOwnerPtr<::IApp> const& app,
29 ::Bedrock::NotNullNonOwnerPtr<::Bedrock::DevTools::CommandExecutor> devToolsCommandExecutor
30 );
31
32 MCAPI static void setupStandard(
33 ::MinecraftCommands& minecraftCommands,
34 ::IMinecraftGame& minecraftGame,
35 ::std::shared_ptr<::mce::TextureGroup> textureGroup,
36 ::FileArchiver& archiver,
37 bool isHost,
38 ::ActiveDirectoryIdentity const* adIdentity,
39 bool scriptingEnabled,
40 ::Level const& level
41 );
42
43 MCAPI static void setupStartMenuScreen(::MinecraftCommands& minecraftCommands, ::IMinecraftGame& minecraftClient);
44 // NOLINTEND
45};
Definition ClientCommands.h:5