GiantsTools/Giants.Services/Services/IServerRegistryService.cs

17 lines
380 B
C#
Raw Normal View History

namespace Giants.Services
{
using System.Collections.Generic;
using System.Threading.Tasks;
public interface IServerRegistryService
{
2020-08-10 07:11:10 +02:00
Task DeleteServer(string ipAddress);
Task DeleteServer(string ipAddress, string gameName, int port);
Task<IEnumerable<ServerInfo>> GetAllServers();
2020-08-09 01:31:16 +02:00
Task AddServer(ServerInfo server);
}
}