mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-05-12 06:56:02 +08:00
22 lines
653 B
Java
22 lines
653 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.UnlockedFurnitureSuiteDataNotifyOuterClass;
|
|
|
|
import java.util.Set;
|
|
|
|
public class PacketUnlockedFurnitureSuiteDataNotify extends BasePacket {
|
|
|
|
public PacketUnlockedFurnitureSuiteDataNotify(Set<Integer> unlockList) {
|
|
super(PacketOpcodes.UnlockedFurnitureSuiteDataNotify);
|
|
|
|
var proto = UnlockedFurnitureSuiteDataNotifyOuterClass.UnlockedFurnitureSuiteDataNotify.newBuilder();
|
|
|
|
proto.addAllFurnitureSuiteIdList(unlockList);
|
|
proto.setIsAll(true);
|
|
|
|
this.setData(proto);
|
|
}
|
|
}
|