mirror of
https://github.com/Melledy/Grasscutter.git
synced 2024-12-04 20:11:49 +00:00
19 lines
543 B
Java
19 lines
543 B
Java
|
package emu.grasscutter.server.packet.send;
|
||
|
|
||
|
import emu.grasscutter.net.packet.BasePacket;
|
||
|
import emu.grasscutter.net.packet.PacketOpcodes;
|
||
|
import emu.grasscutter.net.proto.CombineDataNotifyOuterClass.CombineDataNotify;
|
||
|
|
||
|
public class PacketCombineDataNotify extends BasePacket {
|
||
|
|
||
|
public PacketCombineDataNotify(Iterable<Integer> unlockedCombines) {
|
||
|
super(PacketOpcodes.CombineDataNotify);
|
||
|
|
||
|
CombineDataNotify proto = CombineDataNotify.newBuilder()
|
||
|
.addAllCombineIdList(unlockedCombines)
|
||
|
.build();
|
||
|
|
||
|
this.setData(proto);
|
||
|
}
|
||
|
}
|