aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.World/CommandSender.h
blob: 21c25b539cf3bd3b9d8273edfedc584fc139dfa7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#pragma once

#include "CommandsEnum.h"
#include "ChatPacket.h"

class CommandSender
{
public:
	//virtual int getUID() = 0;
	virtual void sendMessage(const wstring& message, ChatPacket::EChatPacketMessage type = ChatPacket::e_ChatCustom, int customData = -1, const wstring& additionalMessage = L"") = 0;
	virtual bool hasPermission(EGameCommand command) = 0;
};