Example #1
0
    // Use this for initialization
    void Start()
    {
        BinarySaver         characterDataSaver = new BinarySaver();
        CharacterDataFormat data = new CharacterDataFormat(3, 2, 1);

        characterDataSaver.AddDataToWritingStream(data);
        characterDataSaver.SaveDataToFiles(Application.persistentDataPath + "Adventure_Character_Data.sav");
    }
Example #2
0
 // Token: 0x06000418 RID: 1048 RVA: 0x0001BF04 File Offset: 0x0001A304
 public CharacterDataFormat(CharacterDataFormat original)
 {
     this.name      = original.name;
     this.img       = original.img;
     this.id        = original.id;
     this.flagValue = original.flagValue;
     this.cloverPow = original.cloverPow;
     this.aniName   = original.aniName;
     this.size      = original.size;
     this.offset    = original.offset;
     this.rndPos    = original.rndPos;
     this.taste     = original.taste;
 }
Example #3
0
    // Token: 0x06000261 RID: 609 RVA: 0x00007C98 File Offset: 0x00006098
    public void getHitChara(int charaId)
    {
        this.focusCharaId = charaId;
        int index = this.RefChara.FindIndex((GameObject rec) => rec.GetComponent <CharaObject>().charaId.Equals(this.focusCharaId));
        EventTimerFormat eventTimerFormat = SuperGameMaster.evtMgr.get_ActEvt_forId(this.RefActEvtId[index]);

        if (eventTimerFormat.evtValue[1] == 1)
        {
            this.ConfilmUI.GetComponentInParent <UIMaster>().freezeObject(true);
            this.ConfilmUI.GetComponentInParent <UIMaster>().blockUI(false, new Color(0.3f, 0.3f, 0.3f, 0f));
            ConfilmPanel        confilm             = this.ConfilmUI.GetComponent <ConfilmPanel>();
            int                 num                 = SuperGameMaster.sDataBase.get_CharaDB_rowItemId_index(eventTimerFormat.evtValue[2]);
            CharacterDataFormat characterDataFormat = SuperGameMaster.sDataBase.get_CharaDB_forId(charaId);
            float               num2                = 100f + (float)characterDataFormat.taste[num];
            if (num2 >= 180f)
            {
                confilm.OpenPanel(characterDataFormat.name + "は\n喜んでいます");
            }
            else if (num2 >= 160f)
            {
                confilm.OpenPanel(characterDataFormat.name + "は\n嬉しそうです");
            }
            else if (num2 >= 120f)
            {
                confilm.OpenPanel(characterDataFormat.name + "は\nお腹がいっぱいです");
            }
            else
            {
                confilm.OpenPanel(characterDataFormat.name + "は\nもう食べられません");
            }
            confilm.ResetOnClick_Screen();
            confilm.SetOnClick_Screen(delegate
            {
                confilm.ClosePanel();
            });
            confilm.SetOnClick_Screen(delegate
            {
                this.ConfilmUI.GetComponentInParent <UIMaster>().freezeObject(false);
            });
            confilm.SetOnClick_Screen(delegate
            {
                this.ConfilmUI.GetComponentInParent <UIMaster>().blockUI(false, new Color(0f, 0f, 0f, 0f));
            });
            this.ResetFocus();
            return;
        }
        this.ItemView.GetComponent <ItemScrollView>().OpenScrollView(base.gameObject, ItemScrollView.Mode.Present, this.focusCharaId);
    }
