Package com.github.alex1304.jdash.entity
Class GDTimelyLevel
- java.lang.Object
-
- com.github.alex1304.jdash.entity.GDTimelyLevel
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GDTimelyLevel.TimelyType
-
Constructor Summary
Constructors Constructor Description GDTimelyLevel(long id, long cooldown, java.util.function.Supplier<reactor.core.publisher.Mono<GDLevel>> levelLoader, GDTimelyLevel.TimelyType type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
long
getCooldown()
long
getId()
The unique identifier for the entity.reactor.core.publisher.Mono<GDLevel>
getLevel()
GDTimelyLevel.TimelyType
getType()
int
hashCode()
String
toString()
-
-
-
Constructor Detail
-
GDTimelyLevel
public GDTimelyLevel(long id, long cooldown, java.util.function.Supplier<reactor.core.publisher.Mono<GDLevel>> levelLoader, GDTimelyLevel.TimelyType type)
-
-
Method Detail
-
getCooldown
public long getCooldown()
-
getLevel
public reactor.core.publisher.Mono<GDLevel> getLevel()
-
getType
public GDTimelyLevel.TimelyType getType()
-
equals
public boolean equals(Object obj)
-
getId
public final long getId()
Description copied from interface:GDEntity
The unique identifier for the entity.
-
-