| 160 | } |
| 161 | |
| 162 | String Chat::currentChat() const { |
| 163 | if (m_scripted) |
| 164 | return m_script.invoke<String>("currentChat").value(); |
| 165 | return m_textBox->getText(); |
| 166 | } |
| 167 | |
| 168 | bool Chat::setCurrentChat(String const& chat, bool moveCursor) { |
| 169 | if (m_scripted) |
no test coverage detected