mirror of
https://github.com/netchx/netch.git
synced 2026-03-14 17:43:18 +08:00
17 lines
431 B
C#
17 lines
431 B
C#
using Netch.Models;
|
|
|
|
namespace Netch.Controllers
|
|
{
|
|
public interface IModeController : IController
|
|
{
|
|
/// <summary>
|
|
/// 启动
|
|
/// </summary>
|
|
/// <param name="s">服务器</param>
|
|
/// <param name="mode">模式</param>
|
|
/// <returns>是否成功</returns>
|
|
public abstract bool Start(Server s, Mode mode);
|
|
|
|
public abstract bool TestNatRequired { get; }
|
|
}
|
|
} |