mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-03-24 16:10:14 +00:00
feat: add Trade, Duel, and Inspect to nameplate player context menu
This commit is contained in:
parent
1f7f1076ca
commit
2f0fe302bc
1 changed files with 10 additions and 0 deletions
|
|
@ -7780,6 +7780,16 @@ void GameScreen::renderNameplates(game::GameHandler& gameHandler) {
|
|||
}
|
||||
if (ImGui::MenuItem("Invite to Group"))
|
||||
gameHandler.inviteToGroup(ctxName);
|
||||
if (ImGui::MenuItem("Trade"))
|
||||
gameHandler.initiateTrade(nameplateCtxGuid_);
|
||||
if (ImGui::MenuItem("Duel"))
|
||||
gameHandler.proposeDuel(nameplateCtxGuid_);
|
||||
if (ImGui::MenuItem("Inspect")) {
|
||||
gameHandler.setTarget(nameplateCtxGuid_);
|
||||
gameHandler.inspectTarget();
|
||||
showInspectWindow_ = true;
|
||||
}
|
||||
ImGui::Separator();
|
||||
if (ImGui::MenuItem("Add Friend"))
|
||||
gameHandler.addFriend(ctxName);
|
||||
if (ImGui::MenuItem("Ignore"))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue