mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-27 07:04:57 +01:00
26 lines
577 B
C#
26 lines
577 B
C#
using System.ServiceModel;
|
|
|
|
namespace TGS.Interface.Components
|
|
{
|
|
/// <summary>
|
|
/// Metadata for a server instance
|
|
/// </summary>
|
|
[ServiceContract]
|
|
public interface ITGInstance
|
|
{
|
|
/// <summary>
|
|
/// Return the directory of the server on the host machine
|
|
/// </summary>
|
|
/// <returns>The path to the directory on success, null on failure</returns>
|
|
[OperationContract]
|
|
string ServerDirectory();
|
|
|
|
/// <summary>
|
|
/// Retrieve's the service's version
|
|
/// </summary>
|
|
/// <returns>The service's version</returns>
|
|
[OperationContract]
|
|
string Version();
|
|
}
|
|
}
|