blob: ddcc961412e4102e78ab9289d434ffaa22c58327 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
package net.arikia.dev.drpc.callbacks;
import com.sun.jna.Callback;
import net.arikia.dev.drpc.DiscordUser;
/**
* @author Nicolas "Vatuu" Adamoglou
* @version 1.5.1
* <p>
* Interface to be implemented in classes that will be registered as "JoinRequestCallback" Event Handler.
* @see net.arikia.dev.drpc.DiscordEventHandlers
**/
public interface JoinRequestCallback extends Callback {
/**
* Method called when another player requests to join a game.
*
* @param request Object containing all required information about the user requesting to join.
* @see DiscordUser
*/
void apply(DiscordUser request);
}
|