mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
Fixed guidance for hostId
It should be `typeof(NetworkConnection)`
This commit is contained in:
parent
11a755e961
commit
24b8003b74
@ -25,7 +25,7 @@ public class NetworkConnection : IDisposable
|
||||
|
||||
// this is always 0 for regular connections, -1 for local
|
||||
// connections because it's set in the constructor and never reset.
|
||||
[Obsolete("hostId will be removed because it's not needed ever since we removed LLAPI as default. It's always 0 for regular connections and -1 for local connections. Use connection.GetType() == NetworkConnection to check if it's a regular or local connection.")]
|
||||
[Obsolete("hostId will be removed because it's not needed ever since we removed LLAPI as default. It's always 0 for regular connections and -1 for local connections. Use connection.GetType() == typeof(NetworkConnection) to check if it's a regular or local connection.")]
|
||||
public int hostId = -1;
|
||||
|
||||
public NetworkConnection(string networkAddress)
|
||||
|
Loading…
Reference in New Issue
Block a user