mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-03-22 23:30:14 +00:00
fix: show group kick/party command failures in UIError overlay
- handleGroupUninvite: "You have been removed from the group." now shown as UIError - handlePartyCommandResult: all party errors (group full, not leader, wrong faction, ignoring you, etc.) now also shown as UIError overlay
This commit is contained in:
parent
b22183b000
commit
0f2f9ff78d
1 changed files with 2 additions and 0 deletions
|
|
@ -18894,6 +18894,7 @@ void GameHandler::handleGroupUninvite(network::Packet& packet) {
|
||||||
msg.type = ChatType::SYSTEM;
|
msg.type = ChatType::SYSTEM;
|
||||||
msg.language = ChatLanguage::UNIVERSAL;
|
msg.language = ChatLanguage::UNIVERSAL;
|
||||||
msg.message = "You have been removed from the group.";
|
msg.message = "You have been removed from the group.";
|
||||||
|
addUIError("You have been removed from the group.");
|
||||||
addLocalChatMessage(msg);
|
addLocalChatMessage(msg);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -18928,6 +18929,7 @@ void GameHandler::handlePartyCommandResult(network::Packet& packet) {
|
||||||
static_cast<uint32_t>(data.result));
|
static_cast<uint32_t>(data.result));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
addUIError(buf);
|
||||||
MessageChatData msg;
|
MessageChatData msg;
|
||||||
msg.type = ChatType::SYSTEM;
|
msg.type = ChatType::SYSTEM;
|
||||||
msg.language = ChatLanguage::UNIVERSAL;
|
msg.language = ChatLanguage::UNIVERSAL;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue