mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-04-24 09:01:20 +00:00
25 lines
557 B
C++
25 lines
557 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::string getUsage(CommandSender* source);
|
|
void execute(std::shared_ptr<CommandSender> source,
|
|
std::vector<uint8_t>& commandData);
|
|
|
|
protected:
|
|
std::string getPlayerNames();
|
|
|
|
public:
|
|
bool isValidWildcardPlayerArgument(std::string args, int argumentIndex);
|
|
}; |