package emu.grasscutter.server.packet.send;

import emu.grasscutter.game.player.Player;
import emu.grasscutter.net.packet.*;
import io.grasscutter.net.proto.scene.EnterSceneReadyRsp;

public class PacketEnterSceneReadyRsp extends BasePacket {

    public PacketEnterSceneReadyRsp(Player player) {
        super(PacketOpcodes.EnterSceneReadyRsp, 11);

        EnterSceneReadyRsp p =
                EnterSceneReadyRsp.newBuilder().setEnterSceneToken(player.getEnterSceneToken()).build();

        this.setData(p.toByteArray());
    }
}
