mirror of
https://github.com/Melledy/Grasscutter.git
synced 2024-11-26 08:43:30 +00:00
Remove comments
This commit is contained in:
parent
32711fee72
commit
b535645fb2
@ -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);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user