Package net.dv8tion.jda.api.entities
Class RichPresence.Party
- java.lang.Object
-
- net.dv8tion.jda.api.entities.RichPresence.Party
-
- Enclosing interface:
- RichPresence
public static class RichPresence.Party extends Object
Holds information on a player's party
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)StringgetId()ID for this party, relevant to the game.longgetMax()The maximum size of this party, or0if unsetlonggetSize()The current size of this party, or0if unsetinthashCode()StringtoString()
-
-
-
Constructor Detail
-
Party
public Party(String id, long size, long max)
-
-
Method Detail
-
getId
@Nullable public String getId()
ID for this party, relevant to the game.- Returns:
- The ID for this party, or
nullif unset
-
getSize
public long getSize()
The current size of this party, or0if unset- Returns:
- The current size of this party, or
0if unset
-
getMax
public long getMax()
The maximum size of this party, or0if unset- Returns:
- The maximum size of this party, or
0if unset
-
-