Allow display window to be snoozed

This commit is contained in:
Akkadius
2018-11-05 00:26:52 -06:00
parent 775b5fcaf1
commit d75afd4688
8 changed files with 131 additions and 51 deletions
+12 -1
View File
@@ -362,6 +362,17 @@ void Mob::DisplayInfo(Mob *mob)
std::cout << "Window Length: " << window_text.length() << std::endl;
// std::cout << "Window " << window_text << std::endl;
client->SendPopupToClient("Entity Info", window_text.c_str());
if (client->GetDisplayMobInfoWindow()) {
client->SendFullPopup(
"GM: Entity Info",
window_text.c_str(),
EQEmu::popupresponse::MOB_INFO_DISMISS,
0,
100,
10,
"Snooze",
"OK"
);
}
}
}