tgstation-server
The /tg/station 13 server suite
DreamDaemonLaunchParameters.cs
Go to the documentation of this file.
1 using System;
2 using System.ComponentModel.DataAnnotations;
3 
4 namespace Tgstation.Server.Api.Models.Internal
5 {
10  {
14  [Required]
15  public bool? AllowWebClient { get; set; }
16 
20  [Required]
21  public DreamDaemonSecurity? SecurityLevel { get; set; }
22 
26  [Required]
27  public ushort? PrimaryPort { get; set; }
28 
32  [Required]
33  public ushort? SecondaryPort { get; set; }
34 
38  [Required]
39  public uint? StartupTimeout { get; set; }
40 
46  public bool Match(DreamDaemonLaunchParameters otherParameters) =>
47  AllowWebClient == otherParameters.AllowWebClient
48  && SecurityLevel == otherParameters.SecurityLevel
49  && PrimaryPort == otherParameters.PrimaryPort
50  && SecondaryPort == otherParameters.SecondaryPort
51  && StartupTimeout == otherParameters.StartupTimeout;
52  }
53 }
DreamDaemonSecurity SecurityLevel
The DreamDaemonSecurity level of DreamDaemon
DreamDaemonSecurity
DreamDaemon's security level
ushort PrimaryPort
The first port DreamDaemon uses. This should be the publically advertised port
bool AllowWebClient
If the BYOND web client can be used to connect to the game server