mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-05-03 08:03:50 +00:00
Add guild features, fix channel joining, and improve whisper reply
Guild: add disband, leader transfer, public/officer note commands with roster context menu showing rank names and officer notes column. Auto-refresh roster after guild events. Channels: fix city/region channels not working by accepting SMSG_CHANNEL_NOTIFY during ENTERING_WORLD state (server auto-joins before VERIFY_WORLD) and handling PLAYER_ALREADY_MEMBER notification. Whisper: /r now switches to whisper tab and sets target to last sender, matching WoW behavior. Camera: extend WMO collision raycasting to work outside WMOs too.
This commit is contained in:
parent
ee5ab30826
commit
2ece1bf1cf
9 changed files with 271 additions and 9 deletions
|
|
@ -340,6 +340,10 @@ public:
|
|||
void leaveGuild();
|
||||
void inviteToGuild(const std::string& playerName);
|
||||
void kickGuildMember(const std::string& playerName);
|
||||
void disbandGuild();
|
||||
void setGuildLeader(const std::string& name);
|
||||
void setGuildPublicNote(const std::string& name, const std::string& note);
|
||||
void setGuildOfficerNote(const std::string& name, const std::string& note);
|
||||
void acceptGuildInvite();
|
||||
void declineGuildInvite();
|
||||
void queryGuildInfo(uint32_t guildId);
|
||||
|
|
@ -353,6 +357,7 @@ public:
|
|||
const std::string& getGuildName() const { return guildName_; }
|
||||
const GuildRosterData& getGuildRoster() const { return guildRoster_; }
|
||||
bool hasGuildRoster() const { return hasGuildRoster_; }
|
||||
const std::vector<std::string>& getGuildRankNames() const { return guildRankNames_; }
|
||||
bool hasPendingGuildInvite() const { return pendingGuildInvite_; }
|
||||
const std::string& getPendingGuildInviterName() const { return pendingGuildInviterName_; }
|
||||
const std::string& getPendingGuildInviteGuildName() const { return pendingGuildInviteGuildName_; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue