RigsofRods  2023.09
Soft-body Physics Simulation
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
globals.h
Go to the documentation of this file.
1 
2  // =================================================== //
3  // THIS IS NOT A C++ HEADER! Only a dummy for Doxygen. //
4  // =================================================== //
5 
6 
15 namespace Script2Server
16 {
17 
22  {
26  };
27 
32  {
38  };
39 
40  TO_ALL = -1;
41 
46  {
51  };
52 
57  {
63  };
64 
65 } // namespace Script2Server
66 
Script2Server::CURL_STATUS_START
@ CURL_STATUS_START
New CURL request started, n1/n2 both 0.
Definition: globals.h:59
Script2Server
Pseudo-namespace; it doesn't exist in code or script runtime, only in this documentation.
Definition: globals.h:15
Script2Server::BROADCAST_AUTHED
@ BROADCAST_AUTHED
broadcast to authed users (bots)
Definition: globals.h:36
Script2Server::SERVER_INET
@ SERVER_INET
Definition: globals.h:24
Script2Server::CurlStatusType
CurlStatusType
Used with `curlStatus()` callback.
Definition: globals.h:56
Script2Server::FROM_RULES
@ FROM_RULES
Definition: globals.h:50
Script2Server::serverSayType
serverSayType
Use with server.say() to specify who said it.
Definition: globals.h:45
Script2Server::TO_ALL
TO_ALL
constant for functions that receive an uid for sending something
Definition: globals.h:40
Script2Server::broadcastType
broadcastType
This is returned by the playerChat()/streamAdded() callback and determines how the message is treated...
Definition: globals.h:31
Script2Server::BROADCAST_NORMAL
@ BROADCAST_NORMAL
broadcast to all clients except sender
Definition: globals.h:35
Script2Server::CURL_STATUS_PROGRESS
@ CURL_STATUS_PROGRESS
Download in progress, n1 = bytes downloaded, n2 = total bytes.
Definition: globals.h:60
Script2Server::BROADCAST_BLOCK
@ BROADCAST_BLOCK
no broadcast
Definition: globals.h:37
Script2Server::CURL_STATUS_FAILURE
@ CURL_STATUS_FAILURE
CURL request finished, n1 = CURL return code, n2 = HTTP result code, message = CURL error string.
Definition: globals.h:62
Script2Server::FROM_MOTD
@ FROM_MOTD
Definition: globals.h:49
Script2Server::SERVER_LAN
@ SERVER_LAN
Definition: globals.h:23
Script2Server::BROADCAST_AUTO
@ BROADCAST_AUTO
Do not edit the publishmode (for scripts only)
Definition: globals.h:33
Script2Server::ServerType
ServerType
The server configuration, use server.get_serverMode().
Definition: globals.h:21
Script2Server::CURL_STATUS_INVALID
@ CURL_STATUS_INVALID
Should never be reported.
Definition: globals.h:58
Script2Server::BROADCAST_ALL
@ BROADCAST_ALL
broadcast to all clients including sender
Definition: globals.h:34
Script2Server::CURL_STATUS_SUCCESS
@ CURL_STATUS_SUCCESS
CURL request finished, n1 = CURL return code, n2 = HTTP result code, message = received payload.
Definition: globals.h:61
Script2Server::SERVER_AUTO
@ SERVER_AUTO
Definition: globals.h:25
Script2Server::FROM_SERVER
@ FROM_SERVER
Definition: globals.h:47
Script2Server::FROM_HOST
@ FROM_HOST
Definition: globals.h:48