public static Hashtable MNWSInfoRequestCurrUserBuddyListRequestResultToDictionary(MNWSInfoRequestCurrUserBuddyList.RequestResult srcObject) { Hashtable result = new Hashtable(1); Hashtable[] dictionaryArray = new Hashtable[srcObject.DataEntry.Length]; for (int index = 0;index < srcObject.DataEntry.Length;index++) { dictionaryArray[index] = MNWSBuddyListItemToDictionary(srcObject.DataEntry[index]); } result["DataEntry"] = dictionaryArray; return result; }
private void MNWSInfoRequestCurrUserBuddyListComplited(MNWSInfoRequestCurrUserBuddyList.RequestResult requestResult) { MNTools.DLog("MNWSInfoRequestCurrGameRoomListCompleted with result: " + requestResult.ToString()); currUserBuddyListArray = (MNWSBuddyListItem[])requestResult.DataEntry; socialGraphUpdated = true; }