mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-04-24 15:53:37 +00:00
17 lines
628 B
C++
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 = "");
|
|
}; |