private void OnSelectedRecover() { base.StartCoroutine(this.RequestRecoverLife(delegate { GUIPlayerStatus.RefreshParams_S(true); this.userStamina.RefreshParams(); CMD_ChangePOP_STONE cmd_ChangePOP_STONE = UnityEngine.Object.FindObjectOfType <CMD_ChangePOP_STONE>(); if (null != cmd_ChangePOP_STONE) { cmd_ChangePOP_STONE.SetCloseAction(delegate(int i) { CMD_ModalMessage.Create(StringMaster.GetString("StaminaRecoveryTitle"), StringMaster.GetString("StaminaRecoveryCompleted"), delegate(int index) { this.OnClickedDungeon(this.StageDataBk, this.StageNumBk, null); }); }); cmd_ChangePOP_STONE.ClosePanel(true); } else { CMD_ModalMessage.Create(StringMaster.GetString("StaminaRecoveryTitle"), StringMaster.GetString("StaminaRecoveryCompleted"), delegate(int index) { this.OnClickedDungeon(this.StageDataBk, this.StageNumBk, null); }); } })); }
private void FinishedRecoverStamina() { CMD_ModalMessage.Create(StringMaster.GetString("StaminaRecoveryTitle"), StringMaster.GetString("StaminaRecoveryCompleted"), delegate(int noop) { this.StartReplayRequest(); }); }