RigsofRods
Soft-body Physics Simulation
globals.h
Go to the documentation of this file.
1 
2 
11 namespace Script2Server {
12 
17 {
22 }
23 
27 enum broadcastType
28 {
29  // order: least restrictive to most restrictive!
30  BROADCAST_AUTO = -1,
35 };
36 
37 TO_ALL = -1
38 
39 } // namespace Script2Server
40 
Script2Server::BROADCAST_NORMAL
enum Script2Server::serverSayType BROADCAST_NORMAL
broadcast to all clients except sender
Script2Server
Pseudo-namespace; it doesn't exist in code or script runtime, only in this documentation.
Definition: globals.h:11
Script2Server::BROADCAST_AUTHED
enum Script2Server::serverSayType BROADCAST_AUTHED
broadcast to authed users (bots)
Script2Server::FROM_RULES
@ FROM_RULES
Definition: globals.h:21
Script2Server::serverSayType
serverSayType
This is used to define who says it, when the server says something.
Definition: globals.h:16
Script2Server::BROADCAST_BLOCK
enum Script2Server::serverSayType BROADCAST_BLOCK
< no broadcast
Script2Server::FROM_MOTD
@ FROM_MOTD
Definition: globals.h:20
Script2Server::BROADCAST_ALL
enum Script2Server::serverSayType BROADCAST_ALL
broadcast to all clients including sender
Script2Server::FROM_SERVER
@ FROM_SERVER
Definition: globals.h:18
Script2Server::FROM_HOST
@ FROM_HOST
Definition: globals.h:19
Script2Server::BROADCAST_AUTO
enum Script2Server::serverSayType BROADCAST_AUTO
This is returned by the playerChat()/streamAdded() callback and determines how the message is treated...