3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/server/commands/CommandMessage.h"
7#include "mc/server/commands/CommandSelector.h"
8#include "mc/server/commands/ServerCommand.h"
24 ::ll::TypedStorage<8, 200, ::CommandSelector<::Player>> mPlayers;
25 ::ll::TypedStorage<8, 32, ::CommandMessage> mMessage;
50 ::std::string
const& message,
51 ::std::optional<::std::string> filteredMessage
Definition CommandOrigin.h:32
Definition CommandOutput.h:20
Definition CommandRegistry.h:51
Definition KickCommand.h:20
static MCAPI void _generateSuccessOutput(::CommandOutput &output, ::std::string const &playerNameTag, ::std::string const &reason)
static MCAPI void _kickPlayer(::Minecraft *game, ::Player const &matchingPlayer, ::std::string const &message, ::std::optional<::std::string > filteredMessage)
MCAPI bool _canKickPlayerOrGenerateFailureOutput(::Player const &player, ::CommandOutput &output, ::Level *level) const
MCAPI void $execute(::CommandOrigin const &origin, ::CommandOutput &output) const
Definition Minecraft.h:59
Definition ServerCommand.h:22