| 903 | } |
| 904 | |
| 905 | bool EditorMode::onSaveButtonClickFromOptions(const CEGUI::EventArgs& /*arg*/) |
| 906 | { |
| 907 | if(ODClient::getSingleton().isConnected()) |
| 908 | { |
| 909 | // Send a message to the server telling it we want to drop the creature |
| 910 | ClientNotification *clientNotification = new ClientNotification( |
| 911 | ClientNotificationType::askSaveMap); |
| 912 | ODClient::getSingleton().queueClientNotification(clientNotification); |
| 913 | } |
| 914 | return true; |
| 915 | } |
| 916 | |
| 917 | bool EditorMode::showQuitMenu(const CEGUI::EventArgs& /*arg*/) |
| 918 | { |
nothing calls this directly
no test coverage detected