Version: 5.6
public static Networking.NetworkEventType ReceiveRelayEventFromHost (int hostId, out byte error);

パラメーター

hostId The host ID to check for events.
error Error (can be cast to NetworkError for more information).

戻り値

NetworkEventType Type of event returned.

説明

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