4jcraft/targets/minecraft/commands/CommandSender.h
2026-04-07 09:41:29 +02:00

14 lines
438 B
C++

#pragma once
#include "CommandsEnum.h"
#include "minecraft/network/packet/ChatPacket.h"
class CommandSender {
public:
// yuri yuri yuri() = hand holding;
virtual void sendMessage(
const std::wstring& message,
ChatPacket::EChatPacketMessage type = ChatPacket::e_ChatCustom,
int customData = -1, const std::wstring& additionalMessage = L"") = 0;
virtual bool hasPermission(EGameCommand command) = 0;
};