mirror of
https://github.com/Rogiel/l2jserver2
synced 2025-12-16 03:52:50 +00:00
@@ -3,6 +3,14 @@ package com.l2jserver.model.world.clan;
|
||||
import com.l2jserver.model.world.Clan;
|
||||
import com.l2jserver.model.world.event.WorldEvent;
|
||||
|
||||
/**
|
||||
* Base event for {@link Clan} objects
|
||||
*
|
||||
* @author <a href="http://www.rogiel.com">Rogiel</a>
|
||||
*/
|
||||
public interface ClanEvent extends WorldEvent {
|
||||
/**
|
||||
* @return the clan
|
||||
*/
|
||||
Clan getClan();
|
||||
}
|
||||
|
||||
@@ -2,5 +2,10 @@ package com.l2jserver.model.world.clan;
|
||||
|
||||
import com.l2jserver.model.world.event.WorldListener;
|
||||
|
||||
/**
|
||||
* Base listener for {@link ClanEvent}
|
||||
*
|
||||
* @author <a href="http://www.rogiel.com">Rogiel</a>
|
||||
*/
|
||||
public interface ClanListener extends WorldListener<ClanEvent> {
|
||||
}
|
||||
|
||||
@@ -26,6 +26,12 @@ public class ClanMembers implements Iterable<CharacterID> {
|
||||
private final Set<CharacterID> members = CollectionFactory
|
||||
.newSet(CharacterID.class);
|
||||
|
||||
/**
|
||||
* Creates a new instance
|
||||
*
|
||||
* @param clan
|
||||
* the clan
|
||||
*/
|
||||
public ClanMembers(Clan clan) {
|
||||
this.clan = clan;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user