Vixen
caa30e12
csharp
public readonly record struct MatchPool

A filter over tickets: what a match function is allowed to see.

Read the guide page for this →

Remarks

Open Match's pool, and doc 28 says what it is made of: "a tag + range query, the same requirement algebra as everything else". There is no filter language here — GameplayTagQuery already does all-of, any-of and none-of, and inventing a second one would give a game two vocabularies for the same question.

Fields and properties (6)

  • public GameplayTagQuery? Tags

    What a ticket must be, or null for anything.

  • public double MinimumRating

    The lowest conservative rating it will take.

  • public double MaximumRating

    The highest.

  • public int Region

    Which region's latency is checked, or −1 for none.

  • public float MaximumLatency

    The worst latency it will take, in milliseconds.

  • public static MatchPool Everybody

    The pool that takes anybody.

Methods (2)

  • public MatchPool(GameplayTagQuery? Tags = null, double MinimumRating = -Infinity, double MaximumRating = Infinity, int Region = -1, float MaximumLatency = Infinity)

    A filter over tickets: what a match function is allowed to see.

  • public bool Admits(MatchTicket ticket)

    Whether a ticket belongs in it.

Used by (2)

  • MatchmakerVixen.Live.Matchmaking
  • MatchmakerTestsVixen.Live.Matchmaking.Tests