#pragma once #include #include #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 source, std::vector& commandData); protected: std::string getPlayerNames(); public: bool isValidWildcardPlayerArgument(std::string args, int argumentIndex); };