Core/Quests: convert CMSG_QUEST_GIVER_ACCEPT_QUEST and CMSG_QUEST_GIVER_CHOOSE_REWARD to packet class
This commit is contained in:
1 parent
21e8b34e35
commit
1ae4749762
8 files changed
+101
-65
No files matched your search
@@ -37,7 +37,6 @@ WorldPacket const* WorldPackets::Quest::QuestGiverRequestItems::Write()
|
||||
_worldPacket << uint32(obj.ObjectID);
|
||||
_worldPacket << uint32(obj.Amount);
|
||||
_worldPacket << uint32(obj.DisplayID);
|
||||
|
||||
}
|
||||
|
||||
_worldPacket << uint32(Currency.size());
|
||||
@@ -52,3 +51,17 @@ WorldPacket const* WorldPackets::Quest::QuestGiverRequestItems::Write()
|
||||
|
||||
return &_worldPacket;
|
||||
}
|
||||
|
||||
void WorldPackets::Quest::QuestGiverAcceptQuest::Read()
|
||||
{
|
||||
_worldPacket >> QuestGiverGUID;
|
||||
_worldPacket >> QuestID;
|
||||
_worldPacket >> StartCheat;
|
||||
}
|
||||
|
||||
void WorldPackets::Quest::QuestGiverChooseReward::Read()
|
||||
{
|
||||
_worldPacket >> QuestGiverGUID;
|
||||
_worldPacket >> QuestID;
|
||||
_worldPacket >> ItemChoiceID;
|
||||
}
|
||||
Reference in new issue
Block a user