4jcraft/targets/minecraft/server/commands/ServerCommandDispatcher.h

17 lines
628 B
C++

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