checkpoint
This commit is contained in:
@@ -2,18 +2,16 @@
|
||||
|
||||
namespace Gameboard.ShogiUI.Sockets.ServiceModels.Api
|
||||
{
|
||||
public class GetGuestToken
|
||||
{
|
||||
}
|
||||
|
||||
public class GetGuestTokenResponse
|
||||
{
|
||||
public string PlayerName { get; }
|
||||
public string UserId { get; }
|
||||
public string DisplayName { get; }
|
||||
public Guid OneTimeToken { get; }
|
||||
|
||||
public GetGuestTokenResponse(string playerName, Guid token)
|
||||
public GetGuestTokenResponse(string id, string displayName, Guid token)
|
||||
{
|
||||
PlayerName = playerName;
|
||||
UserId = id;
|
||||
DisplayName = displayName;
|
||||
OneTimeToken = token;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,13 +1,9 @@
|
||||
using Gameboard.ShogiUI.Sockets.ServiceModels.Types;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Gameboard.ShogiUI.Sockets.ServiceModels.Api
|
||||
{
|
||||
public class GetGameResponse
|
||||
public class GetSessionResponse
|
||||
{
|
||||
public Game Game { get; set; }
|
||||
public WhichPlayer PlayerPerspective { get; set; }
|
||||
@@ -0,0 +1,11 @@
|
||||
using Gameboard.ShogiUI.Sockets.ServiceModels.Types;
|
||||
using System.Collections.ObjectModel;
|
||||
|
||||
namespace Gameboard.ShogiUI.Sockets.ServiceModels.Api
|
||||
{
|
||||
public class GetSessionsResponse
|
||||
{
|
||||
public Collection<Game> PlayerHasJoinedSessions { get; set; }
|
||||
public Collection<Game> AllOtherSessions { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user