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

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

import java.util.Objects;

public record StudioGlyphMaterialMetadataChangedEvent(
        AssetReference assetReference,
        AssetStudioGlyphMaterialMetadata metadata) implements StudioEvent {

    public StudioGlyphMaterialMetadataChangedEvent {
        assetReference = Objects.requireNonNull(assetReference, "assetReference");
        metadata = Objects.requireNonNull(metadata, "metadata");
    }
}
