4jcraft/targets/minecraft/commands/AdminLogCommand.h
2026-04-09 15:24:13 +10:00

17 lines
566 B
C++

#pragma once
#include "minecraft/network/packet/ChatPacket.h"
class CommandSender;
class AdminLogCommand {
public:
static const int LOGTYPE_DONT_SHOW_TO_SELF = 1;
virtual void logAdminCommand(std::shared_ptr<CommandSender> source,
int type,
ChatPacket::EChatPacketMessage messageType,
const std::string& message = "",
int customData = -1,
const std::string& additionalMessage = "") = 0;
};