Summary

A connection, usually to a server or a client.

Properties

Address
CanRefreshObjects Can this connection refresh networked objects that they own?
CanSpawnObjects Can this connection spawn networked objects?
ConnectionTime
DisplayName
Id This connection's unique identifier.
IsActive True if this channel is fully connnected and fully logged on.
IsConnecting True if this channel is still currently connecting.
IsHost
Latency
MessagesRecieved How many messages have been received from this connection?
MessagesSent How many messages have been sent to this connection?
Name
PartyId The Id of the party that this user is a part of. This can be used to compare to other users to group them into parties.
Ping The ping of this connection (in milliseconds.)
Stats Get stats about this connection such as bandwidth usage and how many packets are being sent and received.
SteamId
Time

Methods

GetUserData
HasPermission
Kick
SendLog
SendMessage
SendRequest
SendResponse

Static Properties

All A list of connections that are currently on this server. If you're not on a server this will return only one connection (Connection.Local). Some games restrict the connection list - in which case you will get an empty list.
Host The connection of the current network host.
Local This is a "fake" connection for the local player. It is passed to RPCs when calling them locally etc.

Static Methods

Find
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.