private void ProfilePhotoCallback(IGraphResult result) { //IL_0011: Unknown result type (might be due to invalid IL or missing references) //IL_0023: Unknown result type (might be due to invalid IL or missing references) //IL_0028: Expected O, but got Unknown if (string.IsNullOrEmpty(result.get_Error()) && result.get_Texture() != null) { profilePic = result.get_Texture(); } HandleResult(result); }
private void GetAllGroupsCB(IGraphResult result) { if (!string.IsNullOrEmpty(result.get_RawResult())) { base.LastResponse = result.get_RawResult(); IDictionary <string, object> resultDictionary = result.get_ResultDictionary(); if (resultDictionary.ContainsKey("data")) { List <object> list = (List <object>)resultDictionary["data"]; if (list.Count > 0) { Dictionary <string, object> dictionary = (Dictionary <string, object>)list[0]; gamerGroupCurrentGroup = (string)dictionary["id"]; } } } if (!string.IsNullOrEmpty(result.get_Error())) { base.LastResponse = result.get_Error(); } }