Package de.jcm.discordgamesdk.activity
Class ActivityPartySize
java.lang.Object
de.jcm.discordgamesdk.activity.ActivityPartySize
A structure used to display information about the size (current and max) of the player's party.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionint
Gets the current size of the player's party (how full the party is).int
Gets the maximal size of the player's party (how many people fit in the party).void
setCurrentSize
(int size) Sets the current size of the player's party (how full the party is).void
setMaxSize
(int size) Sets the maximal size of the player's party (how many people fit in the party).toString()
-
Method Details
-
setCurrentSize
public void setCurrentSize(int size) Sets the current size of the player's party (how full the party is).- Parameters:
size
- The current size
-
getCurrentSize
public int getCurrentSize()Gets the current size of the player's party (how full the party is).- Returns:
- The current size
-
setMaxSize
public void setMaxSize(int size) Sets the maximal size of the player's party (how many people fit in the party).- Parameters:
size
- The maximal size
-
getMaxSize
public int getMaxSize()Gets the maximal size of the player's party (how many people fit in the party).- Returns:
- The maximal size
-
toString
-