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; }
private string getEntryText(EncounterStatic enc, int entry) { return(getEntryText(enc.Species, entry)); }
private string getEntryText(EncounterStatic enc, int entry) { return getEntryText(enc.Species, entry); }