Class AbilityCastStart
java.lang.Object
gg.xp.reevent.events.BaseEvent
gg.xp.xivsupport.events.actlines.events.AbilityCastStart
- All Implemented Interfaces:
Event
,HasAbility
,HasDuration
,HasSourceEntity
,HasTargetEntity
,Serializable
public class AbilityCastStart
extends BaseEvent
implements HasSourceEntity, HasTargetEntity, HasAbility, HasDuration
Represents an ability cast beginning i.e. castbar has appeared
- See Also:
-
Constructor Summary
ConstructorDescriptionAbilityCastStart
(XivAbility ability, XivCombatant source, XivCombatant target, double duration) -
Method Summary
Modifier and TypeMethodDescription@Nullable DescribesCastLocation<AbilityCastStart>
@Nullable Duration
void
setLocationInfo
(@NotNull DescribesCastLocation<AbilityCastStart> locationInfo) toString()
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, 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.HasAbility
abilityIdMatches
Methods inherited from interface gg.xp.xivsupport.events.actlines.events.HasDuration
getEffectiveTimeSince, getEstimatedElapsedDuration, getEstimatedRemainingDuration, getEstimatedTimeSinceExpiry, isIndefinite, remainingDurationPlus, wouldBeExpired
-
Constructor Details
-
AbilityCastStart
public AbilityCastStart(XivAbility ability, XivCombatant source, XivCombatant target, double duration)
-
-
Method Details
-
getAbility
- Specified by:
getAbility
in interfaceHasAbility
-
getSource
- Specified by:
getSource
in interfaceHasSourceEntity
- Returns:
- The source of this action. Note that this is a snapshot of the source at the point in time when the
action occurred. To see the current data, use
XivState.getLatestCombatantData(XivCombatant)
.
-
getTarget
- Specified by:
getTarget
in interfaceHasTargetEntity
- Returns:
- The target of this action. Note that this is a snapshot of the target at the point in time when the
action occurred. To see the current data, use
XivState.getLatestCombatantData(XivCombatant)
.
-
getInitialDuration
- Specified by:
getInitialDuration
in interfaceHasDuration
- Returns:
- The initial duration at the time of the event happening.
-
getUnmodifiedCastDuration
-
getLocationInfo
-
setLocationInfo
-
toString
-