mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2026-05-21 12:10:14 +08:00
Initial commit
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user