public class CustomTrigger extends Trigger implements AbstractCustomTriggerManager.EventHook
cooldowns, executorMap, gvarMap, info, observer, placeholderMap, root, script| Constructor and Description |
|---|
CustomTrigger(TriggerInfo info,
String script,
Class<?> event,
String eventName) |
| Modifier and Type | Method and Description |
|---|---|
CustomTrigger |
clone() |
boolean |
equals(Object obj) |
String |
getEventName() |
int |
hashCode() |
void |
onEvent(Object e) |
String |
toString() |
activate, checkCooldown, getInfo, getScript, getTimingId, init, initInterpreter, isSync, notifyObservers, setScript, setSync, start, start, startInterpretationpublic CustomTrigger(TriggerInfo info, String script, Class<?> event, String eventName) throws AbstractTriggerManager.TriggerInitFailedException
public CustomTrigger clone()
public String getEventName()
public void onEvent(Object e)
onEvent in interface AbstractCustomTriggerManager.EventHook