aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.World/EffectCommand.h
blob: e198d0ac271ad70d3e481d141616f3079869019c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#pragma once

#include "Command.h"

class EffectCommand : public Command
{
public:
	EGameCommand getId();
	int getPermissionLevel();
	wstring getUsage(CommandSender *source);
	void execute(shared_ptr<CommandSender> source, byteArray commandData);

protected:
	wstring getPlayerNames();

public:
	bool isValidWildcardPlayerArgument(wstring args, int argumentIndex);
};