2012-03-02 02:16:45 +01:00
|
|
|
package com.massivecraft.factions.event;
|
|
|
|
|
2013-04-12 09:47:43 +02:00
|
|
|
import org.bukkit.command.CommandSender;
|
2012-03-02 02:16:45 +01:00
|
|
|
import org.bukkit.event.HandlerList;
|
|
|
|
|
2014-06-04 16:47:01 +02:00
|
|
|
public class EventFactionsCreate extends EventFactionsAbstractSender
|
2012-03-02 02:16:45 +01:00
|
|
|
{
|
2013-04-10 09:34:14 +02:00
|
|
|
// -------------------------------------------- //
|
|
|
|
// REQUIRED EVENT CODE
|
|
|
|
// -------------------------------------------- //
|
|
|
|
|
2012-03-02 02:16:45 +01:00
|
|
|
private static final HandlerList handlers = new HandlerList();
|
2013-04-10 09:34:14 +02:00
|
|
|
@Override public HandlerList getHandlers() { return handlers; }
|
|
|
|
public static HandlerList getHandlerList() { return handlers; }
|
|
|
|
|
|
|
|
// -------------------------------------------- //
|
|
|
|
// FIELDS
|
|
|
|
// -------------------------------------------- //
|
2013-04-12 09:47:43 +02:00
|
|
|
|
2013-04-22 13:03:21 +02:00
|
|
|
private final String universe;
|
|
|
|
public final String getUniverse() { return this.universe; }
|
2013-04-10 09:34:14 +02:00
|
|
|
|
2013-04-22 13:03:21 +02:00
|
|
|
private final String factionId;
|
|
|
|
public final String getFactionId() { return this.factionId; }
|
2013-04-10 09:34:14 +02:00
|
|
|
|
2013-04-24 19:01:17 +02:00
|
|
|
private final String factionName;
|
|
|
|
public final String getFactionName() { return this.factionName; }
|
2013-04-10 09:34:14 +02:00
|
|
|
|
|
|
|
// -------------------------------------------- //
|
|
|
|
// CONSTRUCT
|
|
|
|
// -------------------------------------------- //
|
|
|
|
|
2014-06-04 16:47:01 +02:00
|
|
|
public EventFactionsCreate(CommandSender sender, String universe, String factionId, String factionName)
|
2012-03-13 14:27:03 +01:00
|
|
|
{
|
2013-04-19 12:27:39 +02:00
|
|
|
super(sender);
|
2013-04-22 13:03:21 +02:00
|
|
|
this.universe = universe;
|
2013-04-12 09:47:43 +02:00
|
|
|
this.factionId = factionId;
|
2013-04-24 19:01:17 +02:00
|
|
|
this.factionName = factionName;
|
2012-03-13 14:27:03 +01:00
|
|
|
}
|
2012-03-02 02:16:45 +01:00
|
|
|
|
|
|
|
}
|