v1.0.0
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 MatchmakerExtensionsMethods
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
| Type | Name | Description |
|---|---|---|
| ISession | session | The session to fetch the matchmaking results from. |
Returns
| Type | Description |
|---|---|
| StoredMatchmakingResults | The matchmaking results. |