1
1
mirror of https://github.com/CyberL1/MyMcRealms.git synced 2025-06-29 01:49:42 -04:00

Import from Github

This commit is contained in:
2024-04-20 09:20:30 +02:00
commit aa1e118775
67 changed files with 5448 additions and 0 deletions

View File

@ -0,0 +1,9 @@
using Minecraft_Realms_Emulator.Entities;
namespace Minecraft_Realms_Emulator.Responses
{
public class BackupsResponse
{
public List<Backup> Backups { get; set; }
}
}

View File

@ -0,0 +1,16 @@
namespace Minecraft_Realms_Emulator.Responses
{
public class InviteList
{
public List<InviteResponse> Invites { get; set; }
}
public class InviteResponse
{
public string InvitationId { get; set; } = string.Empty;
public string WorldName { get; set; } = string.Empty;
public string WorldOwnerName { get; set; } = string.Empty;
public string WorldOwnerUuid { get; set; } = string.Empty;
public long Date { get; set; }
}
}

View File

@ -0,0 +1,9 @@
namespace Minecraft_Realms_Emulator.Responses
{
public class MinecraftPlayerInfo
{
public string Id { get; set; } = string.Empty;
public string Name { get; set; } = string.Empty;
public object Result { get; set; }
}
}

View File

@ -0,0 +1,7 @@
namespace Minecraft_Realms_Emulator.Responses
{
public class NewsResponse
{
public string NewsLink { get; set; } = string.Empty;
}
}

View File

@ -0,0 +1,7 @@
namespace Minecraft_Realms_Emulator.Responses
{
public class OpsResponse
{
public List<string> Ops { get; set; }
}
}

View File

@ -0,0 +1,9 @@
using Minecraft_Realms_Emulator.Entities;
namespace Minecraft_Realms_Emulator.Responses
{
public class ServersResponse
{
public List<WorldResponse>? Servers { get; set; }
}
}

View File

@ -0,0 +1,9 @@
namespace Minecraft_Realms_Emulator.Responses
{
public class SubscriptionResponse
{
public long StartDate { get; set; }
public int DaysLeft { get; set; }
public string SubscriptionType { get; set; }
}
}

View File

@ -0,0 +1,10 @@
namespace Minecraft_Realms_Emulator.Entities
{
public class WorldResponse : World
{
public string RemoteSubscriptionId { get; set; } = Guid.NewGuid().ToString();
public int DaysLeft { get; set; } = 30;
public bool Expired { get; set; } = false;
public bool ExpiredTrial { get; set; } = false;
}
}