コード例 #1
0
 // 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();
     }
 }
コード例 #2
0
    // Token: 0x06000370 RID: 880 RVA: 0x00013AA8 File Offset: 0x00011EA8
    public void PushSave()
    {
        this.Controller.GetComponent <FlickCheaker>().stopFlick(true);
        ConfilmPanel confilm;

        if (SuperGameMaster.GetPictureListCount(true) >= 60)
        {
            confilm = this.Controller.GetComponent <ResultPanel>().ConfilmUI.GetComponent <ConfilmPanel>();
            confilm.OpenPanel_YesNo("写真がいっぱいです\n入れ替える写真を選択してください");
            confilm.ResetOnClick_Yes();
            confilm.SetOnClick_Yes(delegate
            {
                confilm.ClosePanel();
            });
            confilm.SetOnClick_Yes(delegate
            {
                SuperGameMaster.picture.ChangePictureData(this.evtId, this.evtDate);
            });
            confilm.SetOnClick_Yes(delegate
            {
                this.GetComponentInParent <UIMaster>().changeScene(Scenes.Album);
            });
            confilm.ResetOnClick_No();
            confilm.SetOnClick_No(delegate
            {
                confilm.ClosePanel();
            });
            confilm.SetOnClick_No(delegate
            {
                this.Controller.GetComponent <FlickCheaker>().stopFlick(false);
            });
            return;
        }
        SuperGameMaster.SavePictureList(true, this.tex, this.evtDate);
        this.Controller.GetComponentInParent <UIMaster>().OnSave();
        confilm = this.Controller.GetComponent <ResultPanel>().ConfilmUI.GetComponent <ConfilmPanel>();
        confilm.OpenPanel("写真を保存しました");
        confilm.ResetOnClick_Screen();
        confilm.SetOnClick_Screen(delegate
        {
            confilm.ClosePanel();
        });
        confilm.SetOnClick_Screen(delegate
        {
            this.Controller.GetComponent <ResultPanel>().DeletePictureResultPanel(this.evtId);
        });
        confilm.SetOnClick_Screen(delegate
        {
            this.Controller.GetComponent <FlickCheaker>().stopFlick(false);
        });
    }
コード例 #3
0
 // Token: 0x060002A5 RID: 677 RVA: 0x0000A768 File Offset: 0x00008B68
 public void OpenCamera()
 {
     if (SuperGameMaster.GetPictureListCount(false) >= 30)
     {
         base.GetComponentInParent <UIMaster>().freezeObject(true);
         base.GetComponentInParent <UIMaster>().blockUI(true, new Color(0f, 0f, 0f, 0.3f));
         ConfilmPanel confilm = this.ConfilmUI.GetComponent <ConfilmPanel>();
         confilm.OpenPanel_YesNo("写真がいっぱいです。\nさつえいに移動しますか?");
         confilm.ResetOnClick_Yes();
         confilm.SetOnClick_Yes(delegate
         {
             confilm.ClosePanel();
         });
         confilm.SetOnClick_Yes(delegate
         {
             this.GetComponentInParent <UIMaster>().freezeAll(true);
         });
         confilm.SetOnClick_Yes(delegate
         {
             this.GetComponentInParent <UIMaster>().changeScene(Scenes.Snap);
         });
         confilm.ResetOnClick_No();
         confilm.SetOnClick_No(delegate
         {
             confilm.ClosePanel();
         });
         confilm.SetOnClick_No(delegate
         {
             this.GetComponentInParent <UIMaster>().freezeObject(false);
         });
         confilm.SetOnClick_No(delegate
         {
             this.GetComponentInParent <UIMaster>().blockUI(false, new Color(0f, 0f, 0f, 0f));
         });
         return;
     }
     base.gameObject.SetActive(true);
     base.GetComponentInParent <UIMaster>().freezeObject(true);
     base.GetComponentInParent <UIMaster>().blockUI(true, new Color(0f, 0f, 0f, 0f));
     this.SnapPanel.SetActive(true);
     this.CameraResultPanel.SetActive(false);
     this.ScreenRect  = base.transform.GetComponent <RectTransform>().rect;
     this.cameraPhase = CameraPanel.Phase.Camera;
     this.cameraMode  = CameraPanel.Mode.NONE;
     this.modeTimer   = 0;
     this.lastTap     = 7;
     this.backDist    = 0f;
     SuperGameMaster.audioMgr.PlaySE(Define.SEDict["SE_Enter"]);
     Debug.Log("[CameraPanel] カメラ起動");
     this.BackFunc();
 }