private void BattleSkipEnd() { if (this.skipMode == TutorialCommandSkip.SkipMode.BATTLE_SKIP) { this.skipMode = TutorialCommandSkip.SkipMode.NONE; this.scriptEngine.StopSkip(); } }
public void SkipCommand(TutorialCommandSkip.SkipMode mode) { this.skipMode = mode; this.scriptEngine.StartSkip(new Action <ScriptEngine.Status, int>(base.ActionScriptCommand)); if (!string.IsNullOrEmpty(this.charaFaceId)) { this.tutorialUI.Thumbnail.SetFace(this.charaFaceId); } if (this.screenShake == TutorialCommandSkip.ScreenShakeActionType.START) { ScriptCommandParams.ShakeInfo shakeInfo = this.scriptEngine.GetShakeInfo(); this.controlToGame.ShakeBackGround(shakeInfo.intensity, 0f, null); } else if (this.screenShake == TutorialCommandSkip.ScreenShakeActionType.STOP) { this.controlToGame.SuspendShakeBackGround(); } if (this.screenEffect == TutorialCommandSkip.ScreenEffectSirenActionType.START) { ScriptCommandParams.ScreenEffectInfo screenEffectInfo = this.scriptEngine.GetScreenEffectInfo(); this.controlToGame.StartEffect(screenEffectInfo.type, null); } else if (this.screenEffect == TutorialCommandSkip.ScreenEffectSirenActionType.STOP) { ScriptCommandParams.ScreenEffectInfo screenEffectInfo2 = this.scriptEngine.GetScreenEffectInfo(); this.controlToGame.StopEffect(screenEffectInfo2.type); } if (0 < this.seLoopPlayList.Count) { for (int i = 0; i < this.seLoopPlayList.Count; i++) { ScriptCommandParams.SeInfo seInfo = this.seLoopPlayList[i]; this.controlToGame.SetSe(seInfo.fileName, seInfo.play, 0f, true, seInfo.pitch); } } base.ResumeScript(); }