mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-05-12 06:56:02 +08:00
25 lines
1.1 KiB
Java
25 lines
1.1 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).addSceneTagIdList(102).addSceneTagIdList(113).addSceneTagIdList(117))
|
|
.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);
|
|
}
|
|
}
|