|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.threerings.whirled.zone.util.ZoneUtil
public class ZoneUtil
Server-specific, zone-related utility functions.
| Constructor Summary | |
|---|---|
ZoneUtil()
|
|
| Method Summary | |
|---|---|
static int |
qualifyZoneId(byte zoneType,
int zoneId)
Composes the zone type and zone id into a qualified zone id. |
static String |
toString(int qualifiedZoneId)
Returns an easier to read representation of the supplied qualified zone id: type:id. |
static int |
zoneId(int qualifiedZoneId)
Extracts the zone id from a qualified zone id. |
static int |
zoneType(int qualifiedZoneId)
Extracts the zone type from a qualified zone id. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ZoneUtil()
| Method Detail |
|---|
public static int qualifyZoneId(byte zoneType,
int zoneId)
public static int zoneType(int qualifiedZoneId)
public static int zoneId(int qualifiedZoneId)
public static String toString(int qualifiedZoneId)
type:id.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||