2a197705ac
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
17 lines
292 B
C++
17 lines
292 B
C++
#pragma once
|
|
|
|
class cGroup;
|
|
class cGroupManager
|
|
{
|
|
public:
|
|
static cGroupManager * GetGroupManager(); //tolua_export
|
|
|
|
cGroup * GetGroup( const AString & a_Name );
|
|
private:
|
|
friend class cRoot;
|
|
cGroupManager();
|
|
~cGroupManager();
|
|
|
|
struct sGroupManagerState;
|
|
sGroupManagerState* m_pState;
|
|
}; |