public void Exit(ClientSession session) { _sessions.Remove(session); }
public void Enter(ClientSession session) { _sessions.Add(session); session.Room = this; }
public void Leave(ClientSession session) { _sessions.Remove(session); }
public void Remove(ClientSession session) { _sessions.Remove(session.SessionId); }
public Broadcast(GameRoom room, ClientSession session, string chat) { _room = room; _session = session; _chat = chat; }