byte'd chat mode code

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1600 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Ray Greenwell
2002-07-22 22:54:04 +00:00
parent 5c5038690b
commit 71c7a488c9
9 changed files with 28 additions and 26 deletions
@@ -1,5 +1,5 @@
//
// $Id: SpotService.java,v 1.9 2002/07/22 22:26:26 ray Exp $
// $Id: SpotService.java,v 1.10 2002/07/22 22:54:04 ray Exp $
package com.threerings.whirled.spot.client;
@@ -56,11 +56,12 @@ public class SpotService implements SpotCodes
*/
public static void clusterSpeak (
Client client, int sceneId, int locationId, String message,
String mode, SpotSceneDirector rsptarget)
byte mode, SpotSceneDirector rsptarget)
{
InvocationDirector invdir = client.getInvocationDirector();
Object[] args = new Object[] {
new Integer(sceneId), new Integer(locationId), message, mode };
new Integer(sceneId), new Integer(locationId), message,
new Byte(mode) };
invdir.invoke(MODULE_NAME, CLUSTER_SPEAK_REQUEST, args, rsptarget);
Log.debug("Sent clusterSpeak request [sceneId=" + sceneId +
", locId=" + locationId + ", message=" + message + "].");