2020-12-24 16:33:17 -06:00
|
|
|
using System.Collections.Generic;
|
|
|
|
|
2021-04-22 16:03:09 -05:00
|
|
|
namespace GameServiceWarden.ModuleFramework
|
2020-12-24 16:33:17 -06:00
|
|
|
{
|
2021-04-08 21:36:08 -05:00
|
|
|
public interface IServiceModule
|
2020-12-24 16:33:17 -06:00
|
|
|
{
|
|
|
|
/// <summary>
|
|
|
|
/// The name of the game service this module handles.
|
|
|
|
/// </summary>
|
|
|
|
string Name { get; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Description of the game service this module handles.
|
|
|
|
/// </summary>
|
|
|
|
string Description { get; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// The authors responsible for creating this module.
|
|
|
|
/// </summary>
|
|
|
|
IEnumerable<string> Authors { get; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Creates an instance of a the service to be used.
|
|
|
|
/// </summary>
|
2020-12-29 23:14:42 -06:00
|
|
|
/// <param name="workspace">The workspace directory. All service required files should be stored here. Expect the directory to be created.</param>
|
2021-04-08 21:36:08 -05:00
|
|
|
/// <returns>The <see cref="IService"/> responsible for the instance of the game service.</returns>
|
2021-04-19 01:34:45 -05:00
|
|
|
IService InstantiateService(string workspace);
|
2020-12-24 16:33:17 -06:00
|
|
|
}
|
|
|
|
}
|