com.threerings.toybox.data
Class ToyBoxUserObject
java.lang.Object
com.threerings.presents.dobj.DObject
com.threerings.presents.data.ClientObject
com.threerings.crowd.data.BodyObject
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.
|
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.presents.dobj.DObject |
_controller, _deathWish, _fields, _ftable, _listeners, _locattrs, _locks, _oid, _omgr, _scount, _subs, _tcancelled, _tcount, _tevent, FIELD_COMP, NO_ATTRS |
| 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 |
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.
ToyBoxUserObject
public ToyBoxUserObject()
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.