Legacy Documentation: Version 5.5
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

MatchInfoSnapshot

class in UnityEngine.Networking.Match

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Description

A class describing the match information as a snapshot at the time the request was processed on the MatchMaker.

The information in this class is part of the data list returned when listing open matches through MatchMaker. It describes the instantaneous state at the time the request was handled.

Variables

averageEloScoreThe average Elo score of the match.
currentSizeThe current number of players in the match.
directConnectInfosThe collection of direct connect info classes describing direct connection information supplied to the MatchMaker.
hostNodeIdThe NodeID of the host for this match.
isPrivateDescribes if the match is private. Private matches are unlisted in ListMatch results.
matchAttributesThe collection of match attributes on this match.
maxSizeThe maximum number of players this match can grow to.
nameThe text name for this match.
networkIdThe network ID for this match.