v1.0.0
Latest
2022.3+

Class MatchmakerExtensions

Extension methods of an ISession that can be used when using the Matchmaker service.

Inheritance
System.Object
MatchmakerExtensions
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Unity.Services.Multiplayer
Syntax
public static class MatchmakerExtensions

Methods

GetMatchmakingResults(ISession)

Returns the matchmaking results of the session. The session has to be created through matchmaking and the Matchmaker service.

Declaration
public static StoredMatchmakingResults GetMatchmakingResults(this ISession session)
Parameters
TypeNameDescription
ISessionsession

The session to fetch the matchmaking results from.

Returns
TypeDescription
StoredMatchmakingResults

The matchmaking results.