-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
fd13541
commit 15aa9f5
Showing
1 changed file
with
14 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,23 @@ | ||
using BepInEx.Configuration; | ||
using LobbyCompatibility.Enums; | ||
|
||
namespace LobbyCompatibility.Configuration | ||
namespace LobbyCompatibility.Configuration; | ||
|
||
/// <summary> | ||
/// BepInEx Config used to handle any configurable mod values. | ||
/// </summary> | ||
public class Config | ||
{ | ||
/// <summary> | ||
/// BepInEx Config used to handle any configurable mod values. | ||
/// Default <see cref="ModdedLobbyFilter"/> value for public lobby sorting. | ||
/// </summary> | ||
public class Config | ||
{ | ||
/// <summary> | ||
/// Default <see cref="ModdedLobbyFilter"/> value for public lobby sorting. | ||
/// </summary> | ||
public ConfigEntry<ModdedLobbyFilter> DefaultModdedLobbyFilter; | ||
public ConfigEntry<ModdedLobbyFilter> DefaultModdedLobbyFilter; | ||
|
||
public Config(ConfigFile configFile) | ||
{ | ||
DefaultModdedLobbyFilter = configFile.Bind("General", | ||
"Default Lobby Filter Type", | ||
ModdedLobbyFilter.CompatibleFirst, | ||
"The default filter to apply when searching for a public lobby"); | ||
} | ||
public Config(ConfigFile configFile) | ||
{ | ||
DefaultModdedLobbyFilter = configFile.Bind("General", | ||
"Default Lobby Filter Type", | ||
ModdedLobbyFilter.CompatibleFirst, | ||
"The default filter to apply when searching for a public lobby"); | ||
} | ||
} |