aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/net/arikia/dev/drpc/callbacks/JoinGameCallback.java
blob: c4e865db482acb57ef460295af2fad6edb90323f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
package net.arikia.dev.drpc.callbacks;

import com.sun.jna.Callback;

/**
 * @author Nicolas "Vatuu" Adamoglou
 * @version 1.5.1
 * <p>
 * Interface to be implemented in classes that will be registered as "JoinGameCallback" Event Handler.
 * @see net.arikia.dev.drpc.DiscordEventHandlers
 **/
public interface JoinGameCallback extends Callback {

	/**
	 * Method called when joining a game.
	 *
	 * @param joinSecret Unique String containing information needed to let the player join.
	 */
	void apply(String joinSecret);
}