18 lines
421 B
C#
18 lines
421 B
C#
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
|
|
};
|
|
}
|
|
}
|
|
} |