mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-05-05 08:43:50 +00:00
Add Invite to Group to friends list right-click menu for online friends
This commit is contained in:
parent
00a66b7114
commit
c170216e1c
1 changed files with 3 additions and 0 deletions
|
|
@ -7461,6 +7461,9 @@ void GameScreen::renderGuildRoster(game::GameHandler& gameHandler) {
|
||||||
whisperTargetBuffer[sizeof(whisperTargetBuffer) - 1] = '\0';
|
whisperTargetBuffer[sizeof(whisperTargetBuffer) - 1] = '\0';
|
||||||
refocusChatInput = true;
|
refocusChatInput = true;
|
||||||
}
|
}
|
||||||
|
if (c.isOnline() && ImGui::MenuItem("Invite to Group") && !c.name.empty()) {
|
||||||
|
gameHandler.inviteToGroup(c.name);
|
||||||
|
}
|
||||||
if (ImGui::MenuItem("Edit Note")) {
|
if (ImGui::MenuItem("Edit Note")) {
|
||||||
friendNoteTarget = c.name;
|
friendNoteTarget = c.name;
|
||||||
strncpy(friendNoteBuf, c.note.c_str(), sizeof(friendNoteBuf) - 1);
|
strncpy(friendNoteBuf, c.note.c_str(), sizeof(friendNoteBuf) - 1);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue