| 251 | } |
| 252 | |
| 253 | void ChatInput(enum ChatInput input) |
| 254 | { |
| 255 | switch (input) |
| 256 | { |
| 257 | case ChatInput::send: |
| 258 | if (!_chatCurrentLine.empty()) |
| 259 | { |
| 260 | Network::SendChat(_chatCurrentLine.c_str()); |
| 261 | } |
| 262 | ChatClearInput(); |
| 263 | ChatClose(); |
| 264 | break; |
| 265 | case ChatInput::close: |
| 266 | ChatClose(); |
| 267 | break; |
| 268 | default: |
| 269 | break; |
| 270 | } |
| 271 | } |
| 272 | |
| 273 | static const u8string& ChatGetHistory(size_t index) |
| 274 | { |
nothing calls this directly
no test coverage detected