package emu.grasscutter.server.packet.send;

import emu.grasscutter.game.player.Player;
import emu.grasscutter.net.packet.*;
import io.grasscutter.net.proto.mail.DelMailRsp;
import java.util.List;

public class PacketDelMailRsp extends BasePacket {

    public PacketDelMailRsp(Player player, List<Integer> toDeleteIds) {
        super(PacketOpcodes.DelMailRsp);

        DelMailRsp proto = DelMailRsp.newBuilder().addAllMailIdList(toDeleteIds).build();

        this.setData(proto);
    }
}
