com.threerings.tudey.data
Class TudeySceneObject

java.lang.Object
  extended by com.threerings.presents.dobj.DObject
      extended by com.threerings.crowd.data.PlaceObject
          extended by com.threerings.whirled.data.SceneObject
              extended by com.threerings.tudey.data.TudeySceneObject
All Implemented Interfaces:
com.threerings.crowd.chat.data.SpeakObject, com.threerings.io.Streamable

public class TudeySceneObject
extends com.threerings.whirled.data.SceneObject

Extends the SceneObject with information specific to Tudey scenes.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.threerings.crowd.data.PlaceObject
com.threerings.crowd.data.PlaceObject.ManagerCaller
 
Nested classes/interfaces inherited from interface com.threerings.crowd.chat.data.SpeakObject
com.threerings.crowd.chat.data.SpeakObject.ListenerOp
 
Nested classes/interfaces inherited from interface com.threerings.io.Streamable
com.threerings.io.Streamable.Closure
 
Field Summary
static String TUDEY_SCENE_SERVICE
          The field name of the tudeySceneService field.
 TudeySceneMarshaller tudeySceneService
          Provides Tudey scene services.
 
Fields inherited from class com.threerings.crowd.data.PlaceObject
manager, OCCUPANT_INFO, occupantInfo, occupants, OCCUPANTS, SPEAK_SERVICE, speakService
 
Constructor Summary
TudeySceneObject()
           
 
Method Summary
 int getFirstPawnId()
          Returns the id of the first pawn in the occupant list.
 TudeyOccupantInfo getOccupantInfo(int pawnId)
          Returns the occupant info corresponding to the specified pawn, or null if no such occupant info is registered.
 int getPawnId(int cloid)
          Returns the id of the pawn controlled by the client with the provided oid, or 0 if none.
 void setTudeySceneService(TudeySceneMarshaller value)
          Requests that the tudeySceneService field be set to the specified value.
 
Methods inherited from class com.threerings.crowd.data.PlaceObject
addToOccupantInfo, addToOccupants, applyToListeners, getOccupantInfo, initManagerCaller, removeFromOccupantInfo, removeFromOccupants, setOccupantInfo, setSpeakService, shouldBroadcast, updateOccupantInfo
 
Methods inherited from class com.threerings.presents.dobj.DObject
acquireLock, addListener, addListener, addSubscriber, addToSet, cancelTransaction, changeAttribute, checkPermissions, checkPermissions, commitTransaction, destroy, getAccessController, getAttribute, getLocal, getLocals, getManager, getOid, getSet, inTransaction, isActive, notifyListeners, notifyProxies, postEvent, postMessage, postMessage, readField__oid, releaseLock, removeFromSet, removeListener, removeSubscriber, setAccessController, setAttribute, setDestroyOnLastSubscriberRemoved, setLocal, setManager, setOid, startTransaction, toString, updateSet, which, writeField__oid
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

TUDEY_SCENE_SERVICE

@Generated(value="com.threerings.presents.tools.GenDObjectTask")
public static final String TUDEY_SCENE_SERVICE
The field name of the tudeySceneService field.

See Also:
Constant Field Values

tudeySceneService

public TudeySceneMarshaller tudeySceneService
Provides Tudey scene services.

Constructor Detail

TudeySceneObject

public TudeySceneObject()
Method Detail

getPawnId

public int getPawnId(int cloid)
Returns the id of the pawn controlled by the client with the provided oid, or 0 if none.


getFirstPawnId

public int getFirstPawnId()
Returns the id of the first pawn in the occupant list.


getOccupantInfo

public TudeyOccupantInfo getOccupantInfo(int pawnId)
Returns the occupant info corresponding to the specified pawn, or null if no such occupant info is registered.


setTudeySceneService

@Generated(value="com.threerings.presents.tools.GenDObjectTask")
public void setTudeySceneService(TudeySceneMarshaller value)
Requests that the tudeySceneService field be set to the specified value. The local value will be updated immediately and an event will be propagated through the system to notify all listeners that the attribute did change. Proxied copies of this object (on clients) will apply the value change when they received the attribute changed notification.



Copyright © 2011. All Rights Reserved.