mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-03-28 09:33:52 +00:00
Add Ignore tab to social frame with view/unignore/add support
Social frame now has Friends and Ignore tabs. Friends tab shows online players first, then offline with a separator, and supports right-click Whisper/Invite/Remove. Ignore tab lists all ignored players from ignoreCache with right-click Unignore and an inline add-ignore field.
This commit is contained in:
parent
06456faa63
commit
fb6630a7ae
2 changed files with 119 additions and 62 deletions
|
|
@ -343,6 +343,7 @@ public:
|
|||
void setFriendNote(const std::string& playerName, const std::string& note);
|
||||
void addIgnore(const std::string& playerName);
|
||||
void removeIgnore(const std::string& playerName);
|
||||
const std::unordered_map<std::string, uint64_t>& getIgnoreCache() const { return ignoreCache; }
|
||||
|
||||
// Random roll
|
||||
void randomRoll(uint32_t minRoll = 1, uint32_t maxRoll = 100);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue