| 479 | } |
| 480 | |
| 481 | void Player::notifyNoSkillInQueue() |
| 482 | { |
| 483 | if(mNoSkillInQueueTime == 0.0f) |
| 484 | { |
| 485 | mNoSkillInQueueTime = NO_RESEARCH_TIME_COUNT; |
| 486 | |
| 487 | std::string chatMsg = "Your skill queue is empty, while there are still skills that could be unlocked."; |
| 488 | ServerNotification *serverNotification = new ServerNotification( |
| 489 | ServerNotificationType::chatServer, this); |
| 490 | serverNotification->mPacket << chatMsg << EventShortNoticeType::genericGameInfo; |
| 491 | ODServer::getSingleton().queueServerNotification(serverNotification); |
| 492 | } |
| 493 | } |
| 494 | |
| 495 | void Player::notifyNoWorker() |
| 496 | { |
no test coverage detected