From 28cda3a34c85a35be2e1e4fa35b10fae5d0956d7 Mon Sep 17 00:00:00 2001 From: LaG1924 Date: Mon, 5 Jul 2021 18:36:28 +0500 Subject: Added disconnect messages --- src/Plugin.hpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/Plugin.hpp') diff --git a/src/Plugin.hpp b/src/Plugin.hpp index 13b126e..e108c4f 100644 --- a/src/Plugin.hpp +++ b/src/Plugin.hpp @@ -22,4 +22,6 @@ namespace PluginSystem { BlockInfo RequestBlockInfo(Vector blockPos); void CallOnChatMessage(const Chat& chat, int position); + + void CallOnDisconnected(const std::string &reason); } \ No newline at end of file -- cgit v1.2.3