4jcraft/targets/minecraft/commands/common/EffectCommand.h
Tropical dd93cfe91e
Some checks are pending
Build (Linux, x86-64) / build-linux (push) Waiting to run
Format Check / clang-format (push) Waiting to run
format everything
2026-04-01 13:48:29 -05:00

24 lines
559 B
C++

#pragma once
#include <stdint.h>
#include <string>
#include "minecraft/commands/Command.h"
#include "minecraft/commands/CommandsEnum.h"
class CommandSender;
class EffectCommand : public Command {
public:
EGameCommand getId();
int getPermissionLevel();
std::wstring getUsage(CommandSender* source);
void execute(std::shared_ptr<CommandSender> source,
std::vector<uint8_t>& commandData);
protected:
std::wstring getPlayerNames();
public:
bool isValidWildcardPlayerArgument(std::wstring args, int argumentIndex);
};