Class World
- java.lang.Object
-
- net.eternalclient.api.wrappers.world.World
-
public final class World extends java.lang.Object
A class representing a world.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
java.lang.String
getDescription()
java.lang.String
getHost()
int
getId()
int
getIndex()
WorldLocation
getLocation()
int
getLocationId()
int
getMinLevel()
int
getPopulation()
RSWorld
getReference()
WorldRegion
getRegion()
java.util.EnumSet<net.eternalclient.api.data.worlds.WorldType>
getTypes()
int
hashCode()
boolean
isBeta()
boolean
isDmm()
boolean
isFreshStart()
boolean
isHighRisk()
boolean
isLastManStanding()
boolean
isLeagues()
boolean
isMember()
boolean
isNormalized()
boolean
isNoSaveMode()
boolean
isPvp()
boolean
isPvpArena()
boolean
isQuestSpeedrunning()
boolean
isTargetWorld()
boolean
isTournamentWorld()
java.lang.String
toString()
-
-
-
Constructor Detail
-
World
public World(RSWorld reference, int minLevel)
-
-
Method Detail
-
getId
public int getId()
-
getRegion
public WorldRegion getRegion()
-
getLocation
public WorldLocation getLocation()
-
getLocationId
public int getLocationId()
-
getDescription
public java.lang.String getDescription()
-
getHost
public java.lang.String getHost()
-
getPopulation
public int getPopulation()
-
getIndex
public int getIndex()
-
getTypes
public java.util.EnumSet<net.eternalclient.api.data.worlds.WorldType> getTypes()
-
isMember
public boolean isMember()
-
isPvp
public boolean isPvp()
-
isPvpArena
public boolean isPvpArena()
-
isDmm
public boolean isDmm()
-
isHighRisk
public boolean isHighRisk()
-
isLastManStanding
public boolean isLastManStanding()
-
isLeagues
public boolean isLeagues()
-
isTargetWorld
public boolean isTargetWorld()
-
isTournamentWorld
public boolean isTournamentWorld()
-
isQuestSpeedrunning
public boolean isQuestSpeedrunning()
-
isNoSaveMode
public boolean isNoSaveMode()
-
isFreshStart
public boolean isFreshStart()
-
isBeta
public boolean isBeta()
-
isNormalized
public boolean isNormalized()
-
getReference
public RSWorld getReference()
-
getMinLevel
public int getMinLevel()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-