示例#1
0
        private void OnDetailBtnClick()
        {
            RemoteAvatarDetailPageContext context = new RemoteAvatarDetailPageContext(this.playerInfo, false, null);

            Singleton <MainUIManager> .Instance.ShowPage(context, UIType.Page);

            this.Close();
        }
示例#2
0
        private void OnPortraitButtonCallBack()
        {
            FriendDetailDataItem userData = Singleton <FriendModule> .Instance.TryGetFriendDetailData(this._friendDetailData.uid);

            if (userData != null)
            {
                RemoteAvatarDetailPageContext context = new RemoteAvatarDetailPageContext(userData, false, null);
                Singleton <MainUIManager> .Instance.ShowPage(context, UIType.Page);
            }
        }