quest fix & personal line impl

This commit is contained in:
Akka
2022-07-05 20:41:07 +08:00
committed by Luke H-W
Unverified
parent 7bae35f51b
commit 910008216f
51 changed files with 917 additions and 193 deletions
@@ -0,0 +1,20 @@
package emu.grasscutter.server.packet.send;
import emu.grasscutter.net.packet.BasePacket;
import emu.grasscutter.net.packet.PacketOpcodes;
import emu.grasscutter.net.proto.ChapterStateNotifyOuterClass;
import emu.grasscutter.net.proto.ChapterStateOuterClass;
public class PacketChapterStateNotify extends BasePacket {
public PacketChapterStateNotify(int id, ChapterStateOuterClass.ChapterState state) {
super(PacketOpcodes.ChapterStateNotify);
var proto = ChapterStateNotifyOuterClass.ChapterStateNotify.newBuilder();
proto.setChapterId(id)
.setChapterState(state);
this.setData(proto);
}
}