com.threerings.parlor.game.data
Class UserIdentifier
java.lang.Object
com.threerings.parlor.game.data.UserIdentifier
public class UserIdentifier
- extends Object
|
Method Summary |
static int |
getUserId(Name name)
Returns the id of the specified user, or 0 if they're not valid. |
static void |
setIder(UserIdentifier.Ider userIder)
Set the global user identifier to use. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_userIder
protected static UserIdentifier.Ider _userIder
UserIdentifier
public UserIdentifier()
getUserId
public static int getUserId(Name name)
- Returns the id of the specified user, or 0 if they're not valid.
setIder
public static void setIder(UserIdentifier.Ider userIder)
- Set the global user identifier to use.