Class TickEvent
java.lang.Object
gg.xp.reevent.events.BaseEvent
gg.xp.xivsupport.events.actlines.events.TickEvent
- All Implemented Interfaces:
Event
,HasEffects
,HasStatusEffect
,HasTargetEntity
,Serializable
Represents a DoT/HoT tick. ACT provides us with only the combined tick, but FFLogs gives us the full breakdown as well.
The effect ID is usually 0, in which case it is treated as a combined DoT/HoT tick. However, ground effects will
have the correct ID here.
- See Also:
-
Constructor Summary
ConstructorDescriptionTickEvent
(XivCombatant combatant, TickType type, long damageOrHeal, long rawEffectId) TickEvent
(XivCombatant combatant, TickType type, long damageOrHeal, XivStatusEffect statusEffect) -
Method Summary
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.HasEffects
getEffectsOfType
Methods inherited from interface gg.xp.xivsupport.events.actlines.events.HasStatusEffect
buffIdMatches
-
Constructor Details
-
TickEvent
public TickEvent(XivCombatant combatant, TickType type, long damageOrHeal, XivStatusEffect statusEffect) -
TickEvent
-
-
Method Details
-
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)
.
-
getCombatant
Deprecated. -
getType
-
getDamage
public long getDamage()- Specified by:
getDamage
in interfaceHasEffects
-
getRawEffectId
public long getRawEffectId() -
getEffects
- Specified by:
getEffects
in interfaceHasEffects
-
getBuff
- Specified by:
getBuff
in interfaceHasStatusEffect
-
getStacks
public long getStacks()- Specified by:
getStacks
in interfaceHasStatusEffect
-
getRawStacks
public long getRawStacks()- Specified by:
getRawStacks
in interfaceHasStatusEffect
-