public string GetUserPicURL(eUserSocializeState i_WhichUser) { string res = string.Empty; switch (i_WhichUser) { case eUserSocializeState.MostFriends: res = m_StatisticData.m_SocializingStats.MostFriendsUser.PictureNormalURL; break; case eUserSocializeState.LeastFriends: res = m_StatisticData.m_SocializingStats.LeastFriendsUser.PictureNormalURL; break; case eUserSocializeState.MostActive: res = m_StatisticData.m_SocializingStats.MostActiveUser.PictureNormalURL; break; } return(res); }
public string GetUserFriendCount(eUserSocializeState i_WhichUser) { string res = "Friends with {0} people!"; switch (i_WhichUser) { case eUserSocializeState.MostFriends: res = string.Format(res, m_StatisticData.m_SocializingStats.MostFriendsUser.Friends.Count); break; case eUserSocializeState.LeastFriends: res = string.Format(res, m_StatisticData.m_SocializingStats.LeastFriendsUser.Friends.Count); break; case eUserSocializeState.MostActive: res = string.Format(res, m_StatisticData.m_SocializingStats.MostActiveUser.Friends.Count); break; } return(res); }