Core/Packets: fixed packet structure of SMSG_DAILY_QUESTS_RESET

This commit is contained in:
Ovahlord
2024-08-09 00:33:40 +02:00
parent 6f0be10a58
commit 5df1a1995c
2 changed files with 2 additions and 11 deletions

View File

@@ -666,13 +666,6 @@ void PushQuestToParty::Read()
_worldPacket >> QuestID;
}
WorldPacket const* DailyQuestsReset::Write()
{
_worldPacket << int32(Count);
return &_worldPacket;
}
WorldPacket const* QuestForceRemoved::Write()
{
_worldPacket << int32(QuestID);

View File

@@ -642,11 +642,9 @@ namespace WorldPackets
class DailyQuestsReset final : public ServerPacket
{
public:
DailyQuestsReset() : ServerPacket(SMSG_DAILY_QUESTS_RESET, 4) { }
DailyQuestsReset() : ServerPacket(SMSG_DAILY_QUESTS_RESET, 0) { }
WorldPacket const* Write() override;
int32 Count = 0;
WorldPacket const* Write() override { return &_worldPacket; };
};
class QuestForceRemoved final : public ServerPacket