diff --git a/src/as/com/threerings/parlor/game/client/GameController.as b/src/as/com/threerings/parlor/game/client/GameController.as index 1f78f04b..3283d96e 100644 --- a/src/as/com/threerings/parlor/game/client/GameController.as +++ b/src/as/com/threerings/parlor/game/client/GameController.as @@ -177,6 +177,14 @@ public /*abstract*/ class GameController extends PlaceController 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. */