Exemplo n.º 1
0
 private void loadData()
 {
     FieldData     = File.ReadAllBytes(FieldPath);
     EncounterData = new EncounterStatic[count];
     LB_Encounters.Items.Clear();
     for (int i = 0; i < EncounterData.Length; i++)
     {
         EncounterData[i] = new EncounterStatic(FieldData.Skip(fieldOffset + i * fieldSize).Take(fieldSize).ToArray());
         LB_Encounters.Items.Add($"{i.ToString("00")} - {specieslist[EncounterData[i].Species]}");
     }
     loaded = true;
     LB_Encounters.SelectedIndex = 0;
 }
Exemplo n.º 2
0
 private string getEntryText(EncounterStatic enc, int entry)
 {
     return(getEntryText(enc.Species, entry));
 }
Exemplo n.º 3
0
 private string getEntryText(EncounterStatic enc, int entry)
 {
     return getEntryText(enc.Species, entry);
 }