Legacy Documentation: Version 5.1
LanguageEnglish
  • C#
  • JS

Script language

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

CreateMatchResponse

class in UnityEngine.Networking.Match

/

Inherits from: Networking.Match.BasicResponse

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

Sumbission failed

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

Close

Cancel

Switch to Manual

Description

JSON response for a CreateMatchRequest. It contains all information necessdary to continue joining a match.

Variables

accessTokenStringJSON encoding for the binary access token this client uses to authenticate its session for future commands.
addressNetwork address to connect to in order to join the match.
networkIdThe network id for the match created.
nodeIdNodeId for the requesting client in the created match.
portNetwork port to connect to in order to join the match.
usingRelayIf the match is hosted by a relay server.

Constructors

CreateMatchResponseConstructor for response class.

Public Functions

ToStringProvides string description of current class data.

Inherited members

Variables

extendedInfoExtended string information that is returned when the server encounters an error processing a request.
successBool describing if the request was successful.