Core/PacketIO: Added empty implementation for treasure picker opcodes
Port From (https://github.com/TrinityCore/TrinityCore/commit/4936094379a3558022d63f7520cd0d988d718daf)
This commit is contained in:
@@ -344,5 +344,21 @@ namespace Game
|
||||
|
||||
SendPacket(realmQueryResponse);
|
||||
}
|
||||
|
||||
[WorldPacketHandler(ClientOpcodes.QueryTreasurePicker)]
|
||||
void HandleQueryTreasurePicker(QueryTreasurePicker queryTreasurePicker)
|
||||
{
|
||||
Quest questInfo = Global.ObjectMgr.GetQuestTemplate(queryTreasurePicker.QuestID);
|
||||
if (questInfo == null)
|
||||
return;
|
||||
|
||||
TreasurePickerResponse treasurePickerResponse = new();
|
||||
treasurePickerResponse.QuestID = queryTreasurePicker.QuestID;
|
||||
treasurePickerResponse.TreasurePickerID = queryTreasurePicker.TreasurePickerID;
|
||||
|
||||
// TODO: Missing treasure picker implementation
|
||||
|
||||
_player.SendPacket(treasurePickerResponse);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user