/// <summary> /// Searches for a matching lobby according to the provided filter data. /// Note that a search will only start if no search is currently running. /// </summary> /// <param name="LobbyFilter">Describes the metadata to search for in a lobby</param> public void FindMatch(LobbyHunterFilter LobbyFilter) { if (LobbySettings != null) { LobbySettings.FindMatch(LobbyFilter); } else { Debug.LogWarning("[HeatehnSteamLobbyManager|FindMatch] attempted to find a match while [HeathenSteamLobbyManager|LobbySettings] is null"); } }
/// <summary> /// Starts a staged search for a matching lobby. Search will only start if no searches are currently running. /// </summary> /// <param name="LobbyFilter"></param> /// <param name="autoCreate"></param> /// <returns>True if the search was started, false otherwise.</returns> public bool QuickMatch(LobbyHunterFilter LobbyFilter, string onCreateName, bool autoCreate = false) { if (LobbySettings != null) { return(LobbySettings.QuickMatch(LobbyFilter, onCreateName, autoCreate)); } else { Debug.LogWarning("[HeatehnSteamLobbyManager|QuickMatch] attempted to quick match while [HeathenSteamLobbyManager|LobbySettings] is null"); return(false); } }
public void CreateLobby(LobbyHunterFilter LobbyFilter, string LobbyName = "", ELobbyType lobbyType = ELobbyType.k_ELobbyTypePublic) { throw new NotImplementedException(); }