package fr.bglands.client.protocol;

import java.util.Objects;

/**
 * Sent again when Velocity moves the player to another backend. The client must
 * answer with a fresh {@link ClientHello}; no previous backend trust is reused.
 */
public record ServerProbe(int protocolMajor, int protocolMinor, String serverVersion) implements ServerMessage {
    public ServerProbe {
        Objects.requireNonNull(serverVersion, "serverVersion");
    }
}
