public class ZoneRegistry extends Object implements ZoneProvider
| Constructor and Description |
|---|
ZoneRegistry(com.threerings.presents.server.InvocationManager invmgr)
Creates a zone manager with the supplied configuration.
|
| Modifier and Type | Method and Description |
|---|---|
ZoneManager |
getZoneManager(int qualifiedZoneId)
Returns the zone manager that handles the specified zone id.
|
String |
leaveOccupiedZone(ZonedBodyObject source)
Ejects the specified body from their current scene and zone.
|
String |
moveBody(ZonedBodyObject source,
int zoneId,
int sceneId)
Ejects the specified body from their current scene and sends them a request to move to the
specified new zone and scene.
|
void |
moveTo(com.threerings.presents.data.ClientObject caller,
int zoneId,
int sceneId,
int sceneVer,
ZoneService.ZoneMoveListener listener)
|
void |
registerZoneManager(byte zoneType,
ZoneManager manager)
Registers the supplied zone manager as the manager for the specified zone type.
|
@Inject public ZoneRegistry(com.threerings.presents.server.InvocationManager invmgr)
public void registerZoneManager(byte zoneType,
ZoneManager manager)
public ZoneManager getZoneManager(int qualifiedZoneId)
qualifiedZoneId - the qualified zone id for which the manager should be looked up.public String moveBody(ZonedBodyObject source, int zoneId, int sceneId)
LocationProvider.moveTo(com.threerings.presents.data.ClientObject, int, com.threerings.crowd.client.LocationService.MoveListener).ZoneManager.ratifyBodyExit(com.threerings.crowd.data.BodyObject)).public String leaveOccupiedZone(ZonedBodyObject source)
LocationProvider.leavePlace(com.threerings.presents.data.ClientObject).ZoneManager.ratifyBodyExit(com.threerings.crowd.data.BodyObject)).public void moveTo(com.threerings.presents.data.ClientObject caller,
int zoneId,
int sceneId,
int sceneVer,
ZoneService.ZoneMoveListener listener)
throws com.threerings.presents.server.InvocationException
ZoneProviderZoneService.moveTo(int, int, int, com.threerings.whirled.zone.client.ZoneService.ZoneMoveListener) request.moveTo in interface ZoneProvidercom.threerings.presents.server.InvocationExceptionCopyright © 2015. All rights reserved.