mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-20 01:15:35 +01:00
Core/Packets: updated packet structure of SMSG_SET_FACTION_STANDING
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user