Detect avatar file type for download. Not fully working yet.

This commit is contained in:
lotodore
2009-03-22 00:39:25 +00:00
parent 84cbb90e92
commit f2ec0b1ef4
7 changed files with 77 additions and 28 deletions
+2 -1
View File
@@ -61,11 +61,12 @@ struct AvatarData
struct PlayerInfo
{
PlayerInfo() : ptype(PLAYER_TYPE_HUMAN) {}
PlayerInfo() : ptype(PLAYER_TYPE_HUMAN), hasAvatar(false), avatarType(AVATAR_FILE_TYPE_UNKNOWN) {}
std::string playerName;
PlayerType ptype;
bool hasAvatar;
MD5Buf avatar;
AvatarFileType avatarType;
};
class PlayerData