|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.threerings.parlor.rating.server.Rating
com.threerings.parlor.rating.server.RatingDelegate.PlayerRating
protected static class RatingDelegate.PlayerRating
Encapsulates the rating/experience tuple representing a player's rating for a game.
| Field Summary | |
|---|---|
boolean |
modified
Whether or not this rating needs to be written back to the database. |
int |
playerId
The id of the rated player. |
Name |
playerName
The name of the rated player. |
int |
playerOid
The oid of the rated player. |
| Fields inherited from class com.threerings.parlor.rating.server.Rating |
|---|
experience, rating |
| Fields inherited from interface com.threerings.parlor.rating.data.RatingCodes |
|---|
DEFAULT_RATING, MAXIMUM_RATING, MINIMUM_RATING |
| Constructor Summary | |
|---|---|
RatingDelegate.PlayerRating(BodyObject player,
int playerId)
Sets up a new RatingDelegate.PlayerRating object with default values. |
|
| Method Summary | |
|---|---|
RatingDelegate.PlayerRating |
cloneForSave()
Duplicates this rating and clears its modified status. |
| Methods inherited from class com.threerings.parlor.rating.server.Rating |
|---|
computeAdjustment, computeRating, isProvisional, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public int playerOid
public Name playerName
public int playerId
public boolean modified
| Constructor Detail |
|---|
public RatingDelegate.PlayerRating(BodyObject player,
int playerId)
RatingDelegate.PlayerRating object with default values.
| Method Detail |
|---|
public RatingDelegate.PlayerRating cloneForSave()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||