示例#1
0
 public static Field GetField(string Name)
 {
     return(AllFields.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 Field GetField(ushort ID)
 {
     return(AllFields.Find(x => x.ID == ID));
 }