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

パラメーター

hostId The hostId to check for events.
error Error (can be casted 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.