1
1
mirror of https://github.com/CyberL1/MyMcRealms.git synced 2025-07-13 06:39:41 -04:00

Fetch all my-mc servers

This commit is contained in:
2024-04-20 19:42:22 +02:00
parent 1326184cc2
commit 075af61c9f
5 changed files with 73 additions and 77 deletions

View File

@ -0,0 +1,19 @@

namespace MyMcRealms.MyMcAPI.Responses
{
public class AllServersResponse
{
public bool Success { get; set; }
public List<Server> Servers { get; set; }
public static implicit operator Task<object>(AllServersResponse? v)
{
throw new NotImplementedException();
}
}
public class Server
{
public string Connect { get; set; } = string.Empty;
}
}