The first great Three Rings renaming. Cocktail changed to Narya, Cher
changed to Presents and Party changed to Crowd. Whee! git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@431 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -1,16 +1,16 @@
|
||||
//
|
||||
// $Id: ParlorManager.java,v 1.7 2001/10/09 20:20:35 mdb Exp $
|
||||
// $Id: ParlorManager.java,v 1.8 2001/10/11 04:07:51 mdb Exp $
|
||||
|
||||
package com.threerings.parlor.server;
|
||||
|
||||
import com.samskivert.util.Config;
|
||||
import com.samskivert.util.HashIntMap;
|
||||
|
||||
import com.threerings.cocktail.cher.server.InvocationManager;
|
||||
import com.threerings.cocktail.cher.server.ServiceFailedException;
|
||||
import com.threerings.presents.server.InvocationManager;
|
||||
import com.threerings.presents.server.ServiceFailedException;
|
||||
|
||||
import com.threerings.cocktail.party.data.BodyObject;
|
||||
import com.threerings.cocktail.party.server.PartyServer;
|
||||
import com.threerings.crowd.data.BodyObject;
|
||||
import com.threerings.crowd.server.CrowdServer;
|
||||
|
||||
import com.threerings.parlor.Log;
|
||||
import com.threerings.parlor.client.ParlorCodes;
|
||||
@@ -176,7 +176,7 @@ public class ParlorManager
|
||||
// started up (which is done by the place registry once the
|
||||
// game object creation has completed)
|
||||
GameManager gmgr = (GameManager)
|
||||
PartyServer.plreg.createPlace(invite.config);
|
||||
CrowdServer.plreg.createPlace(invite.config);
|
||||
|
||||
// provide the game manager with some initialization info
|
||||
String[] players = new String[] {
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
//
|
||||
// $Id: ParlorProvider.java,v 1.5 2001/10/03 03:44:52 mdb Exp $
|
||||
// $Id: ParlorProvider.java,v 1.6 2001/10/11 04:07:51 mdb Exp $
|
||||
|
||||
package com.threerings.parlor.server;
|
||||
|
||||
import com.threerings.cocktail.cher.server.InvocationProvider;
|
||||
import com.threerings.cocktail.cher.server.ServiceFailedException;
|
||||
import com.threerings.cocktail.party.data.BodyObject;
|
||||
import com.threerings.cocktail.party.server.PartyServer;
|
||||
import com.threerings.presents.server.InvocationProvider;
|
||||
import com.threerings.presents.server.ServiceFailedException;
|
||||
import com.threerings.crowd.data.BodyObject;
|
||||
import com.threerings.crowd.server.CrowdServer;
|
||||
|
||||
import com.threerings.parlor.Log;
|
||||
import com.threerings.parlor.client.ParlorCodes;
|
||||
@@ -49,7 +49,7 @@ public class ParlorProvider
|
||||
|
||||
// ensure that the invitee is online at present
|
||||
try {
|
||||
BodyObject target = PartyServer.lookupBody(invitee);
|
||||
BodyObject target = CrowdServer.lookupBody(invitee);
|
||||
if (target == null) {
|
||||
throw new ServiceFailedException(INVITEE_NOT_ONLINE);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user