tgstation-server
The /tg/station 13 server suite
JsonSubFileList.cs
Go to the documentation of this file.
1 using System;
2 using System.ComponentModel.DataAnnotations;
3 
4 namespace Tgstation.Server.Host.Components.Interop
5 {
9  public class JsonSubFileList
10  {
14  [Required]
15  public string ChatCommandsJson { get; set; }
16 
20  [Required]
21  public string ChatChannelsJson { get; set; }
22 
26  [Required]
27  public string ServerCommandsJson { get; set; }
28 
32  protected JsonSubFileList() { }
33 
39  {
40  if (copy == null)
41  throw new ArgumentNullException(nameof(copy));
42  ChatChannelsJson = copy.ChatChannelsJson;
43  ChatCommandsJson = copy.ChatCommandsJson;
44  ServerCommandsJson = copy.ServerCommandsJson;
45  }
46  }
47 }
string ServerCommandsJson
Path to the server commands json file
string ChatCommandsJson
Path to the chat commands json file
JsonSubFileList(JsonSubFileList copy)
Construct an JsonSubFileList from a copy
Information used in for reattaching and interop
string ChatChannelsJson
Path to the chat channels json file