public final class PixelmonRichPresence
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ICON_NAME |
static java.lang.String |
LOADING_GAME |
static java.lang.String |
LOCAL_MULTIPLAYER |
static java.lang.String |
MAIN_MENU |
static java.lang.String |
MULTIPLAYER |
static java.lang.String |
NOSERVER_DETAIL |
static java.lang.String |
SERVER_DETAIL |
static java.lang.String |
SINGLEPLAYER |
Constructor and Description |
---|
PixelmonRichPresence(java.lang.String application) |
Modifier and Type | Method and Description |
---|---|
void |
destruct() |
void |
init() |
boolean |
isAcknowledgedServer() |
boolean |
isActive() |
boolean |
isAvailable() |
boolean |
isIniting() |
void |
onJoin() |
void |
poll() |
void |
resetTime() |
void |
setAcknowledgedServer(boolean acknowledgedServer) |
void |
setState(java.lang.String state) |
void |
setState(java.lang.String state,
boolean time) |
void |
setState(java.lang.String state,
java.lang.String details,
boolean time) |
void |
setState(java.lang.String state,
java.lang.String details,
boolean time,
int players,
int maxPlayers) |
public static final java.lang.String LOADING_GAME
public static final java.lang.String MAIN_MENU
public static final java.lang.String SINGLEPLAYER
public static final java.lang.String NOSERVER_DETAIL
public static final java.lang.String SERVER_DETAIL
public static final java.lang.String LOCAL_MULTIPLAYER
public static final java.lang.String MULTIPLAYER
public static final java.lang.String ICON_NAME
public boolean isAcknowledgedServer()
public void setAcknowledgedServer(boolean acknowledgedServer)
public void init()
public void setState(java.lang.String state)
public void setState(java.lang.String state, boolean time)
public void setState(java.lang.String state, java.lang.String details, boolean time)
public void setState(java.lang.String state, java.lang.String details, boolean time, int players, int maxPlayers)
public void onJoin()
public void resetTime()
public void poll()
public void destruct()
public boolean isAvailable()
public boolean isActive()
public boolean isIniting()