mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/LCEMP-Server.git
synced 2026-05-22 10:57:14 +00:00
18 lines
463 B
C++
18 lines
463 B
C++
#pragma once
|
|
|
|
#include "../../Minecraft.World/CommandSender.h"
|
|
|
|
class ConsoleInputSource;
|
|
|
|
class ConsoleCommandSender : public CommandSender
|
|
{
|
|
private:
|
|
ConsoleInputSource *src;
|
|
|
|
public:
|
|
ConsoleCommandSender(ConsoleInputSource *src) : src(src) {}
|
|
|
|
void sendMessage(const wstring& message, ChatPacket::EChatPacketMessage type = ChatPacket::e_ChatCustom, int customData = -1, const wstring& additionalMessage = L"");
|
|
bool hasPermission(EGameCommand command);
|
|
};
|