Go to the source code of this file.
|
| | Script2Server |
| | Pseudo-namespace; it doesn't exist in code or script runtime, only in this documentation.
|
| |
|
| 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...
|
| |