All Downloads are FREE. Search and download functionalities are using the official Maven repository.

emu.grasscutter.server.packet.send.PacketSceneUnlockInfoNotify Maven / Gradle / Ivy

There is a newer version: 1.0.3-dev
Show newest version
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);
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy