LunaChat v3.0.3 : Clickable chat message (WIP)

このコミットが含まれているのは:
ucchy committed 2020-06-29 01:47:26 +09:00
1 親 74a2e4de8c
コミット 0466653e89
24ファイル変更
+667 -355

検索条件に一致するファイルはありません

+4 -1
ファイルの表示
@@ -27,6 +27,7 @@ import com.github.ucchyocean.lc3.event.EventResult;
import com.github.ucchyocean.lc3.japanize.JapanizeType;
import com.github.ucchyocean.lc3.member.ChannelMember;
import com.github.ucchyocean.lc3.util.ChatColor;
import com.github.ucchyocean.lc3.util.ChatFormatter;
import com.github.ucchyocean.lc3.util.Utility;
import com.github.ucchyocean.lc3.util.YamlConfig;
@@ -563,7 +564,9 @@ public abstract class Channel {
* @param player プレイヤー
* @return 置き換え結果
*/
protected abstract String replaceKeywords(String format, ChannelMember player);
protected String replaceKeywords(String format, ChannelMember player) {
return ChatFormatter.replaceKeywordsForChannel(format, player, this);
}
/**
* チャンネル情報を返す