Upload files to "routes/API"

This commit is contained in:
2026-07-24 15:43:17 +00:00
parent 646a270645
commit 50a7e49c46
5 changed files with 346 additions and 0 deletions

18
routes/API/QuickPlay.cs Normal file
View File

@@ -0,0 +1,18 @@
using Stella.Models;
namespace Stella.Routes.API
{
public class QuickPlay
{
[ServerAPI.GET("/api/quickPlay/v1/getandclear")]
[ServerAPI.UseAuthorization]
public dynamic ReturnGetAndClear(MongoDB.User user)
{
return new PlayerQuickPlayDTO
{
RoomName = null,
TargetPlayerId = user.AccountId
};
}
}
}