public ILobby CreateLobby(Dictionary <string, string> properties, IPeer creator) { var lobby = _factory.Invoke(_plugin, properties, creator); // Add the lobby type if it's not set by the factory method if (lobby != null && lobby.Type == null) { lobby.Type = Id; } return(lobby); }
public ILobby CreateLobby(MstProperties options, IPeer creator) { var lobby = _factory.Invoke(_module, options, creator); // Add the lobby type if it's not set by the factory method if (lobby != null && lobby.Type == null) { lobby.Type = Id; } return(lobby); }