Co je prosím tohle za chybovou hlášku?
Severity Code Description Project File Line Suppression State
Error CS0050 Inconsistent accessibility: return type 'Lobby' is less accessible than method 'MonopolyServer.findLobby(Guid)' MonopolyServer C:\Users\kubas\OneDrive\Plocha\Monopoly\MonopolyServer\Server\Server.cs 303 Active
Mám tuto metodu:
public static Lobby FindLobby(Guid idLobby)
{
for (int i = 0; i < client.Room.Lobbies.Count; i++)
{
if (client.Room.Lobbies[i].IDLobby == idLobby)
return client.Room.Lobbies[i];
}
return null;
}