Steamworks.SteamMatchmaking.AddRequestLobbyListStringFilter C# (CSharp) Méthode

AddRequestLobbyListStringFilter() public static méthode

filters for lobbies

this needs to be called before RequestLobbyList() to take effect

these are cleared on each call to RequestLobbyList()

public static AddRequestLobbyListStringFilter ( string pchKeyToMatch, string pchValueToMatch, ELobbyComparison eComparisonType ) : void
pchKeyToMatch string
pchValueToMatch string
eComparisonType ELobbyComparison
Résultat void
		public static void AddRequestLobbyListStringFilter(string pchKeyToMatch, string pchValueToMatch, ELobbyComparison eComparisonType) {
			InteropHelp.TestIfAvailableClient();
			using (var pchKeyToMatch2 = new InteropHelp.UTF8StringHandle(pchKeyToMatch))
			using (var pchValueToMatch2 = new InteropHelp.UTF8StringHandle(pchValueToMatch)) {
				NativeMethods.ISteamMatchmaking_AddRequestLobbyListStringFilter(pchKeyToMatch2, pchValueToMatch2, eComparisonType);
			}
		}