getId
getId: (HttpWorld) -> numberThe world number.
worldService:getWorlds():findWorld(…)| Method | Returns | Description |
|---|---|---|
getId() | number | The world number. |
getTypes() | {[HttpWorldType]: boolean} | Its types, as a set. |
getAddress() | string | The hostname. |
getActivity() | string | The activity label. |
getLocation() | number | The location code (getRegion() names it). |
getPlayers() | number | The player count the list reported. |
getRegion() | WorldRegion? | WorldRegion.valueOf(location): the region, nil for an unknown location. |
equals(any) | boolean | Whether other equals this HttpWorld, as == answers it (false for a value of another class). |
| Method | Returns | Description |
|---|---|---|
WorldResult.findWorld | HttpWorld? | The world numbered worldId, or nil. |
WorldResult.getWorlds | {HttpWorld} | The worlds, by id. A result older than the last eight fetches reads the newest. |
getIdgetId: (HttpWorld) -> numberThe world number.
getTypesgetTypes: (HttpWorld) -> {[HttpWorldType]: boolean}Its types, as a set.
getAddressgetAddress: (HttpWorld) -> stringThe hostname.
getActivitygetActivity: (HttpWorld) -> stringThe activity label.
getLocationgetLocation: (HttpWorld) -> numberThe location code (getRegion() names it).
getPlayersgetPlayers: (HttpWorld) -> numberThe player count the list reported.
getRegiongetRegion: (HttpWorld) -> WorldRegion?WorldRegion.valueOf(location): the region, nil for an unknown location.
equalsequals: (HttpWorld, any) -> booleanWhether other equals this HttpWorld, as == answers it (false for a value of another class).