mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-23 10:26:28 +01:00
Core/Packets: fixed packet structure of SMSG_DAILY_QUESTS_RESET
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user