Feature:Asynchronous Operation & Formatting Code

- Now the async operation is enabled!
- Code formatted by Resharper plugin <3
This commit is contained in:
Somebody
2024-07-22 17:12:03 +08:00
parent e983375620
commit 87d228eb79
793 changed files with 34764 additions and 40190 deletions

View File

@@ -1,8 +1,7 @@
namespace EggLink.DanhengServer.WebServer.Request
namespace EggLink.DanhengServer.WebServer.Request;
public class AuthAdminKeyRequestBody
{
public class AuthAdminKeyRequestBody
{
public string admin_key { get; set; } = "";
public string key_type { get; set; } = "XML";
}
}
public string admin_key { get; set; } = "";
public string key_type { get; set; } = "XML";
}

View File

@@ -1,9 +1,8 @@
namespace EggLink.DanhengServer.WebServer.Request
namespace EggLink.DanhengServer.WebServer.Request;
public class AdminExecRequest
{
public class AdminExecRequest
{
public string SessionId { get; set; } = "";
public string Command { get; set; } = "";
public int TargetUid { get; set; } = 0;
}
}
public string SessionId { get; set; } = "";
public string Command { get; set; } = "";
public int TargetUid { get; set; } = 0;
}

View File

@@ -1,13 +1,12 @@
namespace EggLink.DanhengServer.WebServer.Request
{
public class ServerInformationRequest
{
public string SessionId { get; set; } = "";
}
namespace EggLink.DanhengServer.WebServer.Request;
public class PlayerInformationRequest
{
public string SessionId { get; set; } = "";
public int Uid { get; set; }
}
public class ServerInformationRequest
{
public string SessionId { get; set; } = "";
}
public class PlayerInformationRequest
{
public string SessionId { get; set; } = "";
public int Uid { get; set; }
}