Skip to content
LeviMC
English
AutoLightDark
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
11class CommandRegistry;
12class FileArchiver;
13class IApp;
14class IMinecraftGame;
15class Level;
17namespace AppScripting { class IAppScriptManager; }
18namespace Bedrock::DevTools { class CommandExecutor; }
19namespace mce { class TextureGroup; }
20// clang-format on
21
22class ClientCommands {
23public:
24 // static functions
25 // NOLINTBEGIN
26 MCNAPI static void init(
27 ::CommandRegistry& registry,
28 ::IMinecraftGame& minecraftClient,
29 ::Bedrock::NotNullNonOwnerPtr<::IApp> const& app,
30 ::Bedrock::NotNullNonOwnerPtr<::Bedrock::DevTools::CommandExecutor> devToolsCommandExecutor,
31 ::std::weak_ptr<::AppScripting::IAppScriptManager> appScriptManager
32 );
33
34 MCNAPI static void setupStandard(
35 ::MinecraftCommands& minecraftCommands,
36 ::IMinecraftGame& minecraftGame,
37 ::std::shared_ptr<::mce::TextureGroup> textureGroup,
38 ::FileArchiver& archiver,
39 bool isHost,
40 ::ActiveDirectoryIdentity const* adIdentity,
41 bool scriptingEnabled,
42 ::Level const& level
43 );
44
45 MCNAPI static void setupStartMenuScreen(::MinecraftCommands& minecraftCommands, ::IMinecraftGame& minecraftClient);
46 // NOLINTEND
47};
Definition ActiveDirectoryIdentity.h:27
Definition IAppScriptManager.h:7
Definition CommandExecutor.h:7
Definition ClientCommands.h:5
static MCAPI void setupStartMenuScreen(::MinecraftCommands &minecraftCommands, ::IMinecraftGame &minecraftClient)
static MCAPI void setupStandard(::MinecraftCommands &minecraftCommands, ::IMinecraftGame &minecraftGame, ::std::shared_ptr<::mce::TextureGroup > textureGroup, ::FileArchiver &archiver, bool isHost, ::ActiveDirectoryIdentity const *adIdentity, bool scriptingEnabled, ::Level const &level)
static MCAPI void init(::CommandRegistry &registry, ::IMinecraftGame &minecraftClient, ::Bedrock::NotNullNonOwnerPtr<::IApp > const &app, ::Bedrock::NotNullNonOwnerPtr<::Bedrock::DevTools::CommandExecutor > devToolsCommandExecutor, ::std::weak_ptr<::AppScripting::IAppScriptManager > appScriptManager)
Definition CommandRegistry.h:51
Definition FileArchiver.h:35
Definition IApp.h:8
Definition IMinecraftGame.h:5
Definition Level.h:255
Definition MinecraftCommands.h:33
Definition TextureGroup.h:7