public static class SceneMarshaller.SceneMoveMarshaller extends com.threerings.presents.data.InvocationMarshaller.ListenerMarshaller implements SceneService.SceneMoveListener
SceneService.SceneMoveListener.| Modifier and Type | Field and Description |
|---|---|
static int |
MOVE_REQUIRES_SERVER_SWITCH
The method id used to dispatch
moveRequiresServerSwitch(java.lang.String, int[])
responses. |
static int |
MOVE_SUCCEEDED
The method id used to dispatch
moveSucceeded(int, com.threerings.crowd.data.PlaceConfig)
responses. |
static int |
MOVE_SUCCEEDED_WITH_SCENE
The method id used to dispatch
moveSucceededWithScene(int, com.threerings.crowd.data.PlaceConfig, com.threerings.whirled.data.SceneModel)
responses. |
static int |
MOVE_SUCCEEDED_WITH_UPDATES
The method id used to dispatch
moveSucceededWithUpdates(int, com.threerings.crowd.data.PlaceConfig, com.threerings.whirled.data.SceneUpdate[])
responses. |
| Constructor and Description |
|---|
SceneMoveMarshaller() |
| Modifier and Type | Method and Description |
|---|---|
void |
dispatchResponse(int methodId,
Object[] args) |
void |
moveRequiresServerSwitch(String arg1,
int[] arg2)
Indicates that the client must switch to the specified server and reissue its move
request in order to relocate to its desired scene.
|
void |
moveSucceeded(int arg1,
com.threerings.crowd.data.PlaceConfig arg2)
Indicates that a move succeeded.
|
void |
moveSucceededWithScene(int arg1,
com.threerings.crowd.data.PlaceConfig arg2,
SceneModel arg3)
Indicates that a move succeeded and that the client's cached scene information should be
updated with the supplied data.
|
void |
moveSucceededWithUpdates(int arg1,
com.threerings.crowd.data.PlaceConfig arg2,
SceneUpdate[] arg3)
Indicates that a move succeeded and that the client's cached scene information should be
updated with the supplied data.
|
requestFailed, setInvocationId, setNoResponse, toStringpublic static final int MOVE_REQUIRES_SERVER_SWITCH
moveRequiresServerSwitch(java.lang.String, int[])
responses.public static final int MOVE_SUCCEEDED
moveSucceeded(int, com.threerings.crowd.data.PlaceConfig)
responses.public static final int MOVE_SUCCEEDED_WITH_SCENE
moveSucceededWithScene(int, com.threerings.crowd.data.PlaceConfig, com.threerings.whirled.data.SceneModel)
responses.public static final int MOVE_SUCCEEDED_WITH_UPDATES
moveSucceededWithUpdates(int, com.threerings.crowd.data.PlaceConfig, com.threerings.whirled.data.SceneUpdate[])
responses.public void moveRequiresServerSwitch(String arg1, int[] arg2)
SceneService.SceneMoveListenermoveRequiresServerSwitch in interface SceneService.SceneMoveListenerpublic void moveSucceeded(int arg1,
com.threerings.crowd.data.PlaceConfig arg2)
SceneService.SceneMoveListenermoveSucceeded in interface SceneService.SceneMoveListenerarg1 - the place object id of the newly occupied scene.arg2 - metadata related to the newly occupied scene.public void moveSucceededWithScene(int arg1,
com.threerings.crowd.data.PlaceConfig arg2,
SceneModel arg3)
SceneService.SceneMoveListenermoveSucceededWithScene in interface SceneService.SceneMoveListenerarg1 - the place object id of the newly occupied scene.arg2 - metadata related to the newly occupied scene.arg3 - a fresh copy of the most recent scene data for the newly occupied scene.public void moveSucceededWithUpdates(int arg1,
com.threerings.crowd.data.PlaceConfig arg2,
SceneUpdate[] arg3)
SceneService.SceneMoveListenermoveSucceededWithUpdates in interface SceneService.SceneMoveListenerarg1 - the place object id of the newly occupied scene.arg2 - metadata related to the newly occupied scene.arg3 - updates that must be applied to the client's copy of a scene model to
bring it up to date.public void dispatchResponse(int methodId,
Object[] args)
dispatchResponse in class com.threerings.presents.data.InvocationMarshaller.ListenerMarshallerCopyright © 2015. All rights reserved.