public class SpotSceneManager extends SceneManager implements SpotCodes
CLUSTER_CHAT_TYPE, CLUSTER_FULL, INVALID_LOCATION, LOCATION_OCCUPIED, NO_SUCH_CLUSTER, NO_SUCH_PORTALBROADCAST_ACCESS, BROADCAST_MODE, CHAT_ACCESS, CHAT_CHANNEL_NOTIFICATION, CHAT_NOTIFICATION, DEFAULT_IDLE_TIME, DEFAULT_MODE, EMOTE_MODE, IDLE_TIME_KEY, LAST_MODE, PLACE_CHAT_TYPE, SHOUT_MODE, SUCCESS, THINK_MODE, USER_CHAT_TYPE, USER_DISCONNECTED, USER_NOT_ONLINE, XLATE_MODESSCENE_UPDATE, WHIRLED_GROUP| Constructor and Description |
|---|
SpotSceneManager() |
| Modifier and Type | Method and Description |
|---|---|
void |
clearEnteringBody(com.threerings.crowd.data.BodyObject body)
Called if a body failed to enter our scene after we assigned them an entering position.
|
void |
mapEnteringBody(com.threerings.crowd.data.BodyObject body,
Portal from)
Assigns a starting location for an entering body.
|
String |
mayTraversePortal(com.threerings.crowd.data.BodyObject body,
Portal portal)
This is called when a user requests to traverse a portal from this scene to another scene.
|
static void |
moveBodyToDefaultPortal(com.threerings.crowd.server.PlaceRegistry plreg,
com.threerings.crowd.data.BodyObject body)
Move the specified body to the default portal, if possible.
|
void |
willTraversePortal(com.threerings.crowd.data.BodyObject body,
Portal portal)
This is called to let this scene manager know that the user is about to traverse the
specified portal.
|
getLocation, getScene, getUpdates, isPersistent, whereaddDelegate, applyToDelegates, applyToOccupants, bodyWillEnter, bodyWillLeave, checkPermissions, getConfig, getPlaceObject, init, isValidSpeaker, messageReceived, ratifyBodyEntry, registerMessageHandler, shutdown, startup, toString, updateOccupantInfopublic static void moveBodyToDefaultPortal(com.threerings.crowd.server.PlaceRegistry plreg,
com.threerings.crowd.data.BodyObject body)
public void mapEnteringBody(com.threerings.crowd.data.BodyObject body,
Portal from)
public void clearEnteringBody(com.threerings.crowd.data.BodyObject body)
public String mayTraversePortal(com.threerings.crowd.data.BodyObject body, Portal portal)
null indicating that it is OK for the caller to
traverse the portal.public void willTraversePortal(com.threerings.crowd.data.BodyObject body,
Portal portal)
Copyright © 2015. All rights reserved.