public static FriendDetailView Open(FriendInfo info) { FriendDetailView view = UIMgr.instance.Open <FriendDetailView>(PREFAB_PATH, EUISortingLayer.Tips); view.SetFriendInfo(info); return(view); }
private void LookupFriendTeamByProtocol(int id) { FriendInfo info = null; for (int i = 0, count = _currentFriendList.Count; i < count; i++) { info = _currentFriendList[i]; if (info.id == id) { FriendDetailView.Open(info); break; } } }