⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 emote.java

📁 piweurrrrq i o fhsadhfka fd dskajc zxkjcnkjsahc
💻 JAVA
字号:
/* * Copyright (c) 2000 Lyrisoft Solutions, Inc. * Used by permission */package com.lyrisoft.chat.client.command;import com.lyrisoft.chat.client.Client;/** * Handle an emote message */public class Emote extends UserCommandProcessor {    /**     * @see com.lyrisoft.chat.server.local.ChatServerLocal#emoteToRoom     */    public void process(String input, String arg, Client client) throws NotEnoughArgumentsException {        String[] args = decompose(input, 2);        if (arg.startsWith("PRIVATE__")) {            String user = arg.substring(9, arg.length());            client.getServerInterface().emoteToUser(user, args[1]);            client.emoteToUserPrivate(user, args[1]);        } else {            client.getServerInterface().emoteToRoom(arg, args[1]);        }    }}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -