implement furniture make system

This commit is contained in:
Akka
2022-06-16 17:25:20 +08:00
committed by Melledy
Unverified
parent 7a247e70e0
commit 211d7d6fbf
19 changed files with 478 additions and 18 deletions
@@ -0,0 +1,21 @@
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);
}
}