mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
Core/PacketIO: Updated packet structures to 9.2.0
This commit is contained in:
@@ -1339,11 +1339,10 @@ void Guild::HandleRoster(WorldSession* session)
|
||||
session->SendPacket(roster.Write());
|
||||
}
|
||||
|
||||
void Guild::SendQueryResponse(WorldSession* session, ObjectGuid const& playerGuid)
|
||||
void Guild::SendQueryResponse(WorldSession* session)
|
||||
{
|
||||
WorldPackets::Guild::QueryGuildInfoResponse response;
|
||||
response.GuildGuid = GetGUID();
|
||||
response.PlayerGuid = playerGuid;
|
||||
response.Info.emplace();
|
||||
|
||||
response.Info->GuildGUID = GetGUID();
|
||||
@@ -1488,7 +1487,7 @@ void Guild::HandleSetEmblem(WorldSession* session, EmblemInfo const& emblemInfo)
|
||||
|
||||
SendSaveEmblemResult(session, ERR_GUILDEMBLEM_SUCCESS); // "Guild Emblem saved."
|
||||
|
||||
SendQueryResponse(session, ObjectGuid::Empty);
|
||||
SendQueryResponse(session);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user