4jcraft/Minecraft.World/Commands/CommandSender.h
2026-03-05 03:29:23 -05:00

12 lines
380 B
C++

#pragma once
#include "CommandsEnum.h"
#include "../Network/Packets/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;
};