MCPcopy Create free account
hub / github.com/OpenDungeons/OpenDungeons / notifyNoSkillInQueue

Method notifyNoSkillInQueue

source/game/Player.cpp:481–493  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

479}
480
481void 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
495void Player::notifyNoWorker()
496{

Callers 1

setNextSkillMethod · 0.80

Calls 1

Tested by

no test coverage detected