Class RichPresence.Party

  • Enclosing interface:
    RichPresence

    public static class RichPresence.Party
    extends Object
    Holds information on a player's party
    • 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 null if unset
      • getSize

        public long getSize()
        The current size of this party, or 0 if unset
        Returns:
        The current size of this party, or 0 if unset
      • getMax

        public long getMax()
        The maximum size of this party, or 0 if unset
        Returns:
        The maximum size of this party, or 0 if unset
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object