com.threerings.tudey.data
Class TudeySceneObject
java.lang.Object
com.threerings.presents.dobj.DObject
com.threerings.crowd.data.PlaceObject
com.threerings.whirled.data.SceneObject
com.threerings.tudey.data.TudeySceneObject
- All Implemented Interfaces:
- SpeakObject, Streamable
public class TudeySceneObject
- extends SceneObject
Extends the SceneObject with information specific to Tudey scenes.
| Fields inherited from class com.threerings.presents.dobj.DObject |
_accessors, _atable, _controller, _deathWish, _listeners, _locattrs, _locks, _oid, _omgr, _scount, _subs, _tcancelled, _tcount, _tevent, NO_ATTRS |
|
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, clearLock, clearTransaction, commitTransaction, createAccessors, destroy, getAccessController, getAccessor, getAttribute, getListenerIndex, getLocal, getLocals, getManager, getOid, getSet, inTransaction, isActive, isAuthoritative, notifyListeners, notifyProxies, postEvent, postMessage, postMessage, readField__oid, releaseLock, removeFromSet, removeListener, removeSubscriber, requestAttributeChange, requestAttributeChange, requestElementUpdate, requestElementUpdate, requestEntryAdd, requestEntryRemove, requestEntryUpdate, requestEntryUpdate, requestOidAdd, requestOidAdd, requestOidRemove, requestOidRemove, setAccessController, setAttribute, setDestroyOnLastSubscriberRemoved, setLocal, setManager, setOid, startTransaction, toString, toString, updateSet, which, which, writeField__oid |
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.
TudeySceneObject
public TudeySceneObject()
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.