コード例 #1
0
        public static FriendDetailView Open(FriendInfo info)
        {
            FriendDetailView view = UIMgr.instance.Open <FriendDetailView>(PREFAB_PATH, EUISortingLayer.Tips);

            view.SetFriendInfo(info);
            return(view);
        }
コード例 #2
0
        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;
                }
            }
        }