2014-10-15 14:35:50 +02:00
|
|
|
package com.massivecraft.factions.event;
|
|
|
|
|
|
|
|
import java.util.HashMap;
|
|
|
|
import java.util.Map;
|
|
|
|
|
|
|
|
import org.bukkit.command.CommandSender;
|
|
|
|
import org.bukkit.event.HandlerList;
|
|
|
|
|
|
|
|
import com.massivecraft.factions.entity.Faction;
|
|
|
|
import com.massivecraft.massivecore.PriorityLines;
|
|
|
|
|
2015-01-10 13:00:29 +01:00
|
|
|
public class EventFactionsFactionShowAsync extends EventFactionsAbstractSender
|
2014-10-15 14:35:50 +02:00
|
|
|
{
|
|
|
|
// -------------------------------------------- //
|
|
|
|
// REQUIRED EVENT CODE
|
|
|
|
// -------------------------------------------- //
|
|
|
|
|
|
|
|
private static final HandlerList handlers = new HandlerList();
|
|
|
|
@Override public HandlerList getHandlers() { return handlers; }
|
|
|
|
public static HandlerList getHandlerList() { return handlers; }
|
|
|
|
|
|
|
|
// -------------------------------------------- //
|
|
|
|
// FIELDS
|
|
|
|
// -------------------------------------------- //
|
|
|
|
|
|
|
|
private final Faction faction;
|
|
|
|
public Faction getFaction() { return this.faction; }
|
|
|
|
|
|
|
|
private final Map<String, PriorityLines> idPriorityLiness;
|
|
|
|
public Map<String, PriorityLines> getIdPriorityLiness() { return this.idPriorityLiness; }
|
|
|
|
|
|
|
|
// -------------------------------------------- //
|
|
|
|
// CONSTRUCT
|
|
|
|
// -------------------------------------------- //
|
|
|
|
|
2015-01-10 13:00:29 +01:00
|
|
|
public EventFactionsFactionShowAsync(CommandSender sender, Faction faction)
|
2014-10-15 14:35:50 +02:00
|
|
|
{
|
2015-01-10 13:00:29 +01:00
|
|
|
super(true, sender);
|
2014-10-15 14:35:50 +02:00
|
|
|
this.faction = faction;
|
|
|
|
this.idPriorityLiness = new HashMap<String, PriorityLines>();
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|