mirror of
https://github.com/CommonLoon102/NBloodServerSupervisor.git
synced 2025-01-03 16:42:40 +01:00
a6dea8efbc
* add some mods * refactor * user friendly home page added * refactor * update readme * update readme
18 lines
401 B
C#
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}";
|
|
}
|
|
}
|
|
}
|