NetworkTransport.GetRemoteDelayTimeMS

切换到手册
public static int GetRemoteDelayTimeMS (int hostId, int connectionId, int remoteTime, out byte error);

参数

hostId与此连接关联的主机 ID。
connectionId连接的 ID。
remoteTime对等方发送的时间戳。
error错误(可以转换为 NetworkError 以便了解更多信息)。

描述

返回收到的时间戳的延迟。