git doesnt like me

This commit is contained in:
TheLostTree 2022-04-23 03:32:08 -07:00
parent d64044f931
commit 46aded281d
3 changed files with 18 additions and 4 deletions

View File

@ -42,7 +42,7 @@ public final class SceneEntityDrownRspOuterClass {
private SceneEntityDrownRsp(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { private SceneEntityDrownRsp(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder); super(builder);
} }
private SceneEntityDrownRsp() { public SceneEntityDrownRsp() {
} }
@java.lang.Override @java.lang.Override

View File

@ -8,9 +8,7 @@ import emu.grasscutter.net.packet.PacketOpcodes;
import emu.grasscutter.net.proto.SceneEntityDrownReqOuterClass.SceneEntityDrownReq; import emu.grasscutter.net.proto.SceneEntityDrownReqOuterClass.SceneEntityDrownReq;
import emu.grasscutter.net.proto.VisionTypeOuterClass; import emu.grasscutter.net.proto.VisionTypeOuterClass;
import emu.grasscutter.server.game.GameSession; import emu.grasscutter.server.game.GameSession;
import emu.grasscutter.server.packet.send.PacketAvatarChangeCostumeRsp;
import emu.grasscutter.server.packet.send.PacketLifeStateChangeNotify; import emu.grasscutter.server.packet.send.PacketLifeStateChangeNotify;
import emu.grasscutter.server.packet.send.PacketSceneEntityDisappearNotify;
import emu.grasscutter.server.packet.send.PacketSceneEntityDrownRsp; import emu.grasscutter.server.packet.send.PacketSceneEntityDrownRsp;
@Opcodes(PacketOpcodes.SceneEntityDrownReq) @Opcodes(PacketOpcodes.SceneEntityDrownReq)

View File

@ -1,4 +1,20 @@
package emu.grasscutter.server.packet.send; package emu.grasscutter.server.packet.send;
public class PacketSceneEntityDrownReq { import emu.grasscutter.game.entity.GenshinEntity;
import emu.grasscutter.net.packet.GenshinPacket;
import emu.grasscutter.net.packet.PacketOpcodes;
import emu.grasscutter.net.proto.SceneEntityDrownRspOuterClass.SceneEntityDrownRsp;
import emu.grasscutter.net.proto.VisionTypeOuterClass.VisionType;
public class PacketSceneEntityDrownRsp extends GenshinPacket {
public PacketSceneEntityDrownRsp(int entityId) {
super(PacketOpcodes.SceneEntityDrownRsp);
SceneEntityDrownRsp proto = new SceneEntityDrownRsp().toBuilder().setEntityId(entityId).build();
this.setData(proto);
}
} }