mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-26 22:48:20 +01:00
34 lines
996 B
C#
34 lines
996 B
C#
using System.Runtime.Serialization;
|
|
|
|
namespace TGS.Interface
|
|
{
|
|
/// <summary>
|
|
/// Metadata about an <see cref="Components.ITGInstance"/>
|
|
/// </summary>
|
|
//Namespace required for compatibility reasons
|
|
[DataContract(Namespace = "http://schemas.datacontract.org/2004/07/TGServiceInterface")]
|
|
public sealed class InstanceMetadata
|
|
{
|
|
/// <summary>
|
|
/// The name of the <see cref="Components.ITGInstance"/>
|
|
/// </summary>
|
|
[DataMember]
|
|
public string Name { get; set; }
|
|
/// <summary>
|
|
/// The path of the <see cref="Components.ITGInstance"/>
|
|
/// </summary>
|
|
[DataMember]
|
|
public string Path { get; set; }
|
|
/// <summary>
|
|
/// Whether or not the <see cref="Components.ITGInstance"/> is enabled
|
|
/// </summary>
|
|
[DataMember]
|
|
public bool Enabled { get; set; }
|
|
/// <summary>
|
|
/// The logging ID of the <see cref="Components.ITGInstance"/>. Will be 0 if <see cref="Enabled"/> is <see langword="false"/>
|
|
/// </summary>
|
|
[DataMember]
|
|
public byte LoggingID { get; set; }
|
|
}
|
|
}
|