-
Notifications
You must be signed in to change notification settings - Fork 456
Closed
Labels
priority:mediumThis issue has medium priority and may take some time to be resolvedThis issue has medium priority and may take some time to be resolvedstat:importedStatus - Issue is tracked internally at UnityStatus - Issue is tracked internally at Unitytype:bugBug ReportBug Report
Description
Is your feature request related to a problem? Please describe.
I'm writing a custom transport and need to access the IDs assigned by the transport to identify the users on the network.
NetworkManager
internally uses a different set of ClientIDs and creates a mapping between ClientIDs and TransportIDs, but this information is not accessible.
Describe the solution you'd like
Add following two methods or similar to NetworkManager
:
ulong NetworkManager.GetTransportIdentifier(ulong clientId)
ulong NetworkManafer.GetClientId(ulong transportId)
Describe alternatives you've considered
Current solution is to track pending clients and build the exact same mapping in the custom transport, which is redundant in my opinion.
Additional context
See the discussion on Unity Forums for more detail.
Metadata
Metadata
Assignees
Labels
priority:mediumThis issue has medium priority and may take some time to be resolvedThis issue has medium priority and may take some time to be resolvedstat:importedStatus - Issue is tracked internally at UnityStatus - Issue is tracked internally at Unitytype:bugBug ReportBug Report