package p.studio.workspaces.assets.messages.events;

import p.packer.messages.AssetReference;
import p.studio.lsp.events.StudioEvent;
import p.studio.workspaces.assets.messages.AssetWorkspaceBankCompositionDetails;

import java.util.Objects;

public record StudioBankCompositionChangedEvent(
        AssetReference assetReference,
        AssetWorkspaceBankCompositionDetails bankComposition) implements StudioEvent {

    public StudioBankCompositionChangedEvent {
        assetReference = Objects.requireNonNull(assetReference, "assetReference");
        bankComposition = Objects.requireNonNull(bankComposition, "bankComposition");
    }
}
