示例#1
0
    // 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));
        }
    }
 // 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();
     }
 }
示例#3
0
    // 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;
    }
示例#4
0
 // 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();
 }