mirror of
https://github.com/Melledy/Grasscutter.git
synced 2024-12-04 09:50:08 +00:00
20 lines
608 B
Java
20 lines
608 B
Java
package emu.grasscutter.server.packet.send;
|
|
|
|
import emu.grasscutter.net.packet.BasePacket;
|
|
import emu.grasscutter.net.packet.PacketOpcodes;
|
|
import emu.grasscutter.net.proto.NpcTalkRspOuterClass.NpcTalkRsp;
|
|
|
|
public class PacketNpcTalkRsp extends BasePacket {
|
|
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);
|
|
}
|
|
}
|