From 19354e55afebb7be83aebce9b3a86cfba3ab9c0e Mon Sep 17 00:00:00 2001 From: Michael Bayne Date: Sun, 30 Mar 2003 02:53:05 +0000 Subject: [PATCH] Added shout chat mode. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2352 542714f4-19e9-0310-aa3c-eee0fc999fb1 --- src/java/com/threerings/crowd/chat/data/ChatCodes.java | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/java/com/threerings/crowd/chat/data/ChatCodes.java b/src/java/com/threerings/crowd/chat/data/ChatCodes.java index 47740157a..cec363291 100644 --- a/src/java/com/threerings/crowd/chat/data/ChatCodes.java +++ b/src/java/com/threerings/crowd/chat/data/ChatCodes.java @@ -1,5 +1,5 @@ // -// $Id: ChatCodes.java,v 1.14 2003/01/22 23:14:11 shaper Exp $ +// $Id: ChatCodes.java,v 1.15 2003/03/30 02:53:05 mdb Exp $ package com.threerings.crowd.chat; @@ -38,13 +38,17 @@ public interface ChatCodes extends InvocationCodes * actually an emote. */ public static final byte EMOTE_MODE = 2; + /** A {@link SpeakService#speak} mode to indicate that a speak is + * actually a shout. */ + public static final byte SHOUT_MODE = 3; + /** A {@link SpeakService#speak} mode to indicate that a speak is * actually a server-wide broadcast. */ - public static final byte BROADCAST_MODE = 3; + public static final byte BROADCAST_MODE = 4; /** String translations for the various chat modes. */ public static final String[] XLATE_MODES = { - "default", "think", "emote", "broadcast" }; + "default", "think", "emote", "shout", "broadcast" }; /** An error code delivered when the user targeted for a tell * notification is not online. */