Core/Guilds: implement CMSG_GUILD_QUERY_MEMBER_RECIPES and SMSG_GUILD_MEMBER_RECIPES
This commit is contained in:
1 parent
ca51f7f9ad
commit
ca9b424e11
9 files changed
+133
-3
No files matched your search
@@ -921,6 +921,13 @@ void WorldSession::HandleGuildQueryMembersForRecipe(WorldPackets::Guild::GuildQu
|
||||
guild->SendMembersForRecipe(_player, packet.SkillLineID, packet.SpellID, packet.UniqueBit);
|
||||
}
|
||||
|
||||
void WorldSession::HandleGuildQueryMemberRecipe(WorldPackets::Guild::GuildQueryMemberRecipes& packet)
|
||||
{
|
||||
if (Guild* guild = sGuildMgr->GetGuildByGuid(packet.GuildGUID))
|
||||
if (guild->IsMember(_player->GetGUID()) && guild->IsMember(packet.GuildMember))
|
||||
guild->SendRecipesOfMember(_player, packet.SkillLineID, packet.GuildMember);
|
||||
}
|
||||
|
||||
/*
|
||||
void WorldSession::HandleGuildChallengeRequest(WorldPacket& recvPacket)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user