public static class RichPresence.Party
extends java.lang.Object
Constructor | Description |
---|---|
Party(java.lang.String id,
long size,
long max) |
Modifier and Type | Method | Description |
---|---|---|
boolean |
equals(java.lang.Object obj) |
|
java.lang.String |
getId() |
ID for this party, relevant to the game.
|
int |
getMax() |
The maximum size of this party, or
0 if unset |
long |
getMaxAsLong() |
The maximum size of this party, or
0 if unset |
int |
getSize() |
The current size of this party, or
0 if unset |
long |
getSizeAsLong() |
The current size of this party, or
0 if unset |
int |
hashCode() |
|
java.lang.String |
toString() |
@Nullable public java.lang.String getId()
null
if unset@Incubating public int getSize()
0
if unset0
if unsetlong
for compatibilitypublic long getSizeAsLong()
0
if unset0
if unset@Incubating public int getMax()
0
if unset0
if unsetlong
for compatibilitypublic long getMaxAsLong()
0
if unset0
if unsetpublic java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object