Custom names and time in chat
This commit is contained in:
@@ -4,11 +4,13 @@ namespace MauMau_Server.Websockets;
|
||||
|
||||
public class ConnectionInstance
|
||||
{
|
||||
public string Name { get; set; }
|
||||
public string ConnectionId { get; set; }
|
||||
public WebSocket Socket { get; set; }
|
||||
|
||||
public ConnectionInstance(string connectionId, WebSocket socket)
|
||||
public ConnectionInstance(string name, string connectionId, WebSocket socket)
|
||||
{
|
||||
Name = name;
|
||||
ConnectionId = connectionId;
|
||||
Socket = socket;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user