4jcraft/Minecraft.Client/net/minecraft/server/commands/ServerCommandDispatcher.h

14 lines
634 B
C++

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