/// <summary> /// <para> filters for lobbies</para> /// <para> this needs to be called before RequestLobbyList() to take effect</para> /// <para> these are cleared on each call to RequestLobbyList()</para> /// </summary> 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); } }
/// <summary> /// Base constructor for all filter sub-classes. /// </summary> /// <param name="filterType">The type of filter.</param> /// <param name="key">The metadata key this filter pertains to.</param> /// <param name="comparison">The comparison method used by this filter.</param> protected Filter(ELobbyFilterType filterType, string key, ELobbyComparison comparison) { FilterType = filterType; Key = key; Comparison = comparison; }
/// <summary> /// Initializes a new instance of the <see cref="StringFilter"/> class. /// </summary> /// <param name="key">The metadata key this filter pertains to.</param> /// <param name="comparison">The comparison method used by this filter.</param> /// <param name="value">String value to compare against.</param> public StringFilter(string key, ELobbyComparison comparison, string value) : base(ELobbyFilterType.String, key, comparison) { Value = value; }
/// <summary> /// Initializes a new instance of the <see cref="NumericalFilter"/> class. /// </summary> /// <param name="key">The metadata key this filter pertains to.</param> /// <param name="comparison">The comparison method used by this filter.</param> /// <param name="value">Integer value to compare against.</param> public NumericalFilter(string key, ELobbyComparison comparison, int value) : base(ELobbyFilterType.Numerical, key, comparison) { Value = value; }
// Token: 0x060008A0 RID: 2208 RVA: 0x0000571E File Offset: 0x0000391E public static void AddRequestLobbyListNumericalFilter(string pchKeyToMatch, int nValueToMatch, ELobbyComparison eComparisonType) { InteropHelp.TestIfAvailableClient(); NativeMethods.ISteamMatchmaking_AddRequestLobbyListNumericalFilter(pchKeyToMatch, nValueToMatch, eComparisonType); }
public static extern void ISteamMatchmaking_AddRequestLobbyListNumericalFilter(InteropHelp.UTF8StringHandle pchKeyToMatch, int nValueToMatch, ELobbyComparison eComparisonType);
/// <summary> /// <para> numerical comparison</para> /// </summary> public static void AddRequestLobbyListNumericalFilter(string pchKeyToMatch, int nValueToMatch, ELobbyComparison eComparisonType) { InteropHelp.TestIfAvailableClient(); using (var pchKeyToMatch2 = new InteropHelp.UTF8StringHandle(pchKeyToMatch)) { NativeMethods.ISteamMatchmaking_AddRequestLobbyListNumericalFilter(CSteamAPIContext.GetSteamMatchmaking(), pchKeyToMatch2, nValueToMatch, eComparisonType); } }
public void AddRequestLobbyListStringFilter(string pchKeyToMatch, string pchValueToMatch, ELobbyComparison eComparisonType) { this.GetFunction <NativeAddRequestLobbyListStringFilterSSE>(this.Functions.AddRequestLobbyListStringFilter5)(this.ObjectAddress, pchKeyToMatch, pchValueToMatch, eComparisonType); }
public void AddRequestLobbyListNumericalFilter(string pchKeyToMatch, Int32 nValueToMatch, ELobbyComparison eComparisonType) { this.GetFunction <NativeAddRequestLobbyListNumericalFilterSIE>(this.Functions.AddRequestLobbyListNumericalFilter6)(this.ObjectAddress, pchKeyToMatch, nValueToMatch, eComparisonType); }
private static void SteamUnityAPI_SteamMatchmaking_AddRequestLobbyListNumericalFilter(IntPtr matchmaking, [MarshalAs(UnmanagedType.LPStr)] string key, int value, ELobbyComparison comparisonType);
// Token: 0x06000796 RID: 1942 RVA: 0x0000E22C File Offset: 0x0000C42C public static void AddRequestLobbyListStringFilter(string pchKeyToMatch, string pchValueToMatch, ELobbyComparison eComparisonType) { InteropHelp.TestIfAvailableClient(); using (InteropHelp.UTF8StringHandle utf8StringHandle = new InteropHelp.UTF8StringHandle(pchKeyToMatch)) { using (InteropHelp.UTF8StringHandle utf8StringHandle2 = new InteropHelp.UTF8StringHandle(pchValueToMatch)) { NativeMethods.ISteamMatchmaking_AddRequestLobbyListStringFilter(CSteamAPIContext.GetSteamMatchmaking(), utf8StringHandle, utf8StringHandle2, eComparisonType); } } }
/// numerical comparison public static void AddRequestLobbyListNumericalFilter(string pchKeyToMatch, int nValueToMatch, ELobbyComparison eComparisonType) { }
/// filters for lobbies /// this needs to be called before RequestLobbyList() to take effect /// these are cleared on each call to RequestLobbyList() public static void AddRequestLobbyListStringFilter(string pchKeyToMatch, string pchValueToMatch, ELobbyComparison eComparisonType) { }
// numerical comparison public static void AddRequestLobbyListNumericalFilter(string pchKeyToMatch, int nValueToMatch, ELobbyComparison eComparisonType) { InteropHelp.TestIfAvailableClient(); NativeMethods.ISteamMatchmaking_AddRequestLobbyListNumericalFilter(pchKeyToMatch, nValueToMatch, eComparisonType); }