mirror of
https://github.com/CommonLoon102/NBloodServerSupervisor.git
synced 2025-01-05 17:42:36 +01:00
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}";
|
|||
|
}
|
|||
|
}
|
|||
|
}
|