mirror of
https://github.com/Melledy/Grasscutter.git
synced 2024-11-23 10:21:42 +00:00
Add packet for WindSeedClientNotify
still a blacklisted packet however
This commit is contained in:
parent
c66b920068
commit
62fd82fa54
@ -0,0 +1,18 @@
|
||||
package emu.grasscutter.server.packet.send;
|
||||
|
||||
import com.google.protobuf.ByteString;
|
||||
import emu.grasscutter.net.packet.BasePacket;
|
||||
import emu.grasscutter.net.packet.PacketOpcodes;
|
||||
import emu.grasscutter.net.proto.WindSeedClientNotifyOuterClass.WindSeedClientNotify;
|
||||
import emu.grasscutter.net.proto.WindSeedClientNotifyOuterClass.WindSeedClientNotify.AreaNotify;
|
||||
|
||||
public final class PacketWindSeedClientNotify extends BasePacket {
|
||||
public PacketWindSeedClientNotify(byte[] compiledLua) {
|
||||
super(PacketOpcodes.WindSeedClientNotify);
|
||||
|
||||
this.setData(WindSeedClientNotify.newBuilder()
|
||||
.setAreaNotify(AreaNotify.newBuilder()
|
||||
.setAreaId(1).setAreaType(1)
|
||||
.setAreaCode(ByteString.copyFrom(compiledLua))));
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user