typo
This commit is contained in:
@@ -723,22 +723,6 @@ WorldPacket const* QuestForceRemoved::Write()
|
||||
return &_worldPacket;
|
||||
}
|
||||
|
||||
WorldPacket const* WorldQuestUpdateResponse::Write()
|
||||
{
|
||||
_worldPacket << Size<uint32>(WorldQuestUpdates);
|
||||
|
||||
for (WorldQuestUpdateInfo const& worldQuestUpdate : WorldQuestUpdates)
|
||||
{
|
||||
_worldPacket << worldQuestUpdate.LastUpdate;
|
||||
_worldPacket << uint32(worldQuestUpdate.QuestID);
|
||||
_worldPacket << uint32(worldQuestUpdate.Timer);
|
||||
_worldPacket << int32(worldQuestUpdate.VariableID);
|
||||
_worldPacket << int32(worldQuestUpdate.Value);
|
||||
}
|
||||
|
||||
return &_worldPacket;
|
||||
}
|
||||
|
||||
ByteBuffer& operator<<(ByteBuffer& data, PlayerChoiceResponseRewardEntry const& playerChoiceResponseRewardEntry)
|
||||
{
|
||||
data << playerChoiceResponseRewardEntry.Item;
|
||||
|
||||
@@ -703,28 +703,6 @@ namespace WorldPackets
|
||||
void Read() override { }
|
||||
};
|
||||
|
||||
struct WorldQuestUpdateInfo
|
||||
{
|
||||
WorldQuestUpdateInfo(time_t lastUpdate, uint32 questID, uint32 timer, int32 variableID, int32 value) :
|
||||
LastUpdate(lastUpdate), QuestID(questID), Timer(timer), VariableID(variableID), Value(value) { }
|
||||
Timestamp<> LastUpdate;
|
||||
uint32 QuestID;
|
||||
uint32 Timer;
|
||||
// WorldState
|
||||
int32 VariableID;
|
||||
int32 Value;
|
||||
};
|
||||
|
||||
class WorldQuestUpdateResponse final : public ServerPacket
|
||||
{
|
||||
public:
|
||||
explicit WorldQuestUpdateResponse() : ServerPacket(SMSG_WORLD_QUEST_UPDATE_RESPONSE, 100) { }
|
||||
|
||||
WorldPacket const* Write() override;
|
||||
|
||||
std::vector<WorldQuestUpdateInfo> WorldQuestUpdates;
|
||||
};
|
||||
|
||||
struct PlayerChoiceResponseRewardEntry
|
||||
{
|
||||
WorldPackets::Item::ItemInstance Item;
|
||||
|
||||
Reference in New Issue
Block a user