Space Station 13 - Baystation 12 - Modules - Types

code/_helpers/client.dm

/proc/valid_ckey Duck check to see if text looks like a ckey
/proc/valid_key Duck check to see if text looks like a key
/proc/ckey2client Get the client associated with ckey text if it is currently connected
/proc/key2client Get the client associated with key text if it is currently connected
/proc/resolve_client Null, or a client if thing is a client, a mob with a client, a connected ckey, or null
/proc/select_client Null or a client from the list of connected clients, chosen by actor if actor is valid