Commit 7cb4c9fe authored by GanyusLeftHorn's avatar GanyusLeftHorn Committed by Melledy
Browse files

Remove comments

parent 0c8db8f0
...@@ -12,21 +12,6 @@ import emu.grasscutter.server.game.GameSession; ...@@ -12,21 +12,6 @@ import emu.grasscutter.server.game.GameSession;
import java.util.List; import java.util.List;
public class PacketTakeBattlePassRewardRsp extends BasePacket { public class PacketTakeBattlePassRewardRsp extends BasePacket {
/*public PacketTakeBattlePassRewardRsp(List<BattlePassRewardTakeOption> takeOptionList, List<ItemParamData> rewardItems) {
super(PacketOpcodes.TakeBattlePassRewardRsp);
var proto = TakeBattlePassRewardRsp.newBuilder()
.addAllTakeOptionList(takeOptionList);
if (rewardItems != null) {
for (ItemParamData param : rewardItems) {
proto.addItemList(ItemParam.newBuilder().setItemId(param.getItemId()).setCount(param.getCount()));
}
}
setData(proto);
}*/
public PacketTakeBattlePassRewardRsp(List<BattlePassRewardTakeOption> takeOptionList, List<GameItem> rewardItems) { public PacketTakeBattlePassRewardRsp(List<BattlePassRewardTakeOption> takeOptionList, List<GameItem> rewardItems) {
super(PacketOpcodes.TakeBattlePassRewardRsp); super(PacketOpcodes.TakeBattlePassRewardRsp);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment