Core/Packets: updated packet structure of SMSG_SET_FACTION_STANDING

This commit is contained in:
Ovahlord
2024-08-26 05:15:23 +02:00
parent acfeba874f
commit 076ff7970c
2 changed files with 3 additions and 0 deletions

View File

@@ -54,6 +54,7 @@ ByteBuffer& operator<<(ByteBuffer& data, WorldPackets::Reputation::FactionStandi
{
data << int32(factionStanding.Index);
data << int32(factionStanding.Standing);
data << int32(factionStanding.FactionID);
return data;
}

View File

@@ -67,9 +67,11 @@ namespace WorldPackets
{
FactionStandingData() { }
FactionStandingData(int32 index, int32 standing) : Index(index), Standing(standing) { }
FactionStandingData(int32 index, int32 standing, int32 factionId) : Index(index), Standing(standing), FactionID(factionId) { }
int32 Index = 0;
int32 Standing = 0;
int32 FactionID = 0;
};
class SetFactionStanding final : public ServerPacket