2020-02-11 17:44:06 -05:00
|
|
|
|
using SharedLibraryCore.Configuration;
|
|
|
|
|
|
|
|
|
|
namespace SharedLibraryCore.Interfaces
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
2022-01-26 11:32:16 -05:00
|
|
|
|
/// defines the capabilities of game server instance factory
|
2020-02-11 17:44:06 -05:00
|
|
|
|
/// </summary>
|
|
|
|
|
public interface IGameServerInstanceFactory
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
2022-01-26 11:32:16 -05:00
|
|
|
|
/// creates the instance of a game server
|
2020-02-11 17:44:06 -05:00
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="config">server configuration</param>
|
|
|
|
|
/// <param name="manager">application manager</param>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
Server CreateServer(ServerConfiguration config, IManager manager);
|
|
|
|
|
}
|
2022-01-26 11:32:16 -05:00
|
|
|
|
}
|