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: ChatDirector.java,v 1.26 2002/07/22 22:26:26 ray Exp $
// $Id: ChatDirector.java,v 1.27 2002/07/22 22:54:03 ray Exp $
package com.threerings.crowd.chat;
@@ -351,18 +351,19 @@ public class ChatDirector
}
String bundle = null;
String message, mode;
String message;
byte mode;
// determine whether this speak message originated from another
// client or from a server entity
if (args.length == 3) {
message = (String)args[1];
mode = (String) args[2];
mode = ((Byte) args[2]).byteValue();
} else {
bundle = (String)args[1];
message = (String)args[2];
mode = (String) args[3];
mode = ((Byte) args[3]).byteValue();
}
// pass this on to our chat displays
@@ -1,5 +1,5 @@
//
// $Id: ChatDisplay.java,v 1.11 2002/07/22 22:26:26 ray Exp $
// $Id: ChatDisplay.java,v 1.12 2002/07/22 22:54:03 ray Exp $
package com.threerings.crowd.chat;
@@ -33,7 +33,7 @@ public interface ChatDisplay
*/
public void displaySpeakMessage (
String type, String speaker, String bundle, String message,
String mode);
byte mode);
/**
* Called to display a tell message. A tell message is one that is