mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-22 12:18:27 +00:00
[Quest API] Port DiaWind Plugin to Native Quest API (#1521)
* Port DiaWind plugin to native Quest API * Add no logging aliases
This commit is contained in:
@@ -11132,6 +11132,7 @@ void Client::Handle_OP_PopupResponse(const EQApplicationPacket *app)
|
||||
/**
|
||||
* Handle any EQEmu defined popup Ids first
|
||||
*/
|
||||
std::string response;
|
||||
switch (popup_response->popupid) {
|
||||
case POPUPID_UPDATE_SHOWSTATSWINDOW:
|
||||
if (GetTarget() && GetTarget()->IsClient()) {
|
||||
@@ -11143,6 +11144,13 @@ void Client::Handle_OP_PopupResponse(const EQApplicationPacket *app)
|
||||
return;
|
||||
break;
|
||||
|
||||
case POPUPID_DIAWIND:
|
||||
response = GetEntityVariable(DIAWIND_RESPONSE_KEY.c_str());
|
||||
if (!response.empty()) {
|
||||
ChannelMessageReceived(8, 0, 100, response.c_str());
|
||||
}
|
||||
break;
|
||||
|
||||
case EQ::popupresponse::MOB_INFO_DISMISS:
|
||||
SetDisplayMobInfoWindow(false);
|
||||
Message(Chat::Yellow, "[DevTools] Window snoozed in this zone...");
|
||||
|
||||
Reference in New Issue
Block a user