// Token: 0x060003F3 RID: 1011 RVA: 0x000197EC File Offset: 0x00017BEC public void EnterConsole() { this.CloseConsole(); int num = -1; if (this.ConsoleText.text.Length == 8) { num = SuperGameMaster.checkHoten(this.ConsoleText.text); } if (num <= -1) { ConfilmPanel confilm = this.ConfilmUI.GetComponent <ConfilmPanel>(); confilm.OpenPanel("入力に失敗しました\n(エラー:" + -num + ")"); confilm.ResetOnClick_Screen(); confilm.SetOnClick_Screen(delegate { confilm.ClosePanel(); }); } else if (num != 2147483647) { ConfilmPanel confilm = this.ConfilmUI.GetComponent <ConfilmPanel>(); confilm.OpenPanel("三つ葉を" + num + "追加しました"); confilm.ResetOnClick_Screen(); confilm.SetOnClick_Screen(delegate { confilm.ClosePanel(); }); } }
// Token: 0x06000341 RID: 833 RVA: 0x00011D08 File Offset: 0x00010108 public void PushNoticeBtn(bool cngFlag) { this.CngNoticeFlag(cngFlag); SuperGameMaster.audioMgr.PlaySE(Define.SEDict["SE_Cursor"]); if (cngFlag) { Scenes nowScenes = SuperGameMaster.GetNowScenes(); if (nowScenes != Scenes.MainOut) { if (nowScenes == Scenes.MainIn) { base.transform.parent.GetComponentInParent <UIMaster>().GameMaster.GetComponent <GameMaster_MainIn>().SetReloadTimer(1f); } } else { base.transform.parent.GetComponentInParent <UIMaster>().GameMaster.GetComponent <GameMaster_MainOut>().SetReloadTimer(1f); } SuperGameMaster.iOS_AgreeNotifications(); if (!SuperGameMaster.Android_CheckDoze()) { ConfilmPanel confilm = this.ConfilmUI.GetComponent <ConfilmPanel>(); confilm.OpenPanel("端末で省電力モードを設定していると\n通知が遅れて届く場合があります\n通知をすぐに受け取るには\n電池の最適化を無効にする\n必要があります"); confilm.ResetOnClick_Screen(); confilm.SetOnClick_Screen(delegate { confilm.ClosePanel(); }); } } }
private void saveWeatherToFile(double t, string w) { if (w.Contains("晴")) { if (t > 29) { SuperGameMaster.saveData.lastWeather = Weathers.Hot; } else { SuperGameMaster.saveData.lastWeather = Weathers.Sunny; } } else if (w.Contains("雨")) { SuperGameMaster.saveData.lastWeather = Weathers.Rain; } else if (w.Contains("雪")) { SuperGameMaster.saveData.lastWeather = Weathers.Snowy; } else if (w.Contains("多云") || w.Contains("阴")) { SuperGameMaster.saveData.lastWeather = Weathers.Cloudy; } else { SuperGameMaster.saveData.lastWeather = Weathers.Sunny; } SuperGameMaster.SaveDataToFile(); }
// Token: 0x0600031B RID: 795 RVA: 0x0000EEDC File Offset: 0x0000D2DC public void OpenWindow(int _mailId) { this.mailId = _mailId; this.mailIndex = SuperGameMaster.saveData.MailList.FindIndex((MailEventFormat mail) => mail.mailId.Equals(this.mailId)); if (this.mailIndex == -1) { return; } MailEventFormat mailEventFormat = SuperGameMaster.saveData.MailList[this.mailIndex]; base.gameObject.SetActive(true); this.titleText.transform.GetComponentInChildren <Text>().text = mailEventFormat.title; this.mainText.transform.GetComponentInChildren <Text>().text = mailEventFormat.message; if (!mailEventFormat.opened) { SuperGameMaster.saveData.MailList[this.mailIndex].opened = true; SuperGameMaster.getCloverPoint(mailEventFormat.CloverPoint); SuperGameMaster.GetTicket(mailEventFormat.ticket); if (mailEventFormat.itemId != -1) { SuperGameMaster.GetItem(mailEventFormat.itemId, mailEventFormat.itemStock); } } this.DeleteButton.GetComponent <Button>().interactable = !mailEventFormat.protect; }
// Token: 0x060002F8 RID: 760 RVA: 0x0000DFF4 File Offset: 0x0000C3F4 public void OpenPanel(string text) { this.tapBlock = true; this.timer = 0f; this.ScreenButton.GetComponent <Button>().enabled = false; this.PanelText.GetComponent <Text>().text = text; base.gameObject.SetActive(true); if (!this.HelpWindow.activeSelf) { this.HelpWindow.SetActive(true); base.GetComponent <Image>().color = new Color(0f, 0f, 0f, 0.3f); } if (text == string.Empty) { this.HelpWindow.SetActive(false); base.GetComponent <Image>().color = new Color(0f, 0f, 0f, 0f); } if (text != string.Empty) { SuperGameMaster.audioMgr.PlaySE(Define.SEDict["SE_Popup"]); } this.ScreenButton.SetActive(true); this.BackFuncFlag = base.GetComponentInParent <UIMaster>().BackFunc_GetStopFlag(); if (SuperGameMaster.GetNowScenes() != Scenes.InitScene && !this.BackFuncFlag) { base.GetComponentInParent <UIMaster>().BackFunc_Stop(true); } }
// Token: 0x0600038B RID: 907 RVA: 0x000151D0 File Offset: 0x000135D0 public void LoadPicture() { this.InfoButton.SetActive(true); this.InfoButtonImage.sprite = this.LabelSprites[3]; this.InfoButtonText.GetComponent <Text>().text = "写真がとどいています"; this.nowPage = 0; this.pageMax = 0; this.PicturePanel.transform.localPosition = Vector3.zero; foreach (EventTimerFormat eventTimerFormat in SuperGameMaster.evtMgr.get_ActEvtList_forType(TimerEvent.Type.Picture)) { Texture2D tmpPicture = SuperGameMaster.GetTmpPicture(eventTimerFormat.id, TextureFormat.RGB24); Vector3 position = new Vector3(this.PictureResultPref.transform.localPosition.x, this.PictureResultPref.transform.localPosition.y, 0f); position.x += (float)(this.pageWidth * this.pageMax); GameObject gameObject = UnityEngine.Object.Instantiate <GameObject>(this.PictureResultPref, position, Quaternion.identity); gameObject.transform.SetParent(this.PicturePanel.GetComponent <RectTransform>(), false); gameObject.GetComponent <PictureResultPanel>().Controller = base.gameObject; Sprite socialImg = this.SocialImg[0]; gameObject.GetComponent <PictureResultPanel>().CreateResult(tmpPicture, eventTimerFormat.id, eventTimerFormat.addTime, socialImg); this.pageMax++; } if (this.pageMax == 1) { this.S_FlickChecker.stopFlick(true); } else { this.S_FlickChecker.stopFlick(false); } SuperGameMaster.audioMgr.PlaySE(Define.SEDict["SE_Enter"]); }
// Token: 0x06000472 RID: 1138 RVA: 0x0001FA04 File Offset: 0x0001DE04 public void TimerAdd(EventTimerFormat addEvt) { EventTimerFormat eventTimerFormat = new EventTimerFormat(addEvt); if (eventTimerFormat.timeSpanSec < 0) { this.ActiveAdd(eventTimerFormat); } else { int num = 0; while (this.search_TimerEvtIndex_forId(num) != -1) { num++; } eventTimerFormat.id = num; eventTimerFormat.addTime = SuperGameMaster.GetLastDateTime().AddSeconds((double)eventTimerFormat.timeSpanSec); SuperGameMaster.saveData.evtList_timer.Add(new EventTimerFormat(eventTimerFormat)); SuperGameMaster.saveData.evtList_timer.Sort((EventTimerFormat x, EventTimerFormat y) => x.timeSpanSec - y.timeSpanSec); object[] array = new object[8]; array[0] = "[EventTimerManager] Timer イベントを追加: id = "; array[1] = eventTimerFormat.id; array[2] = " / timeSpan = "; array[3] = eventTimerFormat.timeSpanSec; array[4] = " || evtType = "; int num2 = 5; TimerEvent.Type evtType = eventTimerFormat.evtType; array[num2] = evtType.ToString(); array[6] = " / evtId = "; array[7] = eventTimerFormat.evtId; Debug.Log(string.Concat(array)); } }
public void Click() { image.gameObject.SetActive(true); SuperGameMaster.saveData.Item.isUsed = true; SuperGameMaster.SaveDataToFile(); panel1.DestroyItems(); }
// Token: 0x06000293 RID: 659 RVA: 0x00009E94 File Offset: 0x00008294 public void Enable() { if (!this.DeskPanel) { this.tmpBagList = SuperGameMaster.GetBagList_virtual(); if (this.tmpBagList.Count == 0) { this.tmpBagList = SuperGameMaster.GetBagList(); } } else { this.tmpBagList = SuperGameMaster.GetDeskList_virtual(); if (this.tmpBagList.Count == 0) { this.tmpBagList = SuperGameMaster.GetDeskList(); } } this.SetPanelButton(); if (!this.DeskPanel) { this.ChangeBtnEnable(SuperGameMaster.GetStandby()); } else { this.ResetBtnEnableCheck(); } this.ChangeButton.SetActive(SuperGameMaster.GetHome()); }
// Token: 0x06000286 RID: 646 RVA: 0x000099B0 File Offset: 0x00007DB0 public void PanelUpDate() { if (SuperGameMaster.GetHome()) { base.GetComponent <FlickCheaker>().FlickUpdate(); } }
// Token: 0x0600030C RID: 780 RVA: 0x0000E6B4 File Offset: 0x0000CAB4 public void PushCloseButton() { base.gameObject.SetActive(false); base.GetComponentInParent <UIMaster>().freezeObject(false); base.GetComponentInParent <UIMaster>().blockUI(false, new Color(0f, 0f, 0f, 0f)); base.GetComponentInParent <UIMaster>().stopUpDate_UI(false); SuperGameMaster.audioMgr.PlaySE(Define.SEDict["SE_Cancel"]); Scenes nowScenes = SuperGameMaster.GetNowScenes(); if (nowScenes != Scenes.MainOut) { if (nowScenes != Scenes.MainIn) { if (nowScenes == Scenes.Shop) { base.GetComponentInParent <UIMaster_Shop>().BackFunc(); } } else { base.GetComponentInParent <UIMaster_MainIn>().BackFunc(); } } else { base.GetComponentInParent <UIMaster_MainOut>().BackFunc(); } }
// Token: 0x0600030F RID: 783 RVA: 0x0000EA34 File Offset: 0x0000CE34 public void IAP_Failed(Product product, PurchaseFailureReason reason) { SuperGameMaster.IAPCallBackCntReset(); this.BtnBlocker.SetActive(false); switch (SuperGameMaster.GetNowScenes()) { case Scenes.MainOut: base.GetComponentInParent <UIMaster>().GameMaster.GetComponent <GameMaster_MainOut>().SaveAndStopReload(false); break; case Scenes.MainIn: base.GetComponentInParent <UIMaster>().GameMaster.GetComponent <GameMaster_MainIn>().SaveAndStopReload(false); break; case Scenes.Shop: base.GetComponentInParent <UIMaster>().GameMaster.GetComponent <GameMaster_Shop>().SaveAndStopReload(false); break; default: SuperGameMaster.SaveData(); break; } ConfilmPanel confilm = this.ConfilmUI.GetComponent <ConfilmPanel>(); confilm.OpenPanel("購入できませんでした"); confilm.ResetOnClick_Screen(); confilm.SetOnClick_Screen(delegate { confilm.ClosePanel(); }); confilm.SetOnClick_Screen(delegate { this.GetComponentInParent <UIMaster>().BackFunc_Stop(false); }); }
// Token: 0x0600035F RID: 863 RVA: 0x00013104 File Offset: 0x00011504 public void ChangePicture() { base.GetComponentInParent <UIMaster>().freezeObject(true); base.GetComponentInParent <UIMaster>().blockUI(true, new Color(0f, 0f, 0f, 0.3f)); Texture2D tmpPicture = SuperGameMaster.GetTmpPicture(this.chgEvtId, TextureFormat.RGB24); SuperGameMaster.SavePictureList(true, tmpPicture, this.chgPicDateTime); SuperGameMaster.evtMgr.delete_ActEvt_forId(this.chgEvtId); SuperGameMaster.DeleteTmpPicture(this.chgEvtId); SuperGameMaster.picture.ChangePictureData(-1, new DateTime(1970, 1, 1)); base.GetComponentInParent <UIMaster>().OnSave(); ConfilmPanel confilm = this.ConfilmUI.GetComponent <ConfilmPanel>(); confilm.OpenPanel("写真を入れ替えしました"); confilm.ResetOnClick_Screen(); confilm.SetOnClick_Screen(delegate { confilm.ClosePanel(); }); confilm.SetOnClick_Screen(delegate { this.GetComponentInParent <UIMaster_Album>().BackMain(); }); this.snapList_tex.Add(tmpPicture); this.snapList_sprite.Add(Sprite.Create(tmpPicture, new Rect(0f, 0f, (float)tmpPicture.width, (float)tmpPicture.height), Vector2.zero)); }
// Token: 0x0600037B RID: 891 RVA: 0x00014170 File Offset: 0x00012570 public void PushRollButton() { if (SuperGameMaster.TicketStock() < 5) { ConfilmPanel confilm = this.ConfilmUI.GetComponent <ConfilmPanel>(); confilm.OpenPanel("ふくびき券が足りません"); confilm.ResetOnClick_Screen(); confilm.SetOnClick_Screen(delegate { confilm.ClosePanel(); }); return; } SuperGameMaster.GetTicket(-5); SuperGameMaster.set_FlagAdd(Flag.Type.ROLL_NUM, 1); base.GetComponentInParent <UIMaster>().freezeObject(true); base.GetComponentInParent <UIMaster>().blockUI(true, new Color(0f, 0f, 0f, 0.3f)); this.LotteryCheck(); this.ResultButton.GetComponent <RollResultButton>().CngImage((int)this.result); this.ResultButton.GetComponent <RollResultButton>().CngResultText(Define.PrizeBallName[this.result] + "がでました"); this.LotteryWheelPanel.GetComponent <LotteryWheelPanel>().OpenPanel(this.result); SuperGameMaster.SetTmpRaffleResult((int)this.result); SuperGameMaster.SaveData(); SuperGameMaster.audioMgr.PlaySE(Define.SEDict["SE_Raffle"]); this.BackFunc(); }
// Token: 0x0600054B RID: 1355 RVA: 0x00022BB4 File Offset: 0x00020FB4 public void ExitConfilm() { this.freezeObject(true); this.blockUI(true, new Color(0f, 0f, 0f, 0.3f)); ConfilmPanel confilm = this.ConfilmUI.GetComponent <ConfilmPanel>(); confilm.OpenPanel_YesNo("アプリケーションを終了しますか?"); confilm.ResetOnClick_Yes(); confilm.SetOnClick_Yes(delegate { confilm.ClosePanel(); }); confilm.SetOnClick_Yes(delegate { SuperGameMaster.SaveData(); }); confilm.SetOnClick_Yes(delegate { Application.Quit(); }); confilm.ResetOnClick_No(); confilm.SetOnClick_No(delegate { confilm.ClosePanel(); }); confilm.SetOnClick_No(delegate { this.freezeObject(false); }); confilm.SetOnClick_No(delegate { this.blockUI(false, new Color(0f, 0f, 0f, 0f)); }); }
// Token: 0x0600063F RID: 1599 RVA: 0x00024BE8 File Offset: 0x00022FE8 public IEnumerator Proc() { this.evtId = -1; this.picDate = new DateTime(1970, 1, 1); if (SuperGameMaster.evtMgr.search_ActEvtIndex_forType(TimerEvent.Type.Picture) != -1) { bool cng = false; using (List <EventTimerFormat> .Enumerator enumerator = SuperGameMaster.evtMgr.get_ActEvtList_forType(TimerEvent.Type.Picture).GetEnumerator()) { while (enumerator.MoveNext()) { EventTimerFormat evt = enumerator.Current; int setId = evt.evtId; int charaId = evt.evtValue[0]; if (SuperGameMaster.saveData.tmpPictureId.FindIndex((int rec) => rec.Equals(evt.id)) != -1) { SuperGameMaster.LoadingProgress += 2f; if (SuperGameMaster.LoadingProgress > 100f) { SuperGameMaster.LoadingProgress = 100f; } } else { Texture2D tex = SuperGameMaster.picture.Create(setId, charaId); byte[] pngData = tex.EncodeToPNG(); SuperGameMaster.saveData.tmpPictureId.Add(evt.id); SuperGameMaster.saveData.tmpPicture.Add(pngData); SuperGameMaster.saveMgr.Save_Picture(SuperGameMaster.saveData, SaveType.Temp, SuperGameMaster.saveData.tmpPicture.Count - 1); cng = true; SuperGameMaster.LoadingProgress += 2f; if (SuperGameMaster.LoadingProgress > 100f) { SuperGameMaster.LoadingProgress = 100f; } yield return(null); } } } if (cng) { SuperGameMaster.SaveData(); } } else { if (SuperGameMaster.saveData.tmpPicture.Count > 0) { SuperGameMaster.saveData.tmpPicture = new List <byte[]>(); Debug.Log("[PictureCreator] tmpPicture に余分なデータが含まれてたため、削除しました"); } if (SuperGameMaster.saveData.tmpPictureId.Count > 0) { SuperGameMaster.saveData.tmpPictureId = new List <int>(); Debug.Log("[PictureCreator] tmpPictureId に余分なデータが含まれてたため、削除しました"); } } yield break; }
public static void LoadData() { SuperGameMaster.saveData = SuperGameMaster.saveMgr.LoadData("GameData.sav"); SuperGameMaster.deviceTime = DateTime.Now; if (SuperGameMaster.saveData.registerTime == new DateTime(1970, 1, 1)) { Debug.Log("[SuperGameMaster] in loadData: the register time is init by 1970-1-1"); SuperGameMaster.saveData.registerTime = new DateTime(SuperGameMaster.deviceTime.Year, SuperGameMaster.deviceTime.Month, SuperGameMaster.deviceTime.Day, SuperGameMaster.deviceTime.Hour, SuperGameMaster.deviceTime.Minute, SuperGameMaster.deviceTime.Second, SuperGameMaster.deviceTime.Millisecond); } if (SuperGameMaster.saveData.lastDateTime == new DateTime(1970, 1, 1)) { Debug.Log("[SuperGameMaster] in loadData: the last time you enter the game record is init by 1970-1-1"); SuperGameMaster.saveData.lastDateTime = new DateTime(SuperGameMaster.deviceTime.Year, SuperGameMaster.deviceTime.Month, SuperGameMaster.deviceTime.Day, SuperGameMaster.deviceTime.Hour, SuperGameMaster.deviceTime.Minute, SuperGameMaster.deviceTime.Second, SuperGameMaster.deviceTime.Millisecond); } if (SuperGameMaster.saveData.lastWaterTime == new DateTime(1970, 1, 1)) { Debug.Log("[SuperGameMaster] in loadData: the last time you water record is init by 1970-1-1"); SuperGameMaster.saveData.lastWaterTime = new DateTime(SuperGameMaster.deviceTime.Year, SuperGameMaster.deviceTime.Month, SuperGameMaster.deviceTime.Day, SuperGameMaster.deviceTime.Hour, SuperGameMaster.deviceTime.Minute, SuperGameMaster.deviceTime.Second, SuperGameMaster.deviceTime.Millisecond); } if (SuperGameMaster.saveData.lastDateTime <= SuperGameMaster.deviceTime) { SuperGameMaster.timeError = false; SuperGameMaster.timeErrorString = string.Empty; } else { SuperGameMaster.timeError = true; string str = string.Concat(new object [] { SuperGameMaster.saveData.lastDateTime.Year, SuperGameMaster.saveData.lastDateTime.Month, SuperGameMaster.saveData.lastDateTime.Day, SuperGameMaster.saveData.lastDateTime.ToShortTimeString() }); SuperGameMaster.timeErrorString = "[SuperGameMaster] in LoadData: return to last time, the next update is after" + str; } Debug.Log(string.Concat(new object [] { "[SuperGameMaster] the last time you enter the game is:", SuperGameMaster.saveData.lastDateTime.ToString(), "delta-T is:", SuperGameMaster.LastTime_SpanSec(), "second" })); Debug.Log(string.Concat(new object [] { "[SuperGameMaster] the last time you water is:", SuperGameMaster.saveData.lastWaterTime.ToString(), "delta-T is:", SuperGameMaster.WaterTime_SpanSec(), "second" })); }
// Token: 0x060003AF RID: 943 RVA: 0x000161B0 File Offset: 0x000145B0 private void Update() { if (SuperGameMaster.TicketStock() != this.showValue) { this.showValue = SuperGameMaster.TicketStock(); base.GetComponent <NumObjCreater>().createNumObj(this.showValue, this.numBase.transform.localPosition, (int)this.numBase.transform.GetComponent <RectTransform>().sizeDelta.x); } }
// Token: 0x060002F9 RID: 761 RVA: 0x0000E128 File Offset: 0x0000C528 public void ClosePanel() { base.gameObject.SetActive(false); if (SuperGameMaster.GetNowScenes() != Scenes.InitScene && !this.BackFuncFlag) { base.GetComponentInParent <UIMaster>().BackFunc_Stop(false); } }
// Token: 0x0600033F RID: 831 RVA: 0x00011C3C File Offset: 0x0001003C public void SetValue() { this.BgmSlider.GetComponent <Slider>().value = (float)(SuperGameMaster.audioMgr.GetBgmVolume() / 20); this.SeSlider.GetComponent <Slider>().value = (float)(SuperGameMaster.audioMgr.GetSeVolume() / 20); this.CngNoticeFlag(SuperGameMaster.GetNoticeFlag()); this.SetSupportID(false); SuperGameMaster.audioMgr.StopSE(); }
// Token: 0x06000461 RID: 1121 RVA: 0x0001F7EC File Offset: 0x0001DBEC public void Debug_TrashItem() { foreach (ItemDataFormat itemDataFormat in SuperGameMaster.sDataBase.ItemDB.data) { SuperGameMaster.UseItem(itemDataFormat.id, 20); } Debug.Log("[DebugButton] アイテム削除"); }
// Token: 0x0600059B RID: 1435 RVA: 0x00021556 File Offset: 0x0001F956 public virtual void ChangeScene(Scenes _nextScene) { this.nextScene = _nextScene; this.Disable(); SuperGameMaster.setNextScene(this.nextScene); this.nowSceneChanging = true; this.callSceneChange = false; }
// Token: 0x060003AB RID: 939 RVA: 0x000160FD File Offset: 0x000144FD public void PushSave() { if (SuperGameMaster.GetPictureListCount(true) < 60) { SuperGameMaster.SavePictureList(true, this.createImg, SuperGameMaster.GetLastDateTime()); SuperGameMaster.SaveData(); } }
// Token: 0x0600029D RID: 669 RVA: 0x0000A338 File Offset: 0x00008738 public void PushComplete() { if (!SuperGameMaster.GetStandby()) { if (this.tmpBagList[0] != -1) { if (!SuperGameMaster.tutorial.ClockOk()) { if (!base.GetComponentInParent <BagDeskPanels>().GetComponentInParent <UIMaster_MainIn>().BagCompleteCursor.GetComponentInChildren <Image>().enabled) { HelpPanel help = base.GetComponentInParent <BagDeskPanels>().GetComponentInParent <UIMaster_MainIn>().HelpUI.GetComponent <HelpPanel>(); help.OpenPanel("おべんとうに「えびづるのスコーン」\nおまもりに「よつ葉」\nを選んで<color=#61a8c7><b>かんりょう</b></color>ボタンを\n押してください"); help.ResetOnClick_Screen(); help.SetOnClick_Screen(delegate { help.ClosePanel(); }); return; } base.GetComponentInParent <BagDeskPanels>().CloseCheck(); } SuperGameMaster.SetStandby(true); SuperGameMaster.audioMgr.PlaySE(Define.SEDict["SE_Enter"]); } else { if (!SuperGameMaster.tutorial.ClockOk()) { HelpPanel help = base.GetComponentInParent <BagDeskPanels>().GetComponentInParent <UIMaster_MainIn>().HelpUI.GetComponent <HelpPanel>(); help.OpenPanel("おべんとうに「えびづるのスコーン」\nおまもりに「よつ葉」\nを選んで<color=#61a8c7><b>かんりょう</b></color>ボタンを\n押してください"); help.ResetOnClick_Screen(); help.SetOnClick_Screen(delegate { help.ClosePanel(); }); return; } base.GetComponentInParent <FlickCheaker>().stopFlick(true); ConfilmPanel confilm = base.GetComponentInParent <BagDeskPanels>().ConfilmUI.GetComponent <ConfilmPanel>(); confilm.OpenPanel("おべんとうを支度してください"); confilm.ResetOnClick_Screen(); confilm.SetOnClick_Screen(delegate { confilm.ClosePanel(); }); confilm.SetOnClick_Screen(delegate { this.GetComponentInParent <FlickCheaker>().stopFlick(false); }); } } else { SuperGameMaster.SetStandby(false); SuperGameMaster.audioMgr.PlaySE(Define.SEDict["SE_Cancel"]); } this.ChangeBtnEnable(SuperGameMaster.GetStandby()); }
// Token: 0x060002A9 RID: 681 RVA: 0x0000AAB8 File Offset: 0x00008EB8 public void Result_Yes() { SuperGameMaster.SavePictureList(false, this.saveTex, SuperGameMaster.GetLastDateTime()); base.GetComponentInParent <UIMaster>().OnSave(); SuperGameMaster.audioMgr.PlaySE(Define.SEDict["SE_Enter"]); this.CameraResult_YesNo.SetActive(false); this.CameraResult_Saved.SetActive(true); this.BackFunc_3(); }
// Token: 0x06000277 RID: 631 RVA: 0x000095BC File Offset: 0x000079BC public void Recycle(int index) { float num = this.rand_normal((float)this.clover_mu, (float)this.clover_sigma); num = Mathf.Clamp(num, (float)this.cloverSpanMin, (float)this.cloverSpanMax); this.cloverList[index].lastHarvest = SuperGameMaster.GetLastDateTime(); this.cloverList[index].timeSpanSec = (int)num; this.cloverList[index].newFlag = false; }
// Token: 0x060004C2 RID: 1218 RVA: 0x00021C24 File Offset: 0x00020024 public override void Master_Start() { this.UIMaster.GetComponent <UIMaster>().setFadeIn(0.25f); if (SuperGameMaster.GetHome()) { this.BackRenderer.sprite = this.InFrogSprite; } SuperGameMaster.tutorial.StartTutorial(base.gameObject); }
// Token: 0x060002F2 RID: 754 RVA: 0x0000DE74 File Offset: 0x0000C274 public void GetData() { this.beforeName = SuperGameMaster.GetFrogName(); this.InputUI.GetComponent <InputField>().text = this.beforeName; this.achieveId = SuperGameMaster.GetAchieveId(); AchieveDataFormat achieveDataFormat = SuperGameMaster.sDataBase.get_AchieveDB_forId(this.achieveId); this.AchieveUI.GetComponentInChildren <Text>().text = achieveDataFormat.name; }
// Token: 0x060002B5 RID: 693 RVA: 0x0000BD1C File Offset: 0x0000A11C private void Update() { if (SuperGameMaster.CloverPointStock() != this.showCloverValue) { this.numBase.GetComponent <Animator>().enabled = true; this.showCloverValue = SuperGameMaster.CloverPointStock(); base.GetComponent <NumObjCreater>().createNumObj(this.showCloverValue, this.numBase.transform.localPosition, (int)this.numBase.transform.GetComponent <RectTransform>().sizeDelta.x); } }
// Token: 0x06000757 RID: 1879 RVA: 0x000330FE File Offset: 0x000314FE public void InHomeTutorial(bool save) { this.tutorialStep++; if (save) { SuperGameMaster.SetTutorialStep(this.tutorialStep); SuperGameMaster.SaveData(); } this.CallTutorial(); }