From b691c43c44ff180d10e7d4a9afc83b98551ff586 Mon Sep 17 00:00:00 2001 From: daoge_cmd <3523206925@qq.com> Date: Sun, 1 Mar 2026 12:16:08 +0800 Subject: Initial commit --- Minecraft.World/CommandSender.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 Minecraft.World/CommandSender.h (limited to 'Minecraft.World/CommandSender.h') diff --git a/Minecraft.World/CommandSender.h b/Minecraft.World/CommandSender.h new file mode 100644 index 00000000..21c25b53 --- /dev/null +++ b/Minecraft.World/CommandSender.h @@ -0,0 +1,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; +}; \ No newline at end of file -- cgit v1.2.3