public interface SpotService
extends com.threerings.presents.client.InvocationService
SpotSceneDirector.| Modifier and Type | Interface and Description |
|---|---|
static interface |
SpotService.SpotSceneMoveListener
Used to communicate the response to a
SceneService.moveTo(int, int, com.threerings.whirled.client.SceneService.SceneMoveListener) request. |
| Modifier and Type | Method and Description |
|---|---|
void |
changeLocation(int sceneId,
Location loc,
com.threerings.presents.client.InvocationService.ConfirmListener listener)
Requests that this client's body be made to move to the specified
location.
|
void |
clusterSpeak(String message,
byte mode)
Requests that the supplied message be delivered to listeners in the
cluster to which the specified location belongs.
|
void |
joinCluster(int friendOid,
com.threerings.presents.client.InvocationService.ConfirmListener listener)
Requests that this client start or join the specified cluster.
|
void |
traversePortal(int sceneId,
int portalId,
int destSceneVer,
SpotService.SpotSceneMoveListener listener)
Requests to traverse the specified portal.
|
void traversePortal(int sceneId,
int portalId,
int destSceneVer,
SpotService.SpotSceneMoveListener listener)
sceneId - the player's current scene which is used to sanity
check things when the request actually arrives.portalId - the portal to be traversed.destSceneVer - the version of the destination scene data that
the client has in its local repository.void changeLocation(int sceneId,
Location loc,
com.threerings.presents.client.InvocationService.ConfirmListener listener)
sceneId - the id of the scene in which to change location.loc - the location to which to move.void joinCluster(int friendOid,
com.threerings.presents.client.InvocationService.ConfirmListener listener)
friendOid - the bodyOid of another user or the oid of an
existing cluster; the calling user will be made to join the cluster
or target user's cluster, or create a cluster with the target user
if they are not already in one.void clusterSpeak(String message, byte mode)
message - the text of the message to be spoken.mode - an associated mode constant that can be used to
identify different kinds of "speech" (emote, thought bubble, etc.).Copyright © 2015. All rights reserved.