emote.java
来自「piweurrrrq i o fhsadhfka fd dskajc zxkjc」· Java 代码 · 共 27 行
JAVA
27 行
/* * 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 + =
减小字号Ctrl + -
显示快捷键?