Example #4
0
    // Token: 0x06000388 RID: 904 RVA: 0x00014BA8 File Offset: 0x00012FA8
    public void LoadMessage()
    {
        switch (this.MODE)
        {
        case ResultPanel.ResultMode.GoTravel:
        {
            this.InfoButton.SetActive(true);
            this.InfoButtonImage.sprite = this.LabelSprites[0];
            this.InfoButtonText.GetComponent <Text>().text = SuperGameMaster.GetFrogName() + "は\n旅立っています";
            int index = SuperGameMaster.evtMgr.search_ActEvtIndex_forType(TimerEvent.Type.GoTravel);
            EventTimerFormat eventTimerFormat = SuperGameMaster.evtMgr.get_ActEvt(index);
            SuperGameMaster.evtMgr.delete_ActEvt_forId(eventTimerFormat.id);
            SuperGameMaster.set_FlagAdd(Flag.Type.GOTRAVEL, 1);
            break;
        }

        case ResultPanel.ResultMode.Drift:
        {
            this.InfoButton.SetActive(true);
            this.InfoButtonImage.sprite = this.LabelSprites[0];
            this.InfoButtonText.GetComponent <Text>().text = SuperGameMaster.GetFrogName() + "は\nどこかへ出かけています";
            int index2 = SuperGameMaster.evtMgr.search_ActEvtIndex_forType(TimerEvent.Type.Drift);
            EventTimerFormat eventTimerFormat2 = SuperGameMaster.evtMgr.get_ActEvt(index2);
            SuperGameMaster.evtMgr.delete_ActEvt_forId(eventTimerFormat2.id);
            SuperGameMaster.set_FlagAdd(Flag.Type.GOTRAVEL, 1);
            break;
        }

        case ResultPanel.ResultMode.Friend:
        {
            string              text                = string.Empty;
            int                 index3              = SuperGameMaster.evtMgr.search_ActEvtIndex_forType(TimerEvent.Type.Friend);
            EventTimerFormat    eventTimerFormat3   = SuperGameMaster.evtMgr.get_ActEvt(index3);
            CharacterDataFormat characterDataFormat = SuperGameMaster.sDataBase.get_CharaDB_forId(eventTimerFormat3.evtId);
            this.InfoButtonImage.sprite = this.LabelSprites[1];
            text = text + characterDataFormat.name + "が\n遊びにきています";
            List <int> list = new List <int>();
            list.Add(eventTimerFormat3.evtValue[0]);
            list.Add(eventTimerFormat3.evtValue[1]);
            list.Add(eventTimerFormat3.evtValue[2]);
            list.Add(eventTimerFormat3.evtValue[3]);
            list.Add(eventTimerFormat3.evtValue[4]);
            list.Add(1);
            SuperGameMaster.evtMgr.set_ActEvt_forId(eventTimerFormat3.id, list);
            this.InfoButton.SetActive(true);
            this.InfoButtonText.GetComponent <Text>().text = text;
            if (UnityEngine.Random.Range(0, 100) < 100)
            {
                int num = SuperGameMaster.saveData.MailList.FindIndex((MailEventFormat mail) => mail.mailEvt.Equals(EvtId.Leaflet));
                if (num == -1)
                {
                    MailEventFormat mailEventFormat = new MailEventFormat();
                    mailEventFormat.NewMail();
                    mailEventFormat.title         = characterDataFormat.name + "のチラシ";
                    mailEventFormat.senderCharaId = characterDataFormat.id;
                    mailEventFormat.mailEvt       = EvtId.Leaflet;
                    mailEventFormat.mailId        = SuperGameMaster.saveData.MailList_nextId;
                    mailEventFormat.date          = SuperGameMaster.saveData.lastDateTime;
                    this.MailUI.CreateMailEvt(mailEventFormat);
                }
            }
            break;
        }

        case ResultPanel.ResultMode.Return:
            this.InfoButton.SetActive(true);
            this.InfoButtonImage.sprite = this.LabelSprites[0];
            this.InfoButtonText.GetComponent <Text>().text = SuperGameMaster.GetFrogName() + "が\n帰ってきました";
            break;
        }
    }
