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:
Michael Bayne
2001-10-11 04:07:54 +00:00
parent ac477756ea
commit 8a4c46badc
170 changed files with 832 additions and 805 deletions
@@ -1,11 +1,11 @@
//
// $Id: ChatProvider.java,v 1.4 2001/10/01 22:14:55 mdb Exp $
// $Id: ChatProvider.java,v 1.5 2001/10/11 04:07:51 mdb Exp $
package com.threerings.cocktail.party.chat;
package com.threerings.crowd.chat;
import com.threerings.cocktail.cher.server.InvocationProvider;
import com.threerings.cocktail.party.data.BodyObject;
import com.threerings.cocktail.party.server.PartyServer;
import com.threerings.presents.server.InvocationProvider;
import com.threerings.crowd.data.BodyObject;
import com.threerings.crowd.server.CrowdServer;
/**
* The chat provider handles the server side of the chat-related
@@ -22,7 +22,7 @@ public class ChatProvider
BodyObject source, int invid, String target, String message)
{
// look up the target body object
BodyObject tobj = PartyServer.lookupBody(target);
BodyObject tobj = CrowdServer.lookupBody(target);
if (tobj == null) {
sendResponse(source, invid, TELL_FAILED_RESPONSE,
USER_NOT_ONLINE);
@@ -30,7 +30,7 @@ public class ChatProvider
// deliver a tell notification to the target player
Object[] args = new Object[] { source.username, message };
PartyServer.invmgr.sendNotification(
CrowdServer.invmgr.sendNotification(
tobj.getOid(), MODULE_NAME, TELL_NOTIFICATION, args);
sendResponse(source, invid, TELL_SUCCEEDED_RESPONSE);