static void Postfix(Map map) { if (map.Parent is Citadel) { MapGenerator.PlayerStartSpot = NarrowUtil.FindStartSpot(map); } }
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); }
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); }