Exemplo n.º 1
0
 public static void Postfix(ResolveParams rp, out IntVec3 cell)
 {
     Map map    = BaseGen.globalSettings.map;
     var result = CellFinder.TryFindRandomCellInsideWith(rp.rect, (IntVec3 x) => x.Standable(map) && (rp.singlePawnSpawnCellExtraPredicate == null ||
                                                                                                      rp.singlePawnSpawnCellExtraPredicate(x)), out cell);
 }
        // Token: 0x060069BF RID: 27071 RVA: 0x0024FE40 File Offset: 0x0024E040
        public static bool TryFindSpawnCell(ResolveParams rp, out IntVec3 cell)
        {
            Map map = BaseGen.globalSettings.map;

            return(CellFinder.TryFindRandomCellInsideWith(rp.rect, (IntVec3 x) => x.Standable(map) && (rp.singlePawnSpawnCellExtraPredicate == null || rp.singlePawnSpawnCellExtraPredicate(x)), out cell));
        }