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:
9
Minecraft-Realms-Emulator/Responses/BackupsResponse.cs
Normal file
9
Minecraft-Realms-Emulator/Responses/BackupsResponse.cs
Normal file
@ -0,0 +1,9 @@
|
||||
using Minecraft_Realms_Emulator.Entities;
|
||||
|
||||
namespace Minecraft_Realms_Emulator.Responses
|
||||
{
|
||||
public class BackupsResponse
|
||||
{
|
||||
public List<Backup> Backups { get; set; }
|
||||
}
|
||||
}
|
16
Minecraft-Realms-Emulator/Responses/InviteList.cs
Normal file
16
Minecraft-Realms-Emulator/Responses/InviteList.cs
Normal 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; }
|
||||
}
|
||||
}
|
@ -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; }
|
||||
}
|
||||
}
|
7
Minecraft-Realms-Emulator/Responses/NewsResponse.cs
Normal file
7
Minecraft-Realms-Emulator/Responses/NewsResponse.cs
Normal file
@ -0,0 +1,7 @@
|
||||
namespace Minecraft_Realms_Emulator.Responses
|
||||
{
|
||||
public class NewsResponse
|
||||
{
|
||||
public string NewsLink { get; set; } = string.Empty;
|
||||
}
|
||||
}
|
7
Minecraft-Realms-Emulator/Responses/OpsResponse.cs
Normal file
7
Minecraft-Realms-Emulator/Responses/OpsResponse.cs
Normal file
@ -0,0 +1,7 @@
|
||||
namespace Minecraft_Realms_Emulator.Responses
|
||||
{
|
||||
public class OpsResponse
|
||||
{
|
||||
public List<string> Ops { get; set; }
|
||||
}
|
||||
}
|
9
Minecraft-Realms-Emulator/Responses/ServersResponse.cs
Normal file
9
Minecraft-Realms-Emulator/Responses/ServersResponse.cs
Normal file
@ -0,0 +1,9 @@
|
||||
using Minecraft_Realms_Emulator.Entities;
|
||||
|
||||
namespace Minecraft_Realms_Emulator.Responses
|
||||
{
|
||||
public class ServersResponse
|
||||
{
|
||||
public List<WorldResponse>? Servers { get; set; }
|
||||
}
|
||||
}
|
@ -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; }
|
||||
}
|
||||
}
|
10
Minecraft-Realms-Emulator/Responses/WorldResponse.cs
Normal file
10
Minecraft-Realms-Emulator/Responses/WorldResponse.cs
Normal 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;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user