Example #5
0
    // Token: 0x060003E6 RID: 998 RVA: 0x00019060 File Offset: 0x00017460
    public void CreateMailButton()
    {
        RectTransform component       = this.contentsList.GetComponent <RectTransform>();
        float         spacing         = component.GetComponent <VerticalLayoutGroup>().spacing;
        float         preferredHeight = this.btnPref.GetComponent <LayoutElement>().preferredHeight;

        foreach (MailEventFormat mailEventFormat in SuperGameMaster.saveData.MailList)
        {
            GameObject gameObject = UnityEngine.Object.Instantiate <GameObject>(this.btnPref);
            gameObject.transform.SetParent(component, false);
            gameObject.GetComponent <MailButton>().setId(mailEventFormat.mailId);
            gameObject.GetComponent <MailButton>().CngTitleName(mailEventFormat.title);
            if (mailEventFormat.senderCharaId != -1)
            {
                CharacterDataFormat characterDataFormat = SuperGameMaster.sDataBase.get_CharaDB_forId(mailEventFormat.senderCharaId);
                gameObject.GetComponent <MailButton>().CngSenderImage(characterDataFormat.img);
            }
            else
            {
                gameObject.GetComponent <MailButton>().CngSenderImage(null);
            }
            if (mailEventFormat.mailEvt == EvtId.Gift || mailEventFormat.mailEvt == EvtId.Management)
            {
                if (mailEventFormat.CloverPoint > 0)
                {
                    gameObject.GetComponent <MailButton>().SetImageAndNum(mailEventFormat.CloverPoint, this.cloverImg);
                }
                else if (mailEventFormat.ticket > 0)
                {
                    gameObject.GetComponent <MailButton>().SetImageAndNum(mailEventFormat.ticket, this.ticketImg);
                }
                else if (mailEventFormat.itemId == 1000)
                {
                    gameObject.GetComponent <MailButton>().SetImageAndNum(mailEventFormat.itemStock, this.fourCloverImg);
                }
                else
                {
                    gameObject.GetComponent <MailButton>().SetImageAndNum(0, this.cloverImg);
                }
            }
            if (mailEventFormat.mailEvt == EvtId.Leaflet)
            {
                gameObject.GetComponent <MailButton>().SetImage(this.leafletImg);
            }
            gameObject.GetComponent <MailButton>().SetMailEvtId(mailEventFormat.mailEvt, mailEventFormat.opened);
            if (mailEventFormat.itemId != -1 && mailEventFormat.itemId != 1000)
            {
                if (mailEventFormat.itemId < 10000)
                {
                    ItemDataFormat itemDataFormat = SuperGameMaster.sDataBase.get_ItemDB_forId(mailEventFormat.itemId);
                    gameObject.GetComponent <MailButton>().CngItemImage(itemDataFormat.img);
                }
                else
                {
                    CollectionDataFormat collectionDataFormat = SuperGameMaster.sDataBase.get_CollectDB_forId(mailEventFormat.itemId - 10000);
                    gameObject.GetComponent <MailButton>().CngItemImage(collectionDataFormat.img);
                }
            }
            else
            {
                gameObject.GetComponent <MailButton>().CngItemImage(null);
            }
            gameObject.GetComponent <MailButton>().mailScrollView = base.gameObject;
            if (mailEventFormat.opened)
            {
                gameObject.GetComponent <Image>().color = new Color(0.8f, 0.8f, 0.8f);
            }
        }
    }
Example #6
0
    // Token: 0x060003EC RID: 1004 RVA: 0x000195D0 File Offset: 0x000179D0
    public IEnumerator ShowInterStitial(int _mailId, EvtId mailEvtId, int mailIndex)
    {
        if (!SuperGameMaster.admobMgr.ShowInterstitial_OK() && !SuperGameMaster.admobMgr.nowLoadInterstitial)
        {
            SuperGameMaster.admobMgr.RequestInterstitial();
            Debug.Log("[admobManager] インタースティシャルを再読み込みします");
        }
        base.GetComponentInParent <UIMaster>().freezeUI(true, new Color(0f, 0f, 0f, 0.3f));
        float timer;

        for (timer = 0f; timer < 3f; timer += Time.deltaTime)
        {
            if (!SuperGameMaster.admobMgr.nowLoadInterstitial)
            {
                break;
            }
            yield return(null);
        }
        if (!SuperGameMaster.admobMgr.ShowInterstitial_OK())
        {
            ConfilmPanel confilm = this.ConfilmUI.GetComponent <ConfilmPanel>();
            confilm.OpenPanel("インターネットに接続できませんでした\n電波状況や端末オプションを\nご確認のうえ、再度お試しください");
            confilm.ResetOnClick_Screen();
            confilm.SetOnClick_Screen(delegate
            {
                confilm.ClosePanel();
            });
        }
        else
        {
            CharacterDataFormat characterDataFormat = SuperGameMaster.sDataBase.get_CharaDB_forId(SuperGameMaster.saveData.MailList[mailIndex].senderCharaId);
            ConfilmPanel        confilm             = this.ConfilmUI.GetComponent <ConfilmPanel>();
            confilm.OpenPanel_YesNo(characterDataFormat.name + "が \n持ってきたチラシ(広告)を\n見ますか?");
            confilm.ResetOnClick_Yes();
            confilm.SetOnClick_Yes(delegate
            {
                confilm.ClosePanel();
            });
            confilm.SetOnClick_Yes(delegate
            {
                SuperGameMaster.saveData.MailList.RemoveAt(mailIndex);
            });
            confilm.SetOnClick_Yes(delegate
            {
                SuperGameMaster.GetTicket(1);
            });
            confilm.SetOnClick_Yes(delegate
            {
                confilm.OpenPanel(string.Empty);
            });
            confilm.SetOnClick_Yes(delegate
            {
                confilm.AddContents(UnityEngine.Object.Instantiate <GameObject>(this.$this.AddConfirm_pref));
            });
            confilm.SetOnClick_Yes(delegate
            {
                confilm.ResetOnClick_Screen();
            });
            confilm.SetOnClick_Yes(delegate
            {
                confilm.SetOnClick_Screen(delegate
                {
                    confilm.ClosePanel();
                });
            });
            confilm.SetOnClick_Yes(delegate
            {
                confilm.SetOnClick_Screen(delegate
                {
                    this.$this.DeleteMailButton(_mailId);
                });
            });
            confilm.SetOnClick_Yes(delegate
            {
                confilm.SetOnClick_Screen(delegate
                {
                    SuperGameMaster.admobMgr.ShowInterstitial();
                });
            });
            confilm.ResetOnClick_No();
            confilm.SetOnClick_No(delegate
            {
                confilm.ClosePanel();
            });
            confilm.SetOnClick_No(delegate
            {
                SuperGameMaster.saveData.MailList.RemoveAt(mailIndex);
            });
            confilm.SetOnClick_No(delegate
            {
                this.$this.DeleteMailButton(_mailId);
            });
        }
        base.GetComponentInParent <UIMaster>().freezeUI(false, new Color(0f, 0f, 0f, 0f));
        Debug.Log(string.Concat(new object[]
        {
            "[MailScrollView] 広告処理終了:",
            SuperGameMaster.admobMgr.nowLoadInterstitial,
            " / timer = ",
            timer
        }));
        yield break;
    }
