com.threerings.toybox.data
Class ToyBoxUserObject

java.lang.Object
  extended by com.threerings.presents.dobj.DObject
      extended by com.threerings.presents.data.ClientObject
          extended by com.threerings.crowd.data.BodyObject
              extended by com.threerings.toybox.data.ToyBoxUserObject
All Implemented Interfaces:
SpeakObject, Streamable

public class ToyBoxUserObject
extends BodyObject

Extends the BodyObject with some custom bits needed for ToyBox. NOTE: This intentionally does not subclass from WhirledPlayerObject because toybox does not require WhirledGameOccupantInfo or other extra functionality as of yet.


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.threerings.crowd.chat.data.SpeakObject
SpeakObject.ListenerOp
 
Field Summary
 TokenRing tokens
          Indicates which access control tokens are held by this user.
static String TOKENS
          The field name of the tokens field.
 
Fields inherited from class com.threerings.crowd.data.BodyObject
AWAY_MESSAGE, awayMessage, EMPTY_TOKENS, location, LOCATION, status, STATUS
 
Fields inherited from class com.threerings.presents.data.ClientObject
_permPolicy, _references, CLOBJ_CHANGED, receivers, RECEIVERS, username, USERNAME
 
Fields inherited from class com.threerings.presents.dobj.DObject
_controller, _deathWish, _fields, _ftable, _listeners, _locattrs, _locks, _oid, _omgr, _scount, _subs, _tcancelled, _tcount, _tevent, FIELD_COMP, NO_ATTRS
 
Constructor Summary
ToyBoxUserObject()
           
 
Method Summary
 TokenRing getTokens()
           
 void setTokens(TokenRing value)
          Requests that the tokens field be set to the specified value.
 
Methods inherited from class com.threerings.crowd.data.BodyObject
addWhoData, applyToListeners, createOccupantInfo, didLeavePlace, getPlaceOid, getStatusTranslation, getVisibleName, setAwayMessage, setLocation, setStatus, who, willEnterPlace
 
Methods inherited from class com.threerings.presents.data.ClientObject
addToReceivers, checkAccess, checkAccess, hasAccess, hasAccess, readField__permPolicy, reference, release, removeFromReceivers, setPermissionPolicy, setReceivers, setUsername, updateReceivers, writeField__permPolicy
 
Methods inherited from class com.threerings.presents.dobj.DObject
acquireLock, addListener, addListener, addSubscriber, addToSet, cancelTransaction, changeAttribute, checkPermissions, checkPermissions, clearLock, clearTransaction, commitTransaction, destroy, getAccessController, getAttribute, getField, getListenerIndex, getLocal, getLocals, getManager, getOid, getSet, inTransaction, isActive, notifyListeners, notifyProxies, postEvent, postMessage, postMessage, readField__oid, releaseLock, removeFromSet, removeListener, removeSubscriber, requestAttributeChange, requestAttributeChange, requestElementUpdate, requestElementUpdate, requestEntryAdd, requestEntryRemove, requestEntryUpdate, requestEntryUpdate, requestOidAdd, requestOidRemove, setAccessController, setAttribute, setDestroyOnLastSubscriberRemoved, setLocal, setManager, setOid, startTransaction, toString, toString, updateSet, which, which, writeField__oid
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

TOKENS

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

See Also:
Constant Field Values

tokens

public TokenRing tokens
Indicates which access control tokens are held by this user.

Constructor Detail

ToyBoxUserObject

public ToyBoxUserObject()
Method Detail

getTokens

public TokenRing getTokens()
Overrides:
getTokens in class BodyObject

setTokens

@Generated(value="com.threerings.presents.tools.GenDObjectTask")
public void setTokens(TokenRing value)
Requests that the tokens 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.