Core/PacketIO: Updated packet structures to 8.1.5
Port TrinityCore Commit: https://github.com/TrinityCore/TrinityCore/commit/31fda79556e55375962a3c9e46f6dbdbf6e90d18
This commit is contained in:
@@ -254,10 +254,11 @@ namespace Game.Guilds
|
||||
session.SendPacket(roster);
|
||||
}
|
||||
|
||||
public void SendQueryResponse(WorldSession session)
|
||||
public void SendQueryResponse(WorldSession session, ObjectGuid playerGuid)
|
||||
{
|
||||
QueryGuildInfoResponse response = new QueryGuildInfoResponse();
|
||||
response.GuildGUID = GetGUID();
|
||||
response.PlayerGuid = playerGuid;
|
||||
response.HasGuildInfo = true;
|
||||
|
||||
response.Info.GuildGuid = GetGUID();
|
||||
@@ -400,7 +401,7 @@ namespace Game.Guilds
|
||||
|
||||
SendSaveEmblemResult(session, GuildEmblemError.Success); // "Guild Emblem saved."
|
||||
|
||||
SendQueryResponse(session);
|
||||
SendQueryResponse(session, ObjectGuid.Empty);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user