NBloodServerSupervisor/WebInterface/CommandLineUtils.cs
CommonLoon102 a6dea8efbc
Mods and home page (#3)
* add some mods

* refactor

* user friendly home page added

* refactor

* update readme

* update readme
2020-01-27 12:23:00 +00:00

18 lines
401 B
C#

using Microsoft.AspNetCore.Http;
using Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace WebInterface
{
public static class CommandLineUtils
{
public static string GetLaunchCommand(string host, int port, Mod mod)
{
return $"nblood -client {host} -port {port} {mod.CommandLine}";
}
}
}