mirror of
https://github.com/Melledy/Grasscutter.git
synced 2024-11-23 20:34:49 +00:00
git doesnt like me
This commit is contained in:
parent
d64044f931
commit
46aded281d
@ -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
|
||||||
|
@ -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)
|
||||||
|
@ -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);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user