diff --git a/src/java/com/threerings/crowd/server/PlaceRegistry.java b/src/java/com/threerings/crowd/server/PlaceRegistry.java index fa0a29cc9..2964f73d1 100644 --- a/src/java/com/threerings/crowd/server/PlaceRegistry.java +++ b/src/java/com/threerings/crowd/server/PlaceRegistry.java @@ -1,5 +1,5 @@ // -// $Id: PlaceRegistry.java,v 1.4 2001/08/02 01:21:03 mdb Exp $ +// $Id: PlaceRegistry.java,v 1.5 2001/08/02 01:48:08 mdb Exp $ package com.threerings.cocktail.party.server; @@ -134,6 +134,16 @@ public class PlaceRegistry implements Subscriber }; } + /** + * Returns an enumeration of all of the registered place managers. + * This should only be accessed on the dobjmgr thread and shouldn't be + * kept around across event dispatches. + */ + public Enumeration getPlaceManagers () + { + return _pmgrs.elements(); + } + /** * Unregisters the place from the registry. Called by the place * manager when a place object that it was managing is destroyed.