mirror of
https://github.com/Facepunch/Facepunch.Steamworks.git
synced 2024-12-26 06:35:49 +03:00
ConnectionInfo exposes NetAddress, NetIdentity
This commit is contained in:
parent
57775e5d10
commit
61b09add87
@ -27,10 +27,15 @@ public struct ConnectionInfo
|
||||
/// </summary>
|
||||
public ConnectionState State => state;
|
||||
|
||||
/// <summary>
|
||||
/// Remote address. Might be all 0's if we don't know it, or if this is N/A.
|
||||
/// </summary>
|
||||
public NetAddress Address => address;
|
||||
|
||||
/// <summary>
|
||||
/// Who is on the other end? Depending on the connection type and phase of the connection, we might not know
|
||||
/// </summary>
|
||||
public SteamId SteamId => identity.steamID;
|
||||
public NetIdentity Identity => address;
|
||||
|
||||
/// <summary>
|
||||
/// Basic cause of the connection termination or problem.
|
||||
|
Loading…
Reference in New Issue
Block a user