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

import eu.jonahbauer.wizard.common.model.Configuration;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.NonNull;
import lombok.RequiredArgsConstructor;

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