Пример #1
0
 static void Postfix(Map map)
 {
     if (map.Parent is Citadel)
     {
         MapGenerator.PlayerStartSpot = NarrowUtil.FindStartSpot(map);
     }
 }
Пример #2
0
        static bool Prefix(Map map, ref IntVec3 result, ref bool __result)
        {
            if (map.Parent is Citadel)
            {
                result   = NarrowUtil.FindStartSpot(map);
                __result = true;

                return(false);
            }
            return(true);
        }
Пример #3
0
        static bool Prefix(Map map, ref IntVec3 __result)
        {
            if (map.Parent is Citadel)
            {
                __result = NarrowUtil.FindStartSpot(map);

                FloodFillerFog.FloodUnfog(__result, map);

                return(false);
            }
            return(true);
        }