tgstation-server 6.12.0
The /tg/station 13 server suite
Loading...
Searching...
No Matches
ReattachInformationBase.cs
Go to the documentation of this file.
1using System;
2
6
8{
13 {
17 public long? Id { get; set; }
18
22 public int ProcessId { get; set; }
23
27 public ushort Port { get; set; }
28
32 public ushort? TopicPort { get; set; }
33
37 public RebootState RebootState { get; set; }
38
43
48
54 {
55 }
56
61 protected ReattachInformationBase(string accessIdentifier)
62 : base(accessIdentifier)
63 {
64 }
65
71 : base(copy == null
72 ? throw new ArgumentNullException(nameof(copy))
73 : copy.AccessIdentifier)
74 {
75 Id = copy.Id;
76 Port = copy.Port;
77 TopicPort = copy.TopicPort;
78 ProcessId = copy.ProcessId;
82 }
83
85 public override string ToString() => $"Session: {Id}, PID: {ProcessId}, Access Identifier {AccessIdentifier}, RebootState: {RebootState}, Port: {Port}";
86 }
87}
string AccessIdentifier
Used to identify and authenticate the DreamDaemon instance.
DreamDaemonSecurity LaunchSecurityLevel
The DreamDaemonSecurity level DreamDaemon was launched with.
ReattachInformationBase()
Initializes a new instance of the ReattachInformationBase class.
ReattachInformationBase(string accessIdentifier)
Initializes a new instance of the ReattachInformationBase class.
DreamDaemonVisibility LaunchVisibility
The DreamDaemonVisibility DreamDaemon was launched with.
ushort? TopicPort
The port the game server was last listening on for topics.
ReattachInformationBase(ReattachInformationBase copy)
Initializes a new instance of the ReattachInformationBase class.
RebootState RebootState
The current DreamDaemon reboot state.
ushort Port
The port the game server was last listening on.
DreamDaemonVisibility
The visibility setting for DreamDaemon.
DreamDaemonSecurity
DreamDaemon's security level.
RebootState
Represents the action to take when /world/Reboot() is called.
Definition RebootState.cs:7