Run IntelliJ IDEA code formatter

This commit is contained in:
KingRainbow44
2023-03-31 17:19:26 -04:00
Unverified
parent 5bf5fb07a2
commit 15e2f3ca34
917 changed files with 30025 additions and 22441 deletions
@@ -1,32 +1,32 @@
package emu.grasscutter.server.packet.send;
import java.util.List;
import emu.grasscutter.net.packet.BasePacket;
import emu.grasscutter.net.packet.PacketOpcodes;
import emu.grasscutter.net.proto.DelTeamEntityNotifyOuterClass.DelTeamEntityNotify;
import java.util.List;
public class PacketDelTeamEntityNotify extends BasePacket {
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);
public PacketDelTeamEntityNotify(int sceneId, int teamEntityId) {
super(PacketOpcodes.DelTeamEntityNotify);
DelTeamEntityNotify proto = DelTeamEntityNotify.newBuilder()
.setSceneId(sceneId)
.addAllDelEntityIdList(list)
.build();
this.setData(proto);
}
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);
}
}