Class BuffRemoved
java.lang.Object
gg.xp.reevent.events.BaseEvent
gg.xp.xivsupport.events.actlines.events.BuffRemoved
- All Implemented Interfaces:
Event
,HasSourceEntity
,HasStatusEffect
,HasTargetEntity
,Serializable
public class BuffRemoved
extends BaseEvent
implements HasSourceEntity, HasTargetEntity, HasStatusEffect
Represents a buff being removed
- See Also:
-
Constructor Summary
ConstructorDescriptionBuffRemoved
(XivStatusEffect buff, double duration, XivCombatant source, XivCombatant target, long rawStacks) -
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, 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.HasStatusEffect
buffIdMatches
-
Constructor Details
-
BuffRemoved
public BuffRemoved(XivStatusEffect buff, double duration, XivCombatant source, XivCombatant target, long rawStacks)
-
-
Method Details
-
getBuff
- Specified by:
getBuff
in interfaceHasStatusEffect
-
getDuration
public double getDuration() -
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)
.
-
getStacks
public long getStacks()- Specified by:
getStacks
in interfaceHasStatusEffect
-
getRawStacks
public long getRawStacks()- Specified by:
getRawStacks
in interfaceHasStatusEffect
-
toString
-