RigsofRods
Soft-body Physics Simulation
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::serverSayType { Script2Server::FROM_SERVER = 0, Script2Server::FROM_HOST, Script2Server::FROM_MOTD, Script2Server::FROM_RULES }
 This is used to define who says it, when the server says something. More...
 

Variables

enum Script2Server::serverSayType Script2Server::BROADCAST_AUTO = -1
 This is returned by the playerChat()/streamAdded() callback and determines how the message is treated. More...
 
enum Script2Server::serverSayType Script2Server::BROADCAST_ALL = -1
 broadcast to all clients including sender More...
 
enum Script2Server::serverSayType Script2Server::BROADCAST_NORMAL = -1
 broadcast to all clients except sender More...
 
enum Script2Server::serverSayType Script2Server::BROADCAST_AUTHED = -1
 broadcast to authed users (bots) More...
 
enum Script2Server::serverSayType Script2Server::BROADCAST_BLOCK = -1
 < no broadcast More...