Custom names and time in chat
All checks were successful
Build Mau & Deploy Mau / build (push) Successful in 1m13s
Build Mau & Deploy Mau / deploy (push) Has been skipped

This commit is contained in:
DTieman
2024-04-20 23:43:07 +02:00
parent b97eb309c0
commit 1e51defad5
5 changed files with 52 additions and 20 deletions

View File

@@ -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;
}