Version: 2017.2

MatchInfoDirectConnectSnapshot

class in UnityEngine.Networking.Match

매뉴얼로 전환

설명

A class describing one member of a match and what direct connect information other clients have supplied.

A "MatchInfoDirectConnectSnapshot" instance contains mostly optional data which a connection can supply when it creates or joins a match. That info is then returned in these results so that other clients can directly connect to that client instead of going through the internet via a relay server.

변수

hostPriorityThe host priority for this direct connect info. Host priority describes the order in which this match member occurs in the list of clients attached to a match.
nodeIdNodeID of the match member this info refers to.
privateAddressThe private network address supplied for this direct connect info.
publicAddressThe public network address supplied for this direct connect info.