mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
Core/Guilds: Sync function name with 3.3.5
This commit is contained in:
@@ -1376,7 +1376,7 @@ void Guild::HandleRoster(WorldSession* session)
|
||||
session->SendPacket(roster.Write());
|
||||
}
|
||||
|
||||
void Guild::SendQueryResponse(WorldSession* session)
|
||||
void Guild::HandleQuery(WorldSession* session)
|
||||
{
|
||||
WorldPackets::Guild::QueryGuildInfoResponse response;
|
||||
response.GuildGuid = GetGUID();
|
||||
@@ -1524,7 +1524,7 @@ void Guild::HandleSetEmblem(WorldSession* session, EmblemInfo const& emblemInfo)
|
||||
|
||||
SendSaveEmblemResult(session, ERR_GUILDEMBLEM_SUCCESS); // "Guild Emblem saved."
|
||||
|
||||
SendQueryResponse(session);
|
||||
HandleQuery(session);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -764,7 +764,7 @@ class TC_GAME_API Guild
|
||||
|
||||
// Handle client commands
|
||||
void HandleRoster(WorldSession* session);
|
||||
void SendQueryResponse(WorldSession* session);
|
||||
void HandleQuery(WorldSession* session);
|
||||
void HandleSetAchievementTracking(WorldSession* session, uint32 const* achievementIdsBegin, uint32 const* achievementIdsEnd);
|
||||
void HandleGetAchievementMembers(WorldSession* session, uint32 achievementId) const;
|
||||
void HandleSetMOTD(WorldSession* session, std::string_view motd);
|
||||
|
||||
@@ -34,7 +34,7 @@ void WorldSession::HandleGuildQueryOpcode(WorldPackets::Guild::QueryGuildInfo& q
|
||||
|
||||
if (Guild* guild = sGuildMgr->GetGuildByGuid(query.GuildGuid))
|
||||
{
|
||||
guild->SendQueryResponse(this);
|
||||
guild->HandleQuery(this);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user