Upload files to "routes/API"
This commit is contained in:
18
routes/API/QuickPlay.cs
Normal file
18
routes/API/QuickPlay.cs
Normal 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
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user