Enable retrieval of avatar file name through session.

This commit is contained in:
lotodore
2007-11-01 10:09:29 +00:00
parent 770cddf430
commit 392b0b8f23
2 changed files with 11 additions and 0 deletions
+8
View File
@@ -390,3 +390,11 @@ unsigned Session::getClientCurrentGameId() const
return id;
}
bool Session::getAvatarFile(const MD5Buf &avatarMD5, std::string &fileName)
{
bool retVal = false;
if (myAvatarManager.get())
retVal = myAvatarManager->GetAvatarFileName(avatarMD5, fileName);
return retVal;
}