This commit is contained in:
2023-01-29 16:53:26 -06:00
parent 8a25c0ed35
commit e2eff4f8b5
5 changed files with 35 additions and 15 deletions

View File

@@ -1,9 +1,15 @@
using Shogi.Contracts.Types;
namespace Shogi.Contracts.Socket
namespace Shogi.Contracts.Socket;
public class SessionJoinedByPlayerSocketMessage : ISocketResponse
{
public class SessionJoinedByPlayerSocketMessage : ISocketResponse
public SocketAction Action => SocketAction.SessionJoined;
public string SessionName { get; }
public SessionJoinedByPlayerSocketMessage(string sessionName)
{
public SocketAction Action => SocketAction.SessionJoined;
SessionName = sessionName;
}
}