| Package | Description |
|---|---|
| com.threerings.crowd.client | |
| com.threerings.crowd.data | |
| com.threerings.crowd.server |
| Modifier and Type | Method and Description |
|---|---|
OccupantInfo |
OccupantDirector.getOccupantInfo(int bodyOid)
Returns the occupant info for the user in question if it exists in
the currently occupied place.
|
OccupantInfo |
OccupantDirector.getOccupantInfo(Name username)
Returns the occupant info for the user in question if it exists in
the currently occupied place.
|
| Modifier and Type | Method and Description |
|---|---|
void |
OccupantObserver.occupantEntered(OccupantInfo info)
Called when a body enters the place.
|
void |
OccupantAdapter.occupantEntered(OccupantInfo info) |
void |
OccupantObserver.occupantLeft(OccupantInfo info)
Called when a body leaves the place.
|
void |
OccupantAdapter.occupantLeft(OccupantInfo info) |
void |
OccupantObserver.occupantUpdated(OccupantInfo oldinfo,
OccupantInfo newinfo)
Called when an occupant is updated.
|
void |
OccupantAdapter.occupantUpdated(OccupantInfo oinfo,
OccupantInfo info) |
| Modifier and Type | Method and Description |
|---|---|
void |
OccupantDirector.entryAdded(EntryAddedEvent<OccupantInfo> event)
Deals with all of the processing when an occupant shows up.
|
void |
OccupantDirector.entryRemoved(EntryRemovedEvent<OccupantInfo> event)
Deals with all of the processing when an occupant leaves.
|
void |
OccupantDirector.entryUpdated(EntryUpdatedEvent<OccupantInfo> event)
Deals with all of the processing when an occupant is updated.
|
| Modifier and Type | Interface and Description |
|---|---|
static interface |
OccupantInfo.Updater<T extends OccupantInfo>
Used by PlaceManager.updateOccupantInfo.
|
| Modifier and Type | Field and Description |
|---|---|
DSet<OccupantInfo> |
PlaceObject.occupantInfo
Contains an info record (of type
OccupantInfo) for each occupant that contains
information about that occupant that needs to be known by everyone in the place. |
| Modifier and Type | Method and Description |
|---|---|
OccupantInfo |
OccupantInfo.clone() |
OccupantInfo |
BodyObject.createOccupantInfo(PlaceObject plobj)
Creates a blank occupant info instance that will used to publish information about the
various bodies occupying a place.
|
OccupantInfo |
PlaceObject.getOccupantInfo(Name username)
Looks up a user's occupant info by name.
|
| Modifier and Type | Method and Description |
|---|---|
void |
PlaceObject.addToOccupantInfo(OccupantInfo elem)
Requests that the specified entry be added to the
occupantInfo set. |
boolean |
OccupantInfo.NameUpdater.update(OccupantInfo info) |
void |
PlaceObject.updateOccupantInfo(OccupantInfo elem)
Requests that the specified entry be updated in the
occupantInfo set. |
| Modifier and Type | Method and Description |
|---|---|
void |
PlaceObject.setOccupantInfo(DSet<OccupantInfo> value)
Requests that the
occupantInfo field be set to the
specified value. |
| Modifier and Type | Method and Description |
|---|---|
<T extends OccupantInfo> |
BodyManager.updateOccupantInfo(BodyObject body,
OccupantInfo.Updater<T> updater)
Locates the specified body's occupant info in the specified location, applies the supplied
occupant info operation to it and then broadcasts the updated info (assuming the occop
returned true indicating that an update was made).
|
<T extends OccupantInfo> |
PlaceManager.updateOccupantInfo(int bodyOid,
OccupantInfo.Updater<T> updater)
Calls the supplied updater on the canonical occupant info record for the specified body
(which must be an occupant of this place) and broadcasts the update to all other occupants.
|
| Modifier and Type | Method and Description |
|---|---|
void |
OccupantOp.apply(OccupantInfo info)
Called with the occupant info for each occupant in the location.
|
void |
PlaceManagerDelegate.bodyUpdated(OccupantInfo info)
Called when a body occupant info is updated.
|
Copyright © 2015. All rights reserved.