From 1b5eaa92b562c09ed7cea4de7186ff6541e65e5f Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Sat, 18 Aug 2012 10:38:15 +0000 Subject: Chat packet handled in the new way; fixed missing packet sending for inventory slot. Again, API change! cPlugin:OnChat() has had its parameters swapped, to match all the other callbacks - Player first, Message second git-svn-id: http://mc-server.googlecode.com/svn/trunk@751 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/cServer.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/cServer.h') diff --git a/source/cServer.h b/source/cServer.h index e0723f76a..52094e2f7 100644 --- a/source/cServer.h +++ b/source/cServer.h @@ -44,8 +44,8 @@ public: //tolua_export void StartListenThread(); - bool Command( cClientHandle & a_Client, const char* a_Cmd ); - void ServerCommand( const char* a_Cmd ); //tolua_export + bool Command(cClientHandle & a_Client, const AString & a_Cmd); + void ServerCommand(const AString & a_Cmd); //tolua_export void Shutdown(); void SendMessage( const char* a_Message, cPlayer* a_Player = 0, bool a_bExclude = false ); //tolua_export -- cgit v1.2.3