IW4M-Admin/SharedLibraryCore/Interfaces/IGameServerInstanceFactory.cs

18 lines
581 B
C#
Raw Normal View History

using SharedLibraryCore.Configuration;
namespace SharedLibraryCore.Interfaces
{
/// <summary>
2022-01-26 11:32:16 -05:00
/// defines the capabilities of game server instance factory
/// </summary>
public interface IGameServerInstanceFactory
{
/// <summary>
2022-01-26 11:32:16 -05:00
/// creates the instance of a game server
/// </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
}