# Uses of Class com.threerings.whirled.data.SceneUpdate (vilya 1.3 API)
Date: 2011-04-06

## Uses of Class
com.threerings.whirled.data.SceneUpdate

Packages that use SceneUpdate
com.threerings.stage.client
com.threerings.stage.data
com.threerings.whirled.client
com.threerings.whirled.data
com.threerings.whirled.server
com.threerings.whirled.server.persist
com.threerings.whirled.spot.data
com.threerings.whirled.util
com.threerings.whirled.zone.client
com.threerings.whirled.zone.data

Uses of SceneUpdate in com.threerings.stage.client

Methods in com.threerings.stage.client with parameters of type SceneUpdate
`void` `StageScenePanel.sceneUpdated(SceneUpdate update)` Called when we have received a scene update from the server.

Uses of SceneUpdate in com.threerings.stage.data

Subclasses of SceneUpdate in com.threerings.stage.data
`class` `DefaultColorUpdate` Update to change the default colorization for objects in a scene which do not define their own colorization.
`class` `ModifyObjectsUpdate` A scene update that is broadcast when objects have been added to or removed from the scene.

Methods in com.threerings.stage.data with parameters of type SceneUpdate
`void` `StageScene.updateReceived(SceneUpdate update)`

Uses of SceneUpdate in com.threerings.whirled.client

Methods in com.threerings.whirled.client with parameters of type SceneUpdate
`void` `SceneService.SceneMoveListener.moveSucceededWithUpdates(int placeId, com.threerings.crowd.data.PlaceConfig config, SceneUpdate[] updates)` Indicates that a move succeeded and that the client's cached scene information should be updated with the supplied data.
`void` `SceneMoveAdapter.moveSucceededWithUpdates(int placeId, com.threerings.crowd.data.PlaceConfig config, SceneUpdate[] updates)`
`void` `SceneDirector.moveSucceededWithUpdates(int placeId, com.threerings.crowd.data.PlaceConfig config, SceneUpdate[] updates)`
`void` `SceneDirector.updateReceived(SceneUpdate update)` Called by SceneController instances to tell us about an update to the current scene.

Uses of SceneUpdate in com.threerings.whirled.data

Methods in com.threerings.whirled.data with parameters of type SceneUpdate
`void` `SceneMarshaller.SceneMoveMarshaller.moveSucceededWithUpdates(int arg1, com.threerings.crowd.data.PlaceConfig arg2, SceneUpdate[] arg3)`
`void` `SceneImpl.updateReceived(SceneUpdate update)`
`void` `Scene.updateReceived(SceneUpdate update)` Called to inform the scene that an update has been received while the scene was resolved and active.

Uses of SceneUpdate in com.threerings.whirled.server

Methods in com.threerings.whirled.server that return SceneUpdate
`SceneUpdate[]` `SceneManager.getUpdates(int fromVersion)` Returns `UpdateList.getUpdates(int)` for this scene's updates.

Uses of SceneUpdate in com.threerings.whirled.server.persist

Methods in com.threerings.whirled.server.persist that return SceneUpdate
`SceneUpdate` `SceneUpdateMarshaller.decodeUpdate(int sceneId, int sceneVersion, int updateType, byte[] data)` Instantiates the appropriate update class and decodes the update from the data.

Methods in com.threerings.whirled.server.persist with parameters of type SceneUpdate
`void` `SceneRepository.applyAndRecordUpdate(SceneModel model, SceneUpdate update)` Applise the supplied scene update to persistent representation of its associated scene, then stores the update persistently for future invocations of the server to load.
`void` `DummySceneRepository.applyAndRecordUpdate(SceneModel model, SceneUpdate update)`
`int` `SceneUpdateMarshaller.getUpdateType(SceneUpdate update)` Returns the type code that is assigned to the specified SceneUpdate instance, or -1.
`byte[]` `SceneUpdateMarshaller.persistUpdate(SceneUpdate update)` Persists the specified update to a new ByteArrayOutInputStream.

Uses of SceneUpdate in com.threerings.whirled.spot.data

Subclasses of SceneUpdate in com.threerings.whirled.spot.data
`class` `ModifyPortalsUpdate` A scene update to add/remove portals.

Methods in com.threerings.whirled.spot.data with parameters of type SceneUpdate
`void` `SpotMarshaller.SpotSceneMoveMarshaller.moveSucceededWithUpdates(int arg1, com.threerings.crowd.data.PlaceConfig arg2, SceneUpdate[] arg3)`

Uses of SceneUpdate in com.threerings.whirled.util

Methods in com.threerings.whirled.util that return SceneUpdate
`SceneUpdate[]` `UpdateList.getUpdates(int fromVersion)` Returns all of the updates that should be applied to a scene with the specified version to bring it up to date.

Methods in com.threerings.whirled.util with parameters of type SceneUpdate
`void` `UpdateList.addUpdate(SceneUpdate update)` Adds an update to this list.

Uses of SceneUpdate in com.threerings.whirled.zone.client

Methods in com.threerings.whirled.zone.client with parameters of type SceneUpdate

`void`

`ZoneService.ZoneMoveListener.moveSucceededWithUpdates(int placeId, com.threerings.crowd.data.PlaceConfig config, ZoneSummary summary, SceneUpdate[] updates)`
Called in response to a successful `ZoneService.moveTo(int, int, int, com.threerings.whirled.zone.client.ZoneService.ZoneMoveListener)` request when our cached scene was out of date and the server determined that we needed some updates.

`void` `ZoneDirector.moveSucceededWithUpdates(int placeId, com.threerings.crowd.data.PlaceConfig config, ZoneSummary summary, SceneUpdate[] updates)`

Uses of SceneUpdate in com.threerings.whirled.zone.data

Methods in com.threerings.whirled.zone.data with parameters of type SceneUpdate
`void` `ZoneMarshaller.ZoneMoveMarshaller.moveSucceededWithUpdates(int arg1, com.threerings.crowd.data.PlaceConfig arg2, ZoneSummary arg3, SceneUpdate[] arg4)`

Copyright © 2011. All Rights Reserved.