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

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

import java.util.UUID;

@Getter
@RequiredArgsConstructor
@EqualsAndHashCode(of = "uuid")
public class SessionData {
    /**
     * UUID of the session
     */
    private final UUID uuid;
    /**
     * Name of the session
     */
    private final String name;
    /**
     * Number of players currently in the session
     */
    private final int playerCount;
    /**
     * Configuration of the session
     */
    private final Configuration configuration;
}
