Package com.threerings.crowd.chat.data

Examples of com.threerings.crowd.chat.data.UserMessage


     */
    public void sendClusterChatMessage (int sceneId, int speakerOid, Name speaker,
                                        String bundle, String message, byte mode)
    {
        sendClusterChatMessage(sceneId, speakerOid,
                               new UserMessage(speaker, bundle, message, mode));
    }
View Full Code Here


    // documentation inherited from interface ChatDisplay
    public boolean displayMessage (ChatMessage message, boolean displayed)
    {
        if (message instanceof UserMessage) {
            UserMessage msg = (UserMessage) message;
            if (msg.localtype == ChatCodes.USER_CHAT_TYPE) {
                append("[" + msg.speaker + " whispers] ", _nameStyle);
                append(msg.message + "\n", _msgStyle);
            } else {
                append("<" + msg.speaker + "> ", _nameStyle);
View Full Code Here

     */
    @Deprecated
    protected void handleClusterSpeakRequest (
        int sourceOid, Name source, String bundle, String message, byte mode)
    {
        handleClusterMessageRequest(sourceOid, new UserMessage(source, bundle, message, mode));
    }
View Full Code Here

TOP

Related Classes of com.threerings.crowd.chat.data.UserMessage

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.