Class NetworkMatch
Assembly: UnityEngine.dll
Syntax
[Obsolete("The matchmaker and relay feature will be removed in the future, minimal support will continue until this can be safely done.")]
public class NetworkMatch : MonoBehaviour
Properties
|
Improve this Doc
View Source
baseUri
Declaration
public Uri baseUri { get; set; }
Property Value
Methods
|
Improve this Doc
View Source
CreateMatch(String, UInt32, Boolean, String, String, String, Int32, Int32, NetworkMatch.DataResponseDelegate<MatchInfo>)
Declaration
public Coroutine CreateMatch(string matchName, uint matchSize, bool matchAdvertise, string matchPassword, string publicClientAddress, string privateClientAddress, int eloScoreForMatch, int requestDomain, NetworkMatch.DataResponseDelegate<MatchInfo> callback)
Parameters
Returns
|
Improve this Doc
View Source
DestroyMatch(NetworkID, Int32, NetworkMatch.BasicResponseDelegate)
Declaration
public Coroutine DestroyMatch(NetworkID netId, int requestDomain, NetworkMatch.BasicResponseDelegate callback)
Parameters
Returns
|
Improve this Doc
View Source
DropConnection(NetworkID, NodeID, Int32, NetworkMatch.BasicResponseDelegate)
Declaration
public Coroutine DropConnection(NetworkID netId, NodeID dropNodeId, int requestDomain, NetworkMatch.BasicResponseDelegate callback)
Parameters
Returns
|
Improve this Doc
View Source
JoinMatch(NetworkID, String, String, String, Int32, Int32, NetworkMatch.DataResponseDelegate<MatchInfo>)
Declaration
public Coroutine JoinMatch(NetworkID netId, string matchPassword, string publicClientAddress, string privateClientAddress, int eloScoreForClient, int requestDomain, NetworkMatch.DataResponseDelegate<MatchInfo> callback)
Parameters
Returns
|
Improve this Doc
View Source
ListMatches(Int32, Int32, String, Boolean, Int32, Int32, NetworkMatch.DataResponseDelegate<List<MatchInfoSnapshot>>)
Declaration
public Coroutine ListMatches(int startPageNumber, int resultPageSize, string matchNameFilter, bool filterOutPrivateMatchesFromResults, int eloScoreTarget, int requestDomain, NetworkMatch.DataResponseDelegate<List<MatchInfoSnapshot>> callback)
Parameters
Returns
|
Improve this Doc
View Source
SetMatchAttributes(NetworkID, Boolean, Int32, NetworkMatch.BasicResponseDelegate)
Declaration
public Coroutine SetMatchAttributes(NetworkID networkId, bool isListed, int requestDomain, NetworkMatch.BasicResponseDelegate callback)
Parameters
Returns
Extension Methods