All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.to2mbn.jmccc.auth.CharacterSelector Maven / Gradle / Ivy

package com.github.to2mbn.jmccc.auth;

import com.github.to2mbn.jmccc.launch.AuthenticationException;
import com.github.to2mbn.jyal.GameProfile;

public interface CharacterSelector {

	/**
	 * Selects one of the given characters to login.
	 * 

* This method will be called during the authentication. An {@link AuthenticationException} will occur if this * method returns null. * * @param selected the default character * @param availableProfiles the available characters * @return the character to login */ GameProfile select(GameProfile selected, GameProfile[] availableProfiles); }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy