LunaChat v3-k2 : Implement Backward Compatibility. (WIP)

このコミットが含まれているのは:
ucchy committed 2020-06-10 01:12:35 +09:00
1 親 a08c043055
コミット 172e64aa50
27ファイル変更
+2364 -24

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

+49
ファイルの表示
@@ -0,0 +1,49 @@
/*
* @author ucchy
* @license LGPLv3
* @copyright Copyright ucchy 2013
*/
package com.github.ucchyocean.lc.event;
import java.util.List;
import com.github.ucchyocean.lc.channel.ChannelPlayer;
/**
* メンバー変更イベント
* @author ucchy
*/
public class LunaChatChannelMemberChangedEvent extends LunaChatBaseCancellableEvent {
private List<ChannelPlayer> before;
private List<ChannelPlayer> after;
/**
* コンストラクタ
* @param channelName チャンネル名
* @param before 変更前のメンバー
* @param after 変更後のメンバー
*/
public LunaChatChannelMemberChangedEvent(
String channelName, List<ChannelPlayer> before, List<ChannelPlayer> after) {
super(channelName);
this.before = before;
this.after = after;
}
/**
* 変更前のメンバーリストをかえす
* @return
*/
public List<ChannelPlayer> getMembersBefore() {
return before;
}
/**
* 変更後のメンバーリストをかえす
* @return
*/
public List<ChannelPlayer> getMembersAfter() {
return after;
}
}