1
0

renamed FindAndDoWithUUID to DoWithPlayerByUUID, fixed style and comments, added description to APIDump

This commit is contained in:
Lukas Pioch
2014-11-05 21:57:38 +01:00
parent 269d76a208
commit 13b20d6fe2
6 changed files with 13 additions and 10 deletions

View File

@@ -633,11 +633,11 @@ bool cRoot::FindAndDoWithPlayer(const AString & a_PlayerName, cPlayerListCallbac
bool cRoot::FindAndDoWithUUID(const AString & a_PlayerUUID, cPlayerListCallback & a_Callback)
bool cRoot::DoWithPlayerByUUID(const AString & a_PlayerUUID, cPlayerListCallback & a_Callback)
{
for (WorldMap::iterator itr = m_WorldsByName.begin(); itr != m_WorldsByName.end();itr++)
{
if (itr->second->FindAndDoWithUUID(a_PlayerUUID, a_Callback))
if (itr->second->DoWithPlayerByUUID(a_PlayerUUID, a_Callback))
{
return true;
}