mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-05-04 19:17:32 +08:00
25 lines
1.0 KiB
Java
25 lines
1.0 KiB
Java
package emu.grasscutter.server.packet.send;
|
|
|
|
import emu.grasscutter.net.packet.GenshinPacket;
|
|
import emu.grasscutter.net.packet.PacketOpcodes;
|
|
import emu.grasscutter.net.proto.SceneUnlockInfoNotifyOuterClass.SceneUnlockInfoNotify;
|
|
import emu.grasscutter.net.proto.SceneUnlockInfoOuterClass.SceneUnlockInfo;
|
|
|
|
public class PacketSceneUnlockInfoNotify extends GenshinPacket {
|
|
|
|
public PacketSceneUnlockInfoNotify() {
|
|
super(PacketOpcodes.SceneUnlockInfoNotify); // Rename opcode later
|
|
|
|
SceneUnlockInfoNotify proto = SceneUnlockInfoNotify.newBuilder()
|
|
.addUnlockInfos(SceneUnlockInfo.newBuilder().setSceneId(1))
|
|
.addUnlockInfos(SceneUnlockInfo.newBuilder().setSceneId(3))
|
|
.addUnlockInfos(SceneUnlockInfo.newBuilder().setSceneId(4).addSceneTagIdList(106).addSceneTagIdList(109))
|
|
.addUnlockInfos(SceneUnlockInfo.newBuilder().setSceneId(5))
|
|
.addUnlockInfos(SceneUnlockInfo.newBuilder().setSceneId(6))
|
|
.addUnlockInfos(SceneUnlockInfo.newBuilder().setSceneId(7))
|
|
.build();
|
|
|
|
this.setData(proto);
|
|
}
|
|
}
|