Server.TryGetClient Method
Namespace: Riptide
Assembly: RiptideNetworking.dll
TryGetClient(ushort, out Connection)
Retrieves the client with the given ID, if a client with that ID is currently connected.
public bool TryGetClient(ushort id, out Connection client)
Parameters
ushort | id |
The ID of the client to retrieve. |
Connection | client |
The retrieved client. |
Returns
bool | true if a client with the given ID was connected; otherwise false. |