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/cRoot.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/cRoot.h') diff --git a/source/cRoot.h b/source/cRoot.h index 9a8520642..a426207e8 100644 --- a/source/cRoot.h +++ b/source/cRoot.h @@ -56,7 +56,7 @@ public: cPluginManager * GetPluginManager (void) { return m_PluginManager; } // tolua_export cAuthenticator & GetAuthenticator (void) { return m_Authenticator; } - void ServerCommand(const char* a_Cmd ); //tolua_export + void ServerCommand(const AString & a_Cmd); //tolua_export void KickUser(int a_ClientID, const AString & a_Reason); // Kicks the user, no matter in what world they are. Used from cAuthenticator void AuthenticateUser(int a_ClientID); // Called by cAuthenticator to auth the specified user -- cgit v1.2.3