All Downloads are FREE. Search and download functionalities are using the official Maven repository.

emu.grasscutter.server.packet.send.PacketDelMailRsp Maven / Gradle / Ivy

package emu.grasscutter.server.packet.send;

import emu.grasscutter.game.player.Player;
import emu.grasscutter.net.packet.BasePacket;
import emu.grasscutter.net.packet.PacketOpcodes;
import emu.grasscutter.net.proto.DelMailRspOuterClass.DelMailRsp;

import java.util.ArrayList;
import java.util.List;

public class PacketDelMailRsp  extends BasePacket {

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

        DelMailRsp proto = DelMailRsp.newBuilder()
        		.addAllMailIdList(toDeleteIds)
        		.build();
        
        this.setData(proto);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy