Back to this, for now.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@822 c613c5cb-e716-0410-b11b-feb51c14d237
This commit is contained in:
@@ -174,10 +174,9 @@ public /*abstract*/ class GameController extends PlaceController
|
|||||||
*
|
*
|
||||||
* @param spec a Name or OccupantInfo.
|
* @param spec a Name or OccupantInfo.
|
||||||
*/
|
*/
|
||||||
public function getPlayerPersistentId (spec :*) :int
|
public function getPlayerPersistentId (name :Name) :int
|
||||||
{
|
{
|
||||||
return (_userIder == null) ? 0 :
|
return (_userIder == null) ? 0 : _userIder.getUserId(name);
|
||||||
_userIder.getUserId((spec is OccupantInfo) ? OccupantInfo(spec).username : Name(spec));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user