aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.Client/ServerCommandDispatcher.h
diff options
context:
space:
mode:
Diffstat (limited to 'Minecraft.Client/ServerCommandDispatcher.h')
-rw-r--r--Minecraft.Client/ServerCommandDispatcher.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/Minecraft.Client/ServerCommandDispatcher.h b/Minecraft.Client/ServerCommandDispatcher.h
new file mode 100644
index 00000000..306d4384
--- /dev/null
+++ b/Minecraft.Client/ServerCommandDispatcher.h
@@ -0,0 +1,11 @@
+#pragma once
+
+#include "..\Minecraft.World\CommandDispatcher.h"
+#include "..\Minecraft.World\AdminLogCommand.h"
+
+class ServerCommandDispatcher : public CommandDispatcher, public AdminLogCommand
+{
+public:
+ ServerCommandDispatcher();
+ void logAdminCommand(shared_ptr<CommandSender> source, int type, ChatPacket::EChatPacketMessage messageType, const wstring& message = L"", int customData = -1, const wstring& additionalMessage = L"");
+}; \ No newline at end of file