mirror of
https://github.com/Rogiel/l2jserver2
synced 2025-12-08 00:13:11 +00:00
Character Friend implementation
Signed-off-by: Rogiel <rogiel@rogiel.com>
This commit is contained in:
@@ -1,16 +0,0 @@
|
||||
package com.l2jserver.service.game.scripting;
|
||||
|
||||
import com.l2jserver.model.world.capability.Scriptable;
|
||||
|
||||
public interface Script<O extends Scriptable> extends Runnable {
|
||||
/**
|
||||
* Load this script for <tt>object</tt>
|
||||
*
|
||||
* @param object
|
||||
*/
|
||||
void load(O object);
|
||||
|
||||
void unload();
|
||||
|
||||
O getObject();
|
||||
}
|
||||
@@ -6,6 +6,7 @@ import java.util.List;
|
||||
import com.l2jserver.model.world.WorldObject;
|
||||
import com.l2jserver.model.world.filter.WorldObjectFilter;
|
||||
import com.l2jserver.service.Service;
|
||||
import com.l2jserver.service.game.world.event.WorldEventDispatcher;
|
||||
|
||||
/**
|
||||
* Service responsible for managing {@link WorldObject} and dispatch events.
|
||||
|
||||
@@ -15,6 +15,7 @@ import com.l2jserver.model.world.iterator.FilterIterator;
|
||||
import com.l2jserver.service.AbstractService;
|
||||
import com.l2jserver.service.ServiceStartException;
|
||||
import com.l2jserver.service.ServiceStopException;
|
||||
import com.l2jserver.service.game.world.event.WorldEventDispatcher;
|
||||
import com.l2jserver.util.factory.CollectionFactory;
|
||||
|
||||
public class WorldServiceImpl extends AbstractService implements WorldService {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package com.l2jserver.service.game.world;
|
||||
package com.l2jserver.service.game.world.event;
|
||||
|
||||
import com.l2jserver.model.id.ObjectID;
|
||||
import com.l2jserver.model.world.capability.Listenable;
|
||||
@@ -1,4 +1,4 @@
|
||||
package com.l2jserver.service.game.world;
|
||||
package com.l2jserver.service.game.world.event;
|
||||
|
||||
import java.util.Queue;
|
||||
import java.util.Timer;
|
||||
Reference in New Issue
Block a user