tgstation-server 6.12.0
The /tg/station 13 server suite
Loading...
Searching...
No Matches
SwarmRegistrationRequest.cs
Go to the documentation of this file.
1using System;
2using System.ComponentModel.DataAnnotations;
3
5
7{
12 {
16 [Required]
17 public Version ServerVersion { get; }
18
23 public SwarmRegistrationRequest(Version serverVersion)
24 {
25 ServerVersion = serverVersion ?? throw new ArgumentNullException(nameof(serverVersion));
26 }
27 }
28}
Information about a server in the swarm.
A request to register with a swarm controller.
SwarmRegistrationRequest(Version serverVersion)
Initializes a new instance of the SwarmRegistrationRequest class.
Version ServerVersion
The swarm protocol Version of the sending server. Named this way due to legacy reasons.