We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 82f34e3 commit baa6518Copy full SHA for baa6518
MLAPI/Data/NetId.cs
@@ -81,7 +81,7 @@ public NetId(uint clientId)
81
/// <returns>The client identifier.</returns>
82
public uint GetClientId()
83
{
84
- return (uint)HostId | (ushort)((uint)(byte)(ConnectionId & 0xFF) << 8) | (ushort)((uint)(byte)((ConnectionId >> 8) & 0xFF) << 16) | (ushort)((uint)Meta << 24);
+ return HostId | (uint)((ConnectionId & 0xFF) << 8) | (uint)(((ConnectionId >> 8) & 0xFF) << 16) | (uint)(Meta << 24);
85
}
86
// Rider generated vvv
87
/// <summary>
0 commit comments