RigsofRods
Soft-body Physics Simulation
|
Pseudo-namespace; it doesn't exist in code or script runtime, only in this documentation. More...
Data Structures | |
class | ServerScriptClass |
A global server object. More... | |
class | StreamRegister |
Binding of RoRnet::StreamRegister class. More... | |
Enumerations | |
enum | serverSayType { FROM_SERVER = 0, FROM_HOST, FROM_MOTD, FROM_RULES } |
This is used to define who says it, when the server says something. More... | |
enum | authType { AUTH_NONE = 0, AUTH_ADMIN = BITMASK(1), AUTH_RANKED = BITMASK(2), AUTH_MOD = BITMASK(3), AUTH_BOT = BITMASK(4), AUTH_BANNED = BITMASK(5) } |
Binding of RoRnet::UserAuth. More... | |
Variables | |
enum Script2Server::serverSayType | BROADCAST_AUTO = -1 |
This is returned by the playerChat()/streamAdded() callback and determines how the message is treated. More... | |
enum Script2Server::serverSayType | BROADCAST_ALL = -1 |
broadcast to all clients including sender More... | |
enum Script2Server::serverSayType | BROADCAST_NORMAL = -1 |
broadcast to all clients except sender More... | |
enum Script2Server::serverSayType | BROADCAST_AUTHED = -1 |
broadcast to authed users (bots) More... | |
enum Script2Server::serverSayType | BROADCAST_BLOCK = -1 |
< no broadcast More... | |
Pseudo-namespace; it doesn't exist in code or script runtime, only in this documentation.
Binding of RoRnet::UserAuth.
Enumerator | |
---|---|
AUTH_NONE | no authentication |
AUTH_ADMIN | admin on the server |
AUTH_RANKED | ranked status |
AUTH_MOD | moderator status |
AUTH_BOT | bot status |
AUTH_BANNED | banned |
enum Script2Server::serverSayType Script2Server::BROADCAST_ALL = -1 |
broadcast to all clients including sender
enum Script2Server::serverSayType Script2Server::BROADCAST_AUTHED = -1 |
broadcast to authed users (bots)
enum Script2Server::serverSayType Script2Server::BROADCAST_AUTO = -1 |
This is returned by the playerChat()/streamAdded()
callback and determines how the message is treated.
Do not edit the publishmode (for scripts only)
enum Script2Server::serverSayType Script2Server::BROADCAST_BLOCK = -1 |
< no broadcast
enum Script2Server::serverSayType Script2Server::BROADCAST_NORMAL = -1 |
broadcast to all clients except sender