RigsofRods  2023.09
Soft-body Physics Simulation
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Namespaces | Enumerations | Variables
globals.h File Reference

Go to the source code of this file.

Namespaces

 Script2Server
 Pseudo-namespace; it doesn't exist in code or script runtime, only in this documentation.
 

Enumerations

enum  Script2Server::ServerType { Script2Server::SERVER_LAN, Script2Server::SERVER_INET, Script2Server::SERVER_AUTO }
 The server configuration, use server.get_serverMode(). More...
 
enum  Script2Server::broadcastType {
  Script2Server::BROADCAST_AUTO = -1, Script2Server::BROADCAST_ALL, Script2Server::BROADCAST_NORMAL, Script2Server::BROADCAST_AUTHED,
  Script2Server::BROADCAST_BLOCK
}
 This is returned by the playerChat()/streamAdded() callback and determines how the message is treated;
order: least restrictive to most restrictive! More...
 
enum  Script2Server::serverSayType { Script2Server::FROM_SERVER = 0, Script2Server::FROM_HOST, Script2Server::FROM_MOTD, Script2Server::FROM_RULES }
 Use with server.say() to specify who said it. More...
 
enum  Script2Server::CurlStatusType {
  Script2Server::CURL_STATUS_INVALID, Script2Server::CURL_STATUS_START, Script2Server::CURL_STATUS_PROGRESS, Script2Server::CURL_STATUS_SUCCESS,
  Script2Server::CURL_STATUS_FAILURE
}
 Used with `curlStatus()` callback. More...
 

Variables

 Script2Server::TO_ALL = -1
 constant for functions that receive an uid for sending something More...