2022-04-20 04:25:38 +00:00
|
|
|
package emu.grasscutter.server.packet.send;
|
|
|
|
|
2022-04-27 04:21:57 +00:00
|
|
|
import emu.grasscutter.net.packet.BasePacket;
|
2022-04-20 04:25:38 +00:00
|
|
|
import emu.grasscutter.net.packet.PacketOpcodes;
|
|
|
|
import emu.grasscutter.net.proto.NpcTalkRspOuterClass.NpcTalkRsp;
|
|
|
|
|
2022-04-27 04:21:57 +00:00
|
|
|
public class PacketNpcTalkRsp extends BasePacket {
|
2022-04-20 04:25:38 +00:00
|
|
|
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);
|
|
|
|
}
|
|
|
|
}
|