NetworkTransport.ReceiveRelayEventFromHost

Cambiar al Manual
public static Networking.NetworkEventType ReceiveRelayEventFromHost (int hostId, out byte error);

Parámetros

hostIdThe host ID to check for events.
errorError (can be cast to NetworkError for more information).

Valor de retorno

NetworkEventType Type of event returned.

Descripción

Polls the host for the following events: NetworkEventType.ConnectEvent and NetworkEventType.DisconnectEvent. Can only be called by the relay group owner.