HttpWorld

Methods
8
Fields
None

Getting one

worldService:getWorlds():findWorld(…)

Methods

MethodReturnsDescription
getId()numberThe world number.
getTypes(){[HttpWorldType]: boolean}Its types, as a set.
getAddress()stringThe hostname.
getActivity()stringThe activity label.
getLocation()numberThe location code (getRegion() names it).
getPlayers()numberThe player count the list reported.
getRegion()WorldRegion?WorldRegion.valueOf(location): the region, nil for an unknown location.
equals(any)booleanWhether other equals this HttpWorld, as == answers it (false for a value of another class).

Returned by

MethodReturnsDescription
WorldResult.findWorldHttpWorld?The world numbered worldId, or nil.
WorldResult.getWorlds{HttpWorld}The worlds, by id. A result older than the last eight fetches reads the newest.

Method details

equals

equals: (HttpWorld, any) -> boolean

Whether other equals this HttpWorld, as == answers it (false for a value of another class).