LunaChat v3-k2 : BungeeCord implementation. (WIP)

このコミットが含まれているのは:
ucchy committed 2020-05-29 22:56:30 +09:00
1 親 330fb0aaab
コミット 6202f00729
98ファイル変更
+1149 -715

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

-43
ファイルの表示
@@ -1,43 +0,0 @@
/*
* @author ucchy
* @license LGPLv3
* @copyright Copyright ucchy 2020
*/
package com.github.ucchyocean.lc.event;
import org.bukkit.event.Cancellable;
/**
* 基底のキャンセル可能イベントクラス
* @author ucchy
*/
public class LunaChatBaseCancellableEvent extends LunaChatBaseEvent implements Cancellable {
private boolean isCancelled;
/**
* コンストラクタ
* @param channelName チャンネル名
*/
public LunaChatBaseCancellableEvent(String channelName) {
super(channelName);
}
/**
* イベントがキャンセルされたかどうかをかえす
* @see org.bukkit.event.Cancellable#isCancelled()
*/
@Override
public boolean isCancelled() {
return isCancelled;
}
/**
* イベントをキャンセルするかどうかを設定する
* @see org.bukkit.event.Cancellable#setCancelled(boolean)
*/
@Override
public void setCancelled(boolean cancelled) {
isCancelled = cancelled;
}
}