public interface ZoneManager
| Modifier and Type | Interface and Description |
|---|---|
static interface |
ZoneManager.ResolutionListener
Used to notify requesters when an asynchronous zone load has
completed (successfully or not).
|
| Modifier and Type | Method and Description |
|---|---|
void |
bodyDidEnterZone(com.threerings.crowd.data.BodyObject body,
int zoneId)
Called when a body has been granted access to a zone.
|
String |
ratifyBodyEntry(com.threerings.crowd.data.BodyObject body,
int zoneId)
Called when a body has requested to enter a zone.
|
String |
ratifyBodyExit(com.threerings.crowd.data.BodyObject body)
Called when a body has requested to leave a zone.
|
void |
resolveZone(int zoneId,
ZoneManager.ResolutionListener listener)
Resolves and delivers the scene summary information for the
requested zone.
|
void resolveZone(int zoneId,
ZoneManager.ResolutionListener listener)
zoneId - the qualified zone id of the zone to resolve.listener - the listener that should be notified when the zone
is successfully resolved or is known to have failed to resolve.String ratifyBodyExit(com.threerings.crowd.data.BodyObject body)
body - the body object of the user that desires to depart
their current zone (which can be obtained by casting the BodyObject to a ZonedBodyObject).String ratifyBodyEntry(com.threerings.crowd.data.BodyObject body, int zoneId)
body - the body object of the user that desires access to the
specified zone.zoneId - the id of the zone to which the user desires access.void bodyDidEnterZone(com.threerings.crowd.data.BodyObject body,
int zoneId)
body - the body object of the user that was just granted
access to a zone.zoneId - the id of the zone to which they were granted access.Copyright © 2015. All rights reserved.