feat: add add to blacklist

This commit is contained in:
Anna
2022-01-14 13:29:49 -05:00
parent 471be104e1
commit 5112b377ac
2 changed files with 13 additions and 2 deletions
+4 -1
View File
@@ -309,6 +309,10 @@ internal sealed class PayloadHandler {
this.Ui.Plugin.Functions.SendFriendRequest(player.PlayerName, (ushort) player.World.RowId);
}
if (ImGui.Selectable("Add to Blacklist")) {
this.Ui.Plugin.Functions.AddToBlacklist(player.PlayerName, (ushort) player.World.RowId);
}
if (this.Ui.Plugin.Functions.IsMentor() && ImGui.Selectable("Invite to Novice Network")) {
this.Ui.Plugin.Functions.Context.InviteToNoviceNetwork(player.PlayerName, (ushort) player.World.RowId);
}
@@ -328,7 +332,6 @@ internal sealed class PayloadHandler {
ImGui.Checkbox("Screenshot mode", ref this.Ui.ScreenshotMode);
// Add to Blacklist 0x1C
// View Party Finder 0x2E
}