mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2026-05-24 09:52:34 +08:00
quest fix & personal line impl
This commit is contained in:
committed by
Luke H-W
Unverified
parent
7bae35f51b
commit
910008216f
@@ -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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user