From 2a197705ac8785e01a48fa1ac5893d3bb876fd0a Mon Sep 17 00:00:00 2001 From: faketruth Date: Thu, 18 Oct 2012 21:54:56 +0000 Subject: Converted some const char*s and std::strings to AStrings Added a cPlayer:RemoveFromGroup() so players can be removed from groups programmatically Added a cClientHandle:SetUsername to be used by Lua. I'm curious what ThuGie can do with his plugin. git-svn-id: http://mc-server.googlecode.com/svn/trunk@978 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/ClientHandle.h | 1 + 1 file changed, 1 insertion(+) (limited to 'source/ClientHandle.h') diff --git a/source/ClientHandle.h b/source/ClientHandle.h index 5469a5ca5..85c5cecb9 100644 --- a/source/ClientHandle.h +++ b/source/ClientHandle.h @@ -121,6 +121,7 @@ public: void SendSpawnObject (const cEntity & a_Entity, char a_ObjectType, int a_ObjectData, short a_SpeedX, short a_SpeedY, short a_SpeedZ); const AString & GetUsername(void) const; //tolua_export + void SetUsername( const AString & a_Username ); //tolua_export inline short GetPing() const { return m_Ping; } //tolua_export -- cgit v1.2.3