This commit is contained in:
zznty
2022-07-21 21:57:27 +07:00
commit bc4546410e
75 changed files with 2709 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
namespace TorchRemote.Models.Responses;
public record ServerStatusResponse(double SimSpeed, int MemberCount, TimeSpan Uptime, ServerStatus Status);
public enum ServerStatus
{
/// <summary>The server is not running.</summary>
Stopped,
/// <summary>The server is starting/loading the session.</summary>
Starting,
/// <summary>The server is running.</summary>
Running,
/// <summary>The server encountered an error.</summary>
Error,
}