Version: 2017.2

MatchInfoSnapshot.directConnectInfos

Switch to Manual
public List<MatchInfoDirectConnectSnapshot> directConnectInfos ;

Description

The collection of direct connect info classes describing direct connection information supplied to the MatchMaker.

This contains the list of direct connect infos for a match.

Direct connect infos are optional data objects describing alternate ways to connect to the specified seat. If you have set up your clients to supply this information, this list will contain the private and public addresses for each client. This is useful for allowing the clients to connect to each other directly across the Internet or a LAN. A direct connect info is not required or supplied when a seat is only accessible via Relay server.

Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961