Namespace: Steamworks
This function sends a packet of data to another user who is in the same lobby.
| Parameter | Description |
|---|---|
| userid | user ID to send the data to |
| data | data to send |
| channel | packet channel to use |
| size | size of data to send |
| sendtype | can be P2PSEND_UNRELIABLE, P2PSEND_UNRELIABLENODELAY, P2PSEND_RELIABLE, or P2PSEND_RELIABLEBUFFERED |
Returns true of the packet was successfully sent. (This does not necessarily mean the packet was successfully received.)