You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: com.unity.netcode.gameobjects/Runtime/Transports/UTP/UnityTransport.cs
+27Lines changed: 27 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1215,6 +1215,31 @@ public override ulong GetCurrentRtt(ulong clientId)
1215
1215
return(ulong)ExtractRtt(ParseClientId(clientId));
1216
1216
}
1217
1217
1218
+
#if UTP_TRANSPORT_2_0_ABOVE
1219
+
/// <summary>
1220
+
/// Provides the <see cref="NetworkEndpoint"/> for the NGO client identifier specified.
1221
+
/// </summary>
1222
+
/// <remarks>
1223
+
/// - This is only really useful for direct connections.
1224
+
/// - Relay connections and clients connected using a distributed authority network topology will not provide the client's actual endpoint information.
1225
+
/// - For LAN topologies this should work as long as it is a direct connection and not a relay connection.
1226
+
/// </remarks>
1227
+
/// <param name="clientId">NGO client identifier to get endpoint information about.</param>
0 commit comments