/// <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);
			}
		}
Example #2
0
 /// <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;
 }
Example #3
0
 /// <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;
 }
Example #4
0
 /// <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;
 }
Example #5
0
 /// <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);
         }
 }
 // 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);
 }
Example #7
0
		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);
 }
Example #11
0
 private static void SteamUnityAPI_SteamMatchmaking_AddRequestLobbyListNumericalFilter(IntPtr matchmaking, [MarshalAs(UnmanagedType.LPStr)] string key, int value, ELobbyComparison comparisonType);
Example #12
0
 // 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);
         }
     }
 }
Example #13
0
 /// numerical comparison
 public static void AddRequestLobbyListNumericalFilter(string pchKeyToMatch, int nValueToMatch, ELobbyComparison eComparisonType)
 {
 }
Example #14
0
 /// 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)
 {
 }
Example #15
0
		// numerical comparison
		public static void AddRequestLobbyListNumericalFilter(string pchKeyToMatch, int nValueToMatch, ELobbyComparison eComparisonType) {
			InteropHelp.TestIfAvailableClient();
			NativeMethods.ISteamMatchmaking_AddRequestLobbyListNumericalFilter(pchKeyToMatch, nValueToMatch, eComparisonType);
		}