mirror of
https://github.com/Melledy/Grasscutter.git
synced 2024-12-05 03:03:31 +00:00
20 lines
614 B
Java
20 lines
614 B
Java
|
package emu.grasscutter.server.packet.send;
|
||
|
|
||
|
import emu.grasscutter.net.packet.GenshinPacket;
|
||
|
import emu.grasscutter.net.packet.PacketOpcodes;
|
||
|
import emu.grasscutter.net.proto.NpcTalkRspOuterClass.NpcTalkRsp;
|
||
|
|
||
|
public class PacketNpcTalkRsp extends GenshinPacket {
|
||
|
public PacketNpcTalkRsp(int npcEntityId, int curTalkId, int entityId) {
|
||
|
super(PacketOpcodes.NpcTalkRsp);
|
||
|
|
||
|
NpcTalkRsp p = NpcTalkRsp.newBuilder()
|
||
|
.setNpcEntityId(npcEntityId)
|
||
|
.setCurTalkId(curTalkId)
|
||
|
.setEntityId(entityId)
|
||
|
.build();
|
||
|
|
||
|
this.setData(p);
|
||
|
}
|
||
|
}
|