mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2026-06-11 21:23:36 +08:00
Copy some files from Grasscutter-Quests
NOT completely finished, nor is it completely done. Protocol issues remain! (including lack of packet IDs)
This commit is contained in:
@@ -1,17 +1,16 @@
|
||||
package emu.grasscutter.server.packet.send;
|
||||
|
||||
import emu.grasscutter.net.packet.BasePacket;
|
||||
import emu.grasscutter.net.packet.PacketOpcodes;
|
||||
import emu.grasscutter.net.proto.ShowClientGuideNotifyOuterClass.ShowClientGuideNotify;
|
||||
|
||||
public class PacketShowClientGuideNotify extends BasePacket {
|
||||
|
||||
public PacketShowClientGuideNotify(String guideName) {
|
||||
super(PacketOpcodes.ShowClientGuideNotify, true);
|
||||
|
||||
ShowClientGuideNotify proto = ShowClientGuideNotify.newBuilder()
|
||||
.setGuideName(guideName)
|
||||
.build();
|
||||
this.setData(proto);
|
||||
}
|
||||
}
|
||||
package emu.grasscutter.server.packet.send;
|
||||
|
||||
import emu.grasscutter.net.packet.BasePacket;
|
||||
import emu.grasscutter.net.packet.PacketOpcodes;
|
||||
import emu.grasscutter.net.proto.ShowClientGuideNotifyOuterClass.ShowClientGuideNotify;
|
||||
|
||||
public class PacketShowClientGuideNotify extends BasePacket {
|
||||
|
||||
public PacketShowClientGuideNotify(String guideName) {
|
||||
super(PacketOpcodes.ShowClientGuideNotify, true);
|
||||
|
||||
ShowClientGuideNotify proto =
|
||||
ShowClientGuideNotify.newBuilder().setGuideName(guideName).build();
|
||||
this.setData(proto);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user