GetItemDataAsText() 공개 정적인 메소드

public static GetItemDataAsText ( GameVersion version, ItemDat items, ItemDatSingle item, T8BTSK skills, T8BTEMST enemies, COOKDAT Recipes, WRLDDAT Locations, TSS tss, TSS.TSSEntry>.Dictionary dict = null ) : string
version GameVersion
items ItemDat
item ItemDatSingle
skills T8BTSK
enemies T8BTEMST
Recipes COOKDAT
Locations WRLDDAT
tss TSS
dict TSS.TSSEntry>.Dictionary
리턴 string
예제 #1
0
        private void buttonGenerateText_Click(object sender, EventArgs e)
        {
            var sb = new StringBuilder();

            foreach (var item in itemDat.items)
            {
                sb.AppendLine(ItemDat.GetItemDataAsText(Version, itemDat, item, Skills, Enemies, Recipes, Locations, TSS, InGameIdDict));
                sb.AppendLine();
                sb.AppendLine();
            }
            Clipboard.SetText(sb.ToString());
        }
예제 #2
0
        private void listBox1_SelectedIndexChanged(object sender, EventArgs e)
        {
            ItemDatSingle item = itemDat.items[listBox1.SelectedIndex];

            for (int i = 0; i < ItemDatSingle.size / 4; ++i)
            {
                labels[i].Text    = ((ItemData)i).ToString();
                textboxes[i].Text = item.Data[i].ToString();
            }

            TSSEntry entry = GetEntry(item.Data[(int)ItemData.NamePointer]);

            labelName.Text            = entry.StringEngOrJpn;
            entry                     = GetEntry(item.Data[(int)ItemData.DescriptionPointer]);
            labelDescription.Text     = entry.StringEngOrJpn;
            entry                     = GetEntry(item.Data[(int)ItemData.UnknownTextPointer]);
            labelUnknown.Text         = entry.StringEngOrJpn;
            textBoxGeneratedText.Text = ItemDat.GetItemDataAsText(Version, itemDat, item, Skills, Enemies, Recipes, Locations, TSS, InGameIdDict);
        }