#pragma once #include #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 source, int type, ChatPacket::EChatPacketMessage messageType, const std::string& message = "", int customData = -1, const std::string& additionalMessage = ""); };