Class CountdownStartedEvent
java.lang.Object
gg.xp.reevent.events.BaseEvent
gg.xp.xivsupport.events.state.combatstate.CountdownStartedEvent
- All Implemented Interfaces:
Event
,HasDuration
,HasSourceEntity
,Serializable
Represents a player beginning a countdown.
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
void
Indicates that the countdown has been canceled.Methods inherited from class gg.xp.reevent.events.BaseEvent
delayedEnqueueAt, effectiveTimeNow, getCreatedAt, getEffectiveHappenedAt, getEffectiveTimeSince, getEnqueuedAt, getHappenedAt, getParent, getPumpedAt, getPumpFinishedAt, getSourceEventHandler, isImported, setDelayedEnqueueAt, setDelayedEnqueueOffset, setDelayedEnqueueOffset, setEnqueuedAt, setHappenedAt, setImported, setParent, setPumpedAt, setPumpFinishedAt, setSourceEventHandler, setTimeSource
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface gg.xp.reevent.events.Event
combineWith, delayedEnqueueAtFront, dumpFields, getThisOrParentOfType, shouldSave
Methods inherited from interface gg.xp.xivsupport.events.actlines.events.HasDuration
getEffectiveTimeSince, getEstimatedElapsedDuration, getEstimatedRemainingDuration, getEstimatedTimeSinceExpiry, isIndefinite, remainingDurationPlus, wouldBeExpired
-
Constructor Details
-
CountdownStartedEvent
-
-
Method Details
-
getInitialDuration
- Specified by:
getInitialDuration
in interfaceHasDuration
- Returns:
- The initial duration of the countdown
-
markAsCanceled
public void markAsCanceled()Indicates that the countdown has been canceled. -
isCanceled
public boolean isCanceled()- Returns:
- whether the countdown has been canceled.
-
getSource
- Specified by:
getSource
in interfaceHasSourceEntity
- Returns:
- The player who started the countdown.
-