mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2024-10-24 03:33:06 +02:00
47 lines
961 B
Java
47 lines
961 B
Java
|
package com.eu.habbo.plugin;
|
||
|
|
||
|
public enum EventPriority
|
||
|
{
|
||
|
/**
|
||
|
* Event call is of very low importance and should be ran first, to allow
|
||
|
* other plugins to further customise the outcome
|
||
|
*/
|
||
|
LOWEST(0),
|
||
|
/**
|
||
|
* Event call is of low importance
|
||
|
*/
|
||
|
LOW(1),
|
||
|
/**
|
||
|
* Event call is neither important nor unimportant, and may be ran
|
||
|
* normally
|
||
|
*/
|
||
|
NORMAL(2),
|
||
|
/**
|
||
|
* Event call is of high importance
|
||
|
*/
|
||
|
HIGH(3),
|
||
|
/**
|
||
|
* Event call is critical and must have the final say in what happens
|
||
|
* to the event
|
||
|
*/
|
||
|
HIGHEST(4),
|
||
|
/**
|
||
|
* Event is listened to purely for monitoring the outcome of an event.
|
||
|
* <p>
|
||
|
* No modifications to the event should be made under this priority
|
||
|
*/
|
||
|
MONITOR(5);
|
||
|
|
||
|
private final int slot;
|
||
|
|
||
|
private EventPriority(int slot)
|
||
|
{
|
||
|
this.slot = slot;
|
||
|
}
|
||
|
|
||
|
public int getSlot()
|
||
|
{
|
||
|
return this.slot;
|
||
|
}
|
||
|
}
|