tgstation-server 6.0.1
The /tg/station 13 server suite
Loading...
Searching...
No Matches
SwarmConfiguration.cs
Go to the documentation of this file.
1using System;
2
4
5using YamlDotNet.Serialization;
6
8{
12 public sealed class SwarmConfiguration : SwarmServer
13 {
17 public const string Section = "Swarm";
18
20 [YamlMember(SerializeAs = typeof(string))]
21 public override Uri? Address
22 {
23 get => base.Address;
24 set => base.Address = value;
25 }
26
28 [YamlMember(SerializeAs = typeof(string))]
29 public override Uri? PublicAddress
30 {
31 get => base.PublicAddress;
32 set => base.PublicAddress = value;
33 }
34
38 [YamlMember(SerializeAs = typeof(string))]
39 public Uri? ControllerAddress { get; set; }
40
44 public string? PrivateKey { get; set; }
45
49 public uint UpdateRequiredNodeCount { get; set; }
50 }
51}
Information about a server in the swarm.
Definition: SwarmServer.cs:10
Configuration for the server swarm system.
string? PrivateKey
The private key used for swarm communication.
const string Section
The key for the Microsoft.Extensions.Configuration.IConfigurationSection the SwarmConfiguration resid...
uint UpdateRequiredNodeCount
The number of nodes in addition to the controller required to be connected a server swarm before perf...
Uri? ControllerAddress
The SwarmServer.Address of the swarm controller. If null, the current server is considered the contro...