12 lines
364 B
C#
12 lines
364 B
C#
using System.Diagnostics.CodeAnalysis;
|
|
using Ragon.Core.Game;
|
|
|
|
namespace Ragon.Core.Lobby;
|
|
|
|
public interface ILobby
|
|
{
|
|
public bool FindRoomById(string roomId, [MaybeNullWhen(false)] out Room room);
|
|
public bool FindRoomByMap(string map, [MaybeNullWhen(false)] out Room room);
|
|
public void Persist(Room room);
|
|
public void RemoveIfEmpty(Room room);
|
|
} |