private void OnClearMonsterBatchNty(short state, ClearMonsterBatchNty down = null) { if (state != 0) { StateManager.Instance.StateShow(state, 0); return; } if (down != null && down.isBossBatch) { TimerHeap.AddTimer(3000u, 0, delegate { DialogBoxUIViewModel.Instance.ShowAsOKCancel_as(GameDataUtils.GetChineseContent(512048, false), GameDataUtils.GetChineseContent(512052, false), delegate { }, delegate { NetworkManager.Send(new ContinueSecretAreaChallengeReq { isContinue = false }, ServerType.Data); }, delegate { NetworkManager.Send(new ContinueSecretAreaChallengeReq { isContinue = true }, ServerType.Data); }, GameDataUtils.GetChineseContent(512057, false), GameDataUtils.GetChineseContent(512056, false), "button_orange_1", "button_orange_1", null); DialogBoxUIView dialogBoxUIView = UIManagerControl.Instance.GetUIIfExist("DialogBoxUI") as DialogBoxUIView; if (dialogBoxUIView != null) { dialogBoxUIView.isClick = false; dialogBoxUIView.SetMask(); } }); } }
private void Awake() { DialogBoxUIView.Instance = this; base.AwakeBase(BindingContext.BindingContextMode.MonoBinding, false); }