package emu.grasscutter.server.packet.send;

import emu.grasscutter.net.packet.BasePacket;
import emu.grasscutter.net.packet.PacketOpcodes;
import emu.grasscutter.net.proto.SceneAudioNotifyOuterClass;
import java.util.List;

public class PacketSceneAudioNotify extends BasePacket {

    public PacketSceneAudioNotify(int sourceUid, List<Float> param2, List<String> param3, int type, List<Integer> param1) {
        super(PacketOpcodes.SceneAudioNotify);

        SceneAudioNotifyOuterClass.SceneAudioNotify proto = SceneAudioNotifyOuterClass.SceneAudioNotify.newBuilder()
                .setSourceUid(sourceUid)
                .addAllParam2(param2)
                .addAllParam3(param3)
                .setType(type)
                .addAllParam1(param1)
                .build();
        
        this.setData(proto);
    }
}