refactor: remove some warnings

This commit is contained in:
2022-12-17 18:58:37 +04:00
parent a9be230960
commit 13044357a5
2 changed files with 67 additions and 65 deletions
+11 -10
View File
@@ -1,11 +1,12 @@
using Ragon.Core.Game;
namespace Ragon.Core.Lobby;
public interface ILobby
{
public bool FindRoomById(string roomId, out Room room);
public bool FindRoomByMap(string map, out Room room);
public void Persist(Room room);
public void Remove(Room room);
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 Remove(Room room);
}