package eu.jonahbauer.wizard.common.messages.client;

import eu.jonahbauer.wizard.common.model.Configuration;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.RequiredArgsConstructor;
import org.jetbrains.annotations.Range;

@Getter
@RequiredArgsConstructor
@EqualsAndHashCode(callSuper = true)
public final class CreateSessionMessage extends ClientMessage {
    /**
     * Name of the session
     */
    private final String sessionName;
    /**
     * Name of the creating and joining player
     */
    private final String playerName;
    /**
     * timout in milliseconds for user interactions
     */
    private final long timeout;
    /**
     * Game configuration
     */
    private final Configuration configuration;
}
