|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectcom.github.ucchyocean.lc.channel.Channel
com.github.ucchyocean.lc.channel.ChannelImpl
public class ChannelImpl
チャンネルの実装クラス
メソッドの概要 | |
---|---|
void |
chat(ChannelPlayer player,
String message)
このチャットに発言をする |
void |
chatFromOtherSource(String player,
String source,
String message)
ほかの連携先などから、このチャットに発言する |
void |
checkExpires()
期限付きBanや期限付きMuteをチェックし、期限が切れていたら解除を行う |
ArrayList<String> |
getInfo(boolean forModerator)
チャンネル情報を返す |
ArrayList<String> |
getLog(String player,
String filter,
String date,
boolean reverse)
ログファイルを読み込んで、ログデータを取得する |
void |
sendMessage(ChannelPlayer player,
String message,
String format,
boolean sendDynmap,
String name)
メッセージを表示します。 |
クラス com.github.ucchyocean.lc.channel.Channel から継承されたメソッド |
---|
addMember, addModerator, deserialize, getAlias, getBanExpires, getBanned, getChatRange, getColorCode, getDescription, getFormat, getHided, getJapanizeType, getMembers, getModerator, getMuted, getMuteExpires, getName, getOnlineNum, getPassword, getPrivateMessageTo, getTotalNum, hasModeratorPermission, isAllowCC, isBroadcastChannel, isForceJoinChannel, isGlobalChannel, isPersonalChat, isVisible, isWorldRange, removeMember, removeModerator, save, serialize, setAlias, setAllowCC, setBroadcast, setChatRange, setColorCode, setDescription, setFormat, setJapanizeType, setPassword, setPrivateMessageTo, setVisible, setWorldRange |
クラス java.lang.Object から継承されたメソッド |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
メソッドの詳細 |
---|
public void chat(ChannelPlayer player, String message)
Channel
内の chat
player
- 発言をするプレイヤーmessage
- 発言をするメッセージpublic void chatFromOtherSource(String player, String source, String message)
Channel
内の chatFromOtherSource
player
- プレイヤー名source
- 連携元を判別する文字列message
- メッセージpublic void sendMessage(ChannelPlayer player, String message, String format, boolean sendDynmap, String name)
Channel
内の sendMessage
player
- プレイヤー(ワールドチャット、範囲チャットの場合は必須です)message
- メッセージformat
- フォーマットsendDynmap
- dynmapへ送信するかどうかname
- 発言者名public ArrayList<String> getInfo(boolean forModerator)
Channel
内の getInfo
forModerator
- モデレータ向けの情報を含めるかどうか
public ArrayList<String> getLog(String player, String filter, String date, boolean reverse)
Channel
内の getLog
player
- プレイヤー名、フィルタしないならnullを指定することfilter
- フィルタ、フィルタしないならnullを指定することdate
- 日付、今日のデータを取得するならnullを指定することreverse
- 逆順取得
public void checkExpires()
Channel
内の checkExpires
|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |