Legacy Documentation: Version 5.2
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

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.