![JAR search and dependency download from the Maven repository](/logo.png)
jdash.common.entity.GDUserStats Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jdash-common Show documentation
Show all versions of jdash-common Show documentation
Common types and utilities when dealing with Geometry Dash data
The newest version!
package jdash.common.entity;
import java.util.Optional;
/**
* Represents the player stats of a user. It does not contain detailed information on the user's profile such as their
* icon set, their social links or their privacy settings. This information is provided by {@link GDUserProfile}.
*
* @param user The {@link GDUser} containing the base information about the user.
* @param stars The number of stars collected.
* @param moons The number of moons collected.
* @param diamonds The number of diamonds collected.
* @param secretCoins The number of secret coins collected.
* @param userCoins The number of user coins collected.
* @param demons The number of demons beaten.
* @param creatorPoints The number of creator points awarded.
* @param leaderboardRank The rank on the global leaderboard. This information may not be present.
*/
public record GDUserStats(
GDUser user,
int stars,
int moons,
int diamonds,
int secretCoins,
int userCoins,
int demons,
int creatorPoints,
Optional leaderboardRank
) {}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy