com.threerings.parlor.game.data
Class UserIdentifier

java.lang.Object
  extended by com.threerings.parlor.game.data.UserIdentifier

public class UserIdentifier
extends Object


Nested Class Summary
static interface UserIdentifier.Ider
          Implement this and set the mutha up.
 
Field Summary
protected static UserIdentifier.Ider _userIder
           
 
Constructor Summary
UserIdentifier()
           
 
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
 

Field Detail

_userIder

protected static UserIdentifier.Ider _userIder
Constructor Detail

UserIdentifier

public UserIdentifier()
Method Detail

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.