started working on player moves.
This commit is contained in:
@@ -2,16 +2,14 @@
|
||||
using Shogi.Contracts.Types;
|
||||
using System.Net;
|
||||
|
||||
namespace Shogi.UI.Pages.Home.Api
|
||||
namespace Shogi.UI.Pages.Home.Api;
|
||||
|
||||
public interface IShogiApi
|
||||
{
|
||||
public interface IShogiApi
|
||||
{
|
||||
Task<CreateGuestTokenResponse?> GetGuestToken();
|
||||
Task<Session?> GetSession(string name);
|
||||
Task<ReadSessionsPlayerCountResponse?> GetSessions();
|
||||
Task<Guid?> GetToken();
|
||||
Task GuestLogout();
|
||||
Task PostMove(string sessionName, Move move);
|
||||
Task<HttpStatusCode> PostSession(string name, bool isPrivate);
|
||||
}
|
||||
Task<Session?> GetSession(string name);
|
||||
Task<ReadSessionsPlayerCountResponse?> GetSessionsPlayerCount();
|
||||
Task<CreateTokenResponse?> GetToken();
|
||||
Task GuestLogout();
|
||||
Task PostMove(string sessionName, Move move);
|
||||
Task<HttpStatusCode> PostSession(string name, bool isPrivate);
|
||||
}
|
||||
Reference in New Issue
Block a user