Ejemplo n.º 1
0
 internal Locker(MapGeneration.Distributors.Locker vanillalocker)
 {
     locker = vanillalocker;
     for (ushort i = 0; i < locker.Chambers.Count(); i++)
     {
         Chambers.Add(new LockerChamber(locker.Chambers[i], this, i));
     }
 }
Ejemplo n.º 2
0
 public static Synapse.Api.Locker GetLocker(this MapGeneration.Distributors.Locker locker) => Map.Get.Lockers.FirstOrDefault(x => x.GameObject == locker.gameObject);