And a convenience function for the client, too.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@820 c613c5cb-e716-0410-b11b-feb51c14d237
This commit is contained in:
@@ -177,6 +177,14 @@ public /*abstract*/ class GameController extends PlaceController
|
|||||||
return (_userIder == null) ? 0 : _userIder.getUserId(name);
|
return (_userIder == null) ? 0 : _userIder.getUserId(name);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Returns the persistent user id for the supplied occupant info.
|
||||||
|
*/
|
||||||
|
public function getPlayerPersistentId (occInfo :OccupantInfo) :int
|
||||||
|
{
|
||||||
|
return getPlayerPersistentId(occInfo.username);
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the unique identifier for the current gameplay session.
|
* Returns the unique identifier for the current gameplay session.
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user