예제 #1
0
 // 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());
 }
예제 #2
0
    // Token: 0x060003D1 RID: 977 RVA: 0x00017DE4 File Offset: 0x000161E4
    public void GetBagList()
    {
        string text = "\n";

        text += "\n\n【支度リスト】 (bagList/DeskList) ~~~~~~~~~~~ \n";
        text += "\u3000かばん:\n";
        foreach (int num in SuperGameMaster.GetBagList())
        {
            if (num == -1)
            {
                text += "\u3000\u3000\u3000\u3000\u3000- ,\n";
            }
            else
            {
                ItemDataFormat itemDataFormat = new ItemDataFormat();
                itemDataFormat = SuperGameMaster.sDataBase.get_ItemDB_forId(num);
                text           = text + "\u3000\u3000\u3000\u3000\u3000" + itemDataFormat.name + ",\n";
            }
        }
        text += "\u3000つくえ:\n";
        foreach (int num2 in SuperGameMaster.GetDeskList())
        {
            if (num2 == -1)
            {
                text += "\u3000\u3000\u3000\u3000\u3000\u3000- ,\n";
            }
            else
            {
                ItemDataFormat itemDataFormat2 = new ItemDataFormat();
                itemDataFormat2 = SuperGameMaster.sDataBase.get_ItemDB_forId(num2);
                text            = text + "\u3000\u3000\u3000\u3000\u3000" + itemDataFormat2.name + ",\n";
            }
        }
        text += "\n~~~~~~~~~(仮想リスト)~~~~~~~~~\n";
        text += "\u3000かばん:\n";
        foreach (int num3 in SuperGameMaster.GetBagList_virtual())
        {
            if (num3 == -1)
            {
                text += "\u3000\u3000\u3000\u3000\u3000\u3000- ,\n";
            }
            else
            {
                ItemDataFormat itemDataFormat3 = new ItemDataFormat();
                itemDataFormat3 = SuperGameMaster.sDataBase.get_ItemDB_forId(num3);
                text            = text + "\u3000\u3000\u3000\u3000\u3000" + itemDataFormat3.name + ",\n";
            }
        }
        text += "\u3000つくえ:\n";
        foreach (int num4 in SuperGameMaster.GetDeskList_virtual())
        {
            if (num4 == -1)
            {
                text += "\u3000\u3000\u3000\u3000\u3000\u3000- ,\n";
            }
            else
            {
                ItemDataFormat itemDataFormat4 = new ItemDataFormat();
                itemDataFormat4 = SuperGameMaster.sDataBase.get_ItemDB_forId(num4);
                text            = text + "\u3000\u3000\u3000\u3000\u3000" + itemDataFormat4.name + ",\n";
            }
        }
        this.Result_text.GetComponent <Text>().text = text;
    }