 |
RigsofRods
2023.09
Soft-body Physics Simulation
|
@ CURL_STATUS_START
New CURL request started, n1/n2 both 0.
Pseudo-namespace; it doesn't exist in code or script runtime, only in this documentation.
@ BROADCAST_AUTHED
broadcast to authed users (bots)
CurlStatusType
Used with `curlStatus()` callback.
serverSayType
Use with server.say() to specify who said it.
TO_ALL
constant for functions that receive an uid for sending something
broadcastType
This is returned by the playerChat()/streamAdded() callback and determines how the message is treated...
@ BROADCAST_NORMAL
broadcast to all clients except sender
@ CURL_STATUS_PROGRESS
Download in progress, n1 = bytes downloaded, n2 = total bytes.
@ BROADCAST_BLOCK
no broadcast
@ CURL_STATUS_FAILURE
CURL request finished, n1 = CURL return code, n2 = HTTP result code, message = CURL error string.
@ BROADCAST_AUTO
Do not edit the publishmode (for scripts only)
ServerType
The server configuration, use server.get_serverMode().
@ CURL_STATUS_INVALID
Should never be reported.
@ BROADCAST_ALL
broadcast to all clients including sender
@ CURL_STATUS_SUCCESS
CURL request finished, n1 = CURL return code, n2 = HTTP result code, message = received payload.