Core/Guild: Fix and enable CMSG_GUILD_QUERY

This commit is contained in:
Nay committed 2011-12-22 03:49:36 +00:00
1 parent f9d398c6ad
commit 869a8644e5
4 files changed
+20 -8

No files matched your search

+6
View File
@@ -2201,6 +2201,12 @@ bool Guild::ChangeMemberRank(uint64 guid, uint8 newRank)
return false;
}
bool Guild::IsMember(uint64 guid)
{
Members::const_iterator itr = m_members.find(GUID_LOPART(guid));
return itr != m_members.end();
}
///////////////////////////////////////////////////////////////////////////////
// Bank (items move)
void Guild::SwapItems(Player* player, uint8 tabId, uint8 slotId, uint8 destTabId, uint8 destSlotId, uint32 splitedAmount)