private void OnDetailBtnClick() { RemoteAvatarDetailPageContext context = new RemoteAvatarDetailPageContext(this.playerInfo, false, null); Singleton <MainUIManager> .Instance.ShowPage(context, UIType.Page); this.Close(); }
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); } }