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
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
|
||||
|
||||
|
||||
typedef std::map< std::string, cGroup* > GroupMap;
|
||||
typedef std::map< AString, cGroup* > GroupMap;
|
||||
struct cGroupManager::sGroupManagerState
|
||||
{
|
||||
GroupMap Groups;
|
||||
@@ -92,7 +92,7 @@ cGroupManager::cGroupManager()
|
||||
LOG("-- Done Loading Groups --");
|
||||
}
|
||||
|
||||
cGroup* cGroupManager::GetGroup( const char* a_Name )
|
||||
cGroup* cGroupManager::GetGroup( const AString & a_Name )
|
||||
{
|
||||
GroupMap::iterator itr = m_pState->Groups.find( a_Name );
|
||||
if( itr != m_pState->Groups.end() )
|
||||
|
||||
Reference in New Issue
Block a user