mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-05-12 18:23:33 +00:00
17 lines
632 B
C++
17 lines
632 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::wstring& message = L"", int customData = -1,
|
|
const std::wstring& additionalMessage = L"");
|
|
}; |