Public Member Functions | |
| def | __init__ |
| def | serverMessage |
| def | clientMessage |
Public Attributes | |
| msgs | |
Static Public Attributes | |
| string | MSGID = "chat" |
Handles a minimalist chat plugin to be used in the game.
| def plugins.chat.Chat.clientMessage | ( | self, | |
| msg | |||
| ) |
Receives a message and appends it to the messages to be displayed. Then, it repaints the screen in order to update the view of the chat.
Reimplemented from plugins.plugin.Plugin.
| def plugins.chat.Chat.serverMessage | ( | self, | |
| msg | |||
| ) |
Broadcasts a message on whole clients.
Reimplemented from plugins.plugin.Plugin.
1.7.6.1