blob: 28af7329a68d29fe6674ed745ce9b2c5b93dd225 (
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 "SpectateGameCallback" Event Handler.
* @see net.arikia.dev.drpc.DiscordEventHandlers
**/
public interface SpectateGameCallback extends Callback {
/**
* Method called when joining a game.
*
* @param spectateSecret Unique String containing information needed to let the player spectate.
*/
void apply(String spectateSecret);
}
|