예제 #1
0
        public ActionResult <string> Get(int seed)
        {
            var gen    = new QuickMap.Generator(seed);
            var result = gen.MasterWorldGen();

            return(Ok(gen.MapToString(result)));
        }
예제 #2
0
        public IActionResult Get()
        {
            var seed   = new Random().Next();
            var gen    = new QuickMap.Generator(seed);
            var result = gen.MasterWorldGen();

            return(Ok(gen.MapToString(result)));
        }