Server side of occupant management stuff.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@269 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
//
|
||||
// $Id: PlaceRegistry.java,v 1.6 2001/08/11 04:03:25 mdb Exp $
|
||||
// $Id: PlaceRegistry.java,v 1.7 2001/08/16 04:28:36 mdb Exp $
|
||||
|
||||
package com.threerings.cocktail.party.server;
|
||||
|
||||
@@ -114,6 +114,15 @@ public class PlaceRegistry implements Subscriber
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the place manager associated with the specified place
|
||||
* object id or null if no such place exists.
|
||||
*/
|
||||
public PlaceManager getPlaceManager (int placeOid)
|
||||
{
|
||||
return (PlaceManager)_pmgrs.get(placeOid);
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns an enumeration of all of the registered place objects. This
|
||||
* should only be accessed on the dobjmgr thread and shouldn't be kept
|
||||
|
||||
Reference in New Issue
Block a user