mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-28 23:52:36 +01:00
Overall: - Removed all 'TG' prefixes on classes and enums Service: - TGStationServer => ServerInstance - TGServerService => Service - Moved all ServerInstance partial classes to a subfolder - Moved ChatProvider classes, delegate, and interface to a namespace - Moved EventID and ChatMessageType to their own .cs files - Moved SanitizeTopicString to Program - ServerService.cs => Service.cs - Fixed ProjectInstaller being in it's own namespace instead of TGServerService Interface: - Moved ExitCode enum to Command class - Moved all components to a namespace - Moved all component enums to Enumerations.cs - DDInteropCallHolder => DreamDaemonBridge - Move PullRequestInfo and DreamDaemonBridge to their own .cs files - Changes the type of ChannelFactory cache from Dictionary<Type, ChannelFactory> to IDictionary<Type, ChannelFactory>
20 lines
508 B
C#
20 lines
508 B
C#
using System.ServiceModel;
|
|
|
|
namespace TGServiceInterface.Components
|
|
{
|
|
/// <summary>
|
|
/// Used by DD to access the interop API with call()()
|
|
/// </summary>
|
|
[ServiceContract]
|
|
public interface ITGInterop
|
|
{
|
|
/// <summary>
|
|
/// Called from /world/ExportService(command)
|
|
/// </summary>
|
|
/// <param name="command">The command to run</param>
|
|
/// <returns><see langword="true"/> on success, <see langword="false"/> on failure</returns>
|
|
[OperationContract]
|
|
bool InteropMessage(string command);
|
|
}
|
|
}
|