mirror of
https://github.com/Melledy/Grasscutter.git
synced 2024-12-04 19:01:29 +00:00
33 lines
880 B
Java
33 lines
880 B
Java
package emu.grasscutter.server.packet.send;
|
|
|
|
import java.util.List;
|
|
|
|
import emu.grasscutter.net.packet.GenshinPacket;
|
|
import emu.grasscutter.net.packet.PacketOpcodes;
|
|
import emu.grasscutter.net.proto.DelTeamEntityNotifyOuterClass.DelTeamEntityNotify;
|
|
|
|
public class PacketDelTeamEntityNotify extends GenshinPacket {
|
|
|
|
public PacketDelTeamEntityNotify(int sceneId, int teamEntityId) {
|
|
super(PacketOpcodes.DelTeamEntityNotify);
|
|
|
|
DelTeamEntityNotify proto = DelTeamEntityNotify.newBuilder()
|
|
.setSceneId(sceneId)
|
|
.addDelEntityIdList(teamEntityId)
|
|
.build();
|
|
|
|
this.setData(proto);
|
|
}
|
|
|
|
public PacketDelTeamEntityNotify(int sceneId, List<Integer> list) {
|
|
super(PacketOpcodes.DelTeamEntityNotify);
|
|
|
|
DelTeamEntityNotify proto = DelTeamEntityNotify.newBuilder()
|
|
.setSceneId(sceneId)
|
|
.addAllDelEntityIdList(list)
|
|
.build();
|
|
|
|
this.setData(proto);
|
|
}
|
|
}
|