com.threerings.crowd.data
Class OccupantInfo.NameUpdater
java.lang.Object
com.threerings.crowd.data.OccupantInfo.NameUpdater
- All Implemented Interfaces:
- OccupantInfo.Updater<OccupantInfo>
- Enclosing class:
- OccupantInfo
public static class OccupantInfo.NameUpdater
- extends Object
- implements OccupantInfo.Updater<OccupantInfo>
An update to dispatch when an occupant's name changes.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_name
protected Name _name
OccupantInfo.NameUpdater
public OccupantInfo.NameUpdater(Name name)
update
public boolean update(OccupantInfo info)
- Description copied from interface:
OccupantInfo.Updater
- Make whatever changes are desired to your
OccupantInfo here.
- Specified by:
update in interface OccupantInfo.Updater<OccupantInfo>
- Returns:
- true if the record was modified and should be published, false if no
modifications were made (it will not be published).