private void GoToAvatarPage()
        {
            AvatarOverviewPageContext context = new AvatarOverviewPageContext {
                type             = AvatarOverviewPageContext.PageType.Show,
                selectedAvatarID = Singleton <PlayerModule> .Instance.playerData.uiTempSaveData.lastSelectedAvatarID
            };

            Singleton <MainUIManager> .Instance.ShowPage(context, UIType.Page);
        }
Example #2
0
 private void OnAvatarReplaceButtonClick()
 {
     if (this._galTouchView.shown)
     {
         base.view.SetActive(false);
         AvatarOverviewPageContext context = new AvatarOverviewPageContext {
             type             = AvatarOverviewPageContext.PageType.GalTouchReplace,
             selectedAvatarID = Singleton <PlayerModule> .Instance.playerData.uiTempSaveData.lastSelectedAvatarID
         };
         Singleton <MainUIManager> .Instance.ShowPage(context, UIType.Page);
     }
 }
Example #3
0
        public void OnClick()
        {
            int num = (this._avatarData != null) ? this._avatarData.avatarID : 0;
            AvatarOverviewPageContext context = new AvatarOverviewPageContext {
                type               = AvatarOverviewPageContext.PageType.TeamEdit,
                selectedAvatarID   = num,
                teamEditIndex      = this._index,
                levelType          = this._levelType,
                showAvatarRemainHP = (this._levelType != 4) ? false : true
            };

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