Class GDLevel

  • All Implemented Interfaces:
    GDEntity

    public final class GDLevel
    extends Object
    • Constructor Detail

    • Method Detail

      • getName

        public String getName()
      • getCreatorName

        public String getCreatorName()
      • getCreatorID

        public long getCreatorID()
      • getDescription

        public String getDescription()
      • getDifficulty

        public Difficulty getDifficulty()
      • getStars

        public int getStars()
      • getFeaturedScore

        public int getFeaturedScore()
      • isEpic

        public boolean isEpic()
      • getDownloads

        public int getDownloads()
      • getLikes

        public int getLikes()
      • getLength

        public Length getLength()
      • getSong

        public reactor.core.publisher.Mono<GDSong> getSong()
        Gets the song that this level uses.
        Returns:
        a Mono emitting the song. If the song is not allowed for use in Geometry Dash, a SongNotAllowedForUseException is emitted.
      • getCoinCount

        public int getCoinCount()
      • hasCoinsVerified

        public boolean hasCoinsVerified()
      • getLevelVersion

        public int getLevelVersion()
      • getGameVersion

        public int getGameVersion()
      • getObjectCount

        public int getObjectCount()
      • isDemon

        public boolean isDemon()
      • isAuto

        public boolean isAuto()
      • getOriginalLevelID

        public long getOriginalLevelID()
      • getRequestedStars

        public int getRequestedStars()
      • download

        public reactor.core.publisher.Mono<GDLevelData> download()
        Gets the level download data, which includes binary data of the level, the upload an d last updated dates, and the copy passcode.
        Returns:
        a Mono emitting the download data for this level.
      • equals

        public boolean equals​(Object obj)
      • getId

        public final long getId()
        Description copied from interface: GDEntity
        The unique identifier for the entity.
        Specified by:
        getId in interface GDEntity
        Returns:
        an ID
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object