A connection, usually to a server or a client.
| 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 |
|
| DistanceSquared |
Calculate the closest distance (squared) to a position based on the Pvs sources from
this Sandbox.Connection. |
| Down |
Action is currently pressed down for this Sandbox.Connection. |
| GetUserData |
|
| HasPermission |
Get whether this connection has a specific permission. |
| Kick |
Kick this Sandbox.Connection from the server. Only the host can kick clients. |
| Pressed |
Action was pressed for this Sandbox.Connection within the current update context. |
| Released |
Action was released for this Sandbox.Connection within the current update context. |
| SendLog |
Log a message to the console for this connection. |
| SendMessage |
Send a message to this connection. |
| SendRequest |
Send a message to this connection, wait for a response |
| SendResponse |
Send a response message to this connection. |