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

import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.RequiredArgsConstructor;

import java.util.UUID;

@Getter
@RequiredArgsConstructor
@EqualsAndHashCode(callSuper = true)
public final class RejoinMessage extends ClientMessage {
    /**
     * UUID of the session
     */
    private final UUID session;
    /**
     * UUID of the rejoining player
     */
    private final UUID player;
    /**
     * Secret in order to assure that no malicious user wants to join the message
     */
    private final String secret;
}
