com.github.ucchyocean.lc.event
クラス LunaChatChannelCreateEvent
java.lang.Object
org.bukkit.event.Event
com.github.ucchyocean.lc.event.LunaChatBaseEvent
com.github.ucchyocean.lc.event.LunaChatBaseCancellableEvent
com.github.ucchyocean.lc.event.LunaChatChannelCreateEvent
- すべての実装されたインタフェース:
- org.bukkit.event.Cancellable
public class LunaChatChannelCreateEvent
- extends LunaChatBaseCancellableEvent
チャンネル作成イベント
- 作成者:
- ucchy
クラス org.bukkit.event.Event から継承された入れ子のクラス/インタフェース |
org.bukkit.event.Event.Result |
クラス org.bukkit.event.Event から継承されたメソッド |
getEventName, isAsynchronous |
LunaChatChannelCreateEvent
public LunaChatChannelCreateEvent(String channelName,
org.bukkit.command.CommandSender sender)
setChannelName
public void setChannelName(String channelName)
- 作成するチャンネルのチャンネル名を上書き設定する
- パラメータ:
channelName
- 設定するチャンネル名
getSender
public org.bukkit.command.CommandSender getSender()
- チャンネルを作成した人を取得する。
- 戻り値:
- チャンネルを作成したCommandSender
getChannel
public Channel getChannel()
- 推奨されていません。 チャンネル作成イベントは、チャンネルを作成する前に呼び出されるので、
このメソッドの戻り値は必ずnullになります。
- クラス
LunaChatBaseEvent
の記述:
- チャンネルを取得する
- オーバーライド:
- クラス
LunaChatBaseEvent
内の getChannel
- 戻り値:
- チャンネル
- 関連項目:
LunaChatBaseEvent.getChannel()
Copyright © 2016. All rights reserved.