1
0
mirror of https://github.com/Rogiel/l2jserver2 synced 2025-12-16 03:52:50 +00:00

Event dispatcher changes and packet implementations

Signed-off-by: Rogiel <rogiel@rogiel.com>
This commit is contained in:
2011-05-19 13:08:32 -03:00
parent 2c4af6d91d
commit 2d1181483a
77 changed files with 796 additions and 519 deletions

View File

@@ -16,14 +16,14 @@
*/
package com.l2jserver.model.world.clan;
import com.l2jserver.service.game.world.event.FilteredWorldListener;
import com.l2jserver.service.game.world.event.TypedWorldListener;
/**
* This listener will filter to only dispatch {@link ClanEvent} events.
*
* @author <a href="http://www.rogiel.com">Rogiel</a>
*/
public abstract class ClanListener extends FilteredWorldListener<ClanEvent> {
public abstract class ClanListener extends TypedWorldListener<ClanEvent> {
public ClanListener() {
super(ClanEvent.class);
}

View File

@@ -39,8 +39,7 @@ public class ClanMembers implements Iterable<CharacterID> {
/**
* The list of active members
*/
private final Set<CharacterID> members = CollectionFactory
.newSet(CharacterID.class);
private final Set<CharacterID> members = CollectionFactory.newSet();
/**
* Creates a new instance