Example #7
0
    // Token: 0x06000262 RID: 610 RVA: 0x00007E94 File Offset: 0x00006294
    public void selectedItem(int charaId, int itemId)
    {
        if (itemId == -1)
        {
            this.ResetFocus();
            return;
        }
        int index = this.RefChara.FindIndex((GameObject rec) => rec.GetComponent <CharaObject>().charaId.Equals(charaId));
        EventTimerFormat eventTimerFormat = SuperGameMaster.evtMgr.get_ActEvt_forId(this.RefActEvtId[index]);
        ItemDataFormat   itemDataFormat   = new ItemDataFormat();

        itemDataFormat = SuperGameMaster.sDataBase.get_ItemDB_forId(itemId);
        bool flag = false;

        for (int i = 0; i < itemDataFormat.effectType.Length; i++)
        {
            if (itemDataFormat.effectElm[i] == EffectElm.FL_RARE)
            {
                flag = true;
            }
        }
        int num  = UnityEngine.Random.Range(0, 100);
        int num2 = 0;

        Define.Gift gift = Define.Gift.NONE;
        for (int j = 0; j < 3; j++)
        {
            if (flag)
            {
                num2 += Define.FRIEND_GIFTPER_RARE[(Define.Gift)j];
            }
            else
            {
                num2 += Define.FRIEND_GIFTPER_NORMAL[(Define.Gift)j];
            }
            if (num < num2)
            {
                gift = (Define.Gift)j;
                break;
            }
        }
        CharacterDataFormat characterDataFormat = SuperGameMaster.sDataBase.get_CharaDB_forId(charaId);
        int num3 = Define.FRIEND_GIFTFIX[gift];

        if (gift != Define.Gift.Clover)
        {
            if (gift != Define.Gift.FourClover)
            {
                if (gift == Define.Gift.Ticket)
                {
                    if (flag)
                    {
                        num3 += UnityEngine.Random.Range(1, 4);
                    }
                }
            }
        }
        else
        {
            int   num4 = SuperGameMaster.sDataBase.get_CharaDB_rowItemId_index(itemId);
            float num5 = (100f + (float)characterDataFormat.taste[num4]) / 100f;
            float num6 = (float)(eventTimerFormat.activeTime / 1800);
            int   num7 = new List <int>
            {
                eventTimerFormat.evtValue[2],
                eventTimerFormat.evtValue[3],
                eventTimerFormat.evtValue[4]
            }.FindIndex((int rec) => rec.Equals(itemId));
            float num8 = 1f;
            if (num7 != -1)
            {
                num8 = Define.FRIEND_ITEM_DEBUFF[num7];
            }
            num3 += (int)((float)characterDataFormat.cloverPow * num5 * num6 * num8 / 15f);
            Debug.Log(string.Concat(new object[]
            {
                "みつば数算出:[",
                num3,
                "] pow = ",
                characterDataFormat.cloverPow,
                " / taste = ",
                num5,
                " / count = ",
                num6,
                " / buf = ",
                num8
            }));
            if (flag)
            {
                num3 += 20;
            }
        }
        Debug.Log(string.Concat(new object[]
        {
            "[CharaTable] お返しの抽選を行ないました: charaId = ",
            charaId,
            " / itemId = ",
            itemId,
            "(",
            flag,
            ") >> ",
            gift.ToString(),
            "(",
            num3,
            ")"
        }));
        List <int> list = new List <int>();

        list.Add(eventTimerFormat.evtValue[0]);
        list.Add(1);
        list.Add(itemId);
        list.Add(eventTimerFormat.evtValue[2]);
        list.Add(eventTimerFormat.evtValue[3]);
        list.Add(eventTimerFormat.evtValue[5]);
        SuperGameMaster.evtMgr.set_ActEvt_forId(eventTimerFormat.id, list);
        EventTimerFormat eventTimerFormat2 = new EventTimerFormat();

        eventTimerFormat2.id          = -1;
        eventTimerFormat2.timeSpanSec = eventTimerFormat.timeSpanSec;
        eventTimerFormat2.activeTime  = -1;
        eventTimerFormat2.addTime     = new DateTime(1970, 1, 1);
        eventTimerFormat2.evtType     = TimerEvent.Type.Gift;
        eventTimerFormat2.evtId       = charaId;
        eventTimerFormat2.evtValue    = new List <int>();
        eventTimerFormat2.evtValue.Add((int)gift);
        eventTimerFormat2.evtValue.Add(num3);
        eventTimerFormat2.trigger = true;
        SuperGameMaster.evtMgr.TimerAdd(eventTimerFormat2);
        this.ResetFocus();
        SuperGameMaster.UseItem(itemId, 1);
        this.ConfilmUI.GetComponentInParent <UIMaster>().freezeObject(true);
        this.ConfilmUI.GetComponentInParent <UIMaster>().blockUI(true, new Color(0.3f, 0.3f, 0.3f, 0f));
        ConfilmPanel confilm = this.ConfilmUI.GetComponent <ConfilmPanel>();

        confilm.OpenPanel(characterDataFormat.name + "に" + itemDataFormat.name + "\nをふるまいました");
        confilm.ResetOnClick_Screen();
        confilm.SetOnClick_Screen(delegate
        {
            confilm.ClosePanel();
        });
        confilm.SetOnClick_Screen(delegate
        {
            this.ConfilmUI.GetComponentInParent <UIMaster>().freezeObject(false);
        });
        confilm.SetOnClick_Screen(delegate
        {
            this.ConfilmUI.GetComponentInParent <UIMaster>().blockUI(false, new Color(0f, 0f, 0f, 0f));
        });
    }
Example #8
0
    // Token: 0x06000265 RID: 613 RVA: 0x00008688 File Offset: 0x00006A88
    public void CreteCharacter(int charaId, int posId)
    {
        CharacterDataFormat characterDataFormat = SuperGameMaster.sDataBase.get_CharaDB_forId(charaId);

        this.CreteCharacter(charaId, characterDataFormat.aniName, characterDataFormat.rndPos[posId], 0, characterDataFormat.size, characterDataFormat.offset);
    }
Example #9
0
    // Token: 0x06000476 RID: 1142 RVA: 0x0001FF8C File Offset: 0x0001E38C
    public void ActiveMath(TimerEvent.Type proc_evtType)
    {
        List <EventTimerFormat> list = new List <EventTimerFormat>();

        foreach (EventTimerFormat eventTimerFormat in SuperGameMaster.saveData.evtList_active)
        {
            if (proc_evtType == TimerEvent.Type.NONE || proc_evtType == eventTimerFormat.evtType)
            {
                switch (eventTimerFormat.evtType)
                {
                case TimerEvent.Type.GoTravel:
                    if (eventTimerFormat.timeSpanSec < 0)
                    {
                        SuperGameMaster.set_FlagAdd(Flag.Type.GOTRAVEL, 1);
                    }
                    SuperGameMaster.ResetSave_BagDeskList_virtual();
                    break;

                case TimerEvent.Type.BackHome:
                    SuperGameMaster.ResetSave_BagDeskList_virtual();
                    break;

                case TimerEvent.Type.Picture:
                    if (eventTimerFormat.timeSpanSec < 0)
                    {
                        SuperGameMaster.set_FlagAdd(Flag.Type.GOTRAVEL, 1);
                    }
                    SuperGameMaster.ResetSave_BagDeskList_virtual();
                    break;

                case TimerEvent.Type.Return:
                    SuperGameMaster.ResetSave_BagDeskList_virtual();
                    break;

                case TimerEvent.Type.Friend:
                    if (eventTimerFormat.timeSpanSec <= 0)
                    {
                        int num  = eventTimerFormat.timeSpanSec;
                        int num2 = 0;
                        CharacterDataFormat characterDataFormat = SuperGameMaster.sDataBase.get_CharaDB_forId(eventTimerFormat.evtId);
IL_2E9:
                        while (num + num2 <= 0)
                        {
                            num += 21600;
                            while (UnityEngine.Random.Range(0, 100) >= 10)
                            {
                                num += 1800;
                                if (num > 1296000)
                                {
IL_2C1:
                                    num2  = UnityEngine.Random.Range(6, 9);
                                    num2 *= 1800;
                                    if (characterDataFormat.flagValue > SuperGameMaster.Count_CollectionFlag())
                                    {
                                        num2 = 0;
                                        goto IL_2E9;
                                    }
                                    goto IL_2E9;
                                }
                            }
                            goto IL_2C1;
                        }
                        list.Add(new EventTimerFormat
                        {
                            id          = -1,
                            timeSpanSec = num,
                            activeTime  = num2,
                            addTime     = new DateTime(1970, 1, 1),
                            evtType     = TimerEvent.Type.Friend,
                            evtId       = characterDataFormat.id,
                            evtValue    = new List <int>(),
                            evtValue    =
                            {
                                UnityEngine.Random.Range(0,   characterDataFormat.rndPos.Length),
                                0,
                                eventTimerFormat.evtValue[2],
                                eventTimerFormat.evtValue[3],
                                eventTimerFormat.evtValue[4],
                                0
                            },
                            trigger = false
                        });
                    }
                    break;

                case TimerEvent.Type.Gift:
                {
                    int count = SuperGameMaster.saveData.MailList.Count;
                    if (count >= 100)
                    {
                        SuperGameMaster.saveData.MailList.RemoveAt(0);
                        Debug.Log("[EventTimerManager] 昔のメールを削除しました");
                    }
                    MailEventFormat mailEventFormat = new MailEventFormat();
                    mailEventFormat.NewMail();
                    int evtId = eventTimerFormat.evtId;
                    CharacterDataFormat characterDataFormat2 = SuperGameMaster.sDataBase.get_CharaDB_forId(evtId);
                    Define.Gift         gift = (Define.Gift)eventTimerFormat.evtValue[0];
                    if (gift != Define.Gift.Clover)
                    {
                        if (gift != Define.Gift.FourClover)
                        {
                            if (gift == Define.Gift.Ticket)
                            {
                                mailEventFormat.title  = characterDataFormat2.name + "のおかえし";
                                mailEventFormat.ticket = eventTimerFormat.evtValue[1];
                            }
                        }
                        else
                        {
                            mailEventFormat.title     = characterDataFormat2.name + "のおかえし";
                            mailEventFormat.itemId    = 1000;
                            mailEventFormat.itemStock = eventTimerFormat.evtValue[1];
                        }
                    }
                    else
                    {
                        mailEventFormat.title       = characterDataFormat2.name + "のおかえし";
                        mailEventFormat.CloverPoint = eventTimerFormat.evtValue[1];
                    }
                    mailEventFormat.senderCharaId = characterDataFormat2.id;
                    mailEventFormat.mailEvt       = EvtId.Gift;
                    mailEventFormat.mailId        = SuperGameMaster.saveData.MailList_nextId;
                    mailEventFormat.date          = SuperGameMaster.saveData.lastDateTime;
                    SuperGameMaster.saveData.MailList.Add(mailEventFormat);
                    SuperGameMaster.saveData.MailList_nextId++;
                    Debug.Log(string.Concat(new object[]
                        {
                            "[EventTimerManager] メール追加(",
                            SuperGameMaster.saveData.MailList.Count,
                            ") ID:",
                            mailEventFormat.mailId,
                            " next:",
                            SuperGameMaster.saveData.MailList_nextId
                        }));
                    eventTimerFormat.trigger     = false;
                    eventTimerFormat.timeSpanSec = -1;
                    break;
                }
                }
            }
        }
        foreach (EventTimerFormat addEvt in list)
        {
            SuperGameMaster.evtMgr.TimerAdd(addEvt);
        }
    }