コード例 #1
0
 public static Pasture GetPasture(string Name)
 {
     return(AllPastures.Find(x => x.Name == Name));
 }
コード例 #2
0
 public static Zone GetZone(ushort ID)
 {
     return((new List <Zone> {
         AllMines.Find(x => x.ID == ID), AllPastures.Find(x => x.ID == ID), AllStorages.Find(x => x.ID == ID), AllFields.Find(x => x.ID == ID)
     }).Find(x => x != null));
 }
コード例 #3
0
 public static Pasture GetPasture(ushort ID)
 {
     return(AllPastures.Find(x => x.ID == ID));
 }