Class HeadmarkerOffsetTracker
java.lang.Object
gg.xp.xivsupport.events.state.combatstate.HeadmarkerOffsetTracker
Deals with the offset headmarkers in newer content.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidprocessMarker(EventContext context, HeadMarkerEvent event) voidreset()Manually reset the tracking.voidreset(EventContext context, DutyCommenceEvent event) voidreset(EventContext context, ZoneChangeEvent event) voidreset(EventContext context, PullStartedEvent event) voidsetFakeFirstId(long firstId) Force a fake 'first ID'.
-
Constructor Details
-
HeadmarkerOffsetTracker
public HeadmarkerOffsetTracker()
-
-
Method Details
-
processMarker
-
reset
-
reset
-
reset
-
reset
public void reset()Manually reset the tracking. This is global, so use sparingly. This would mostly be used for phase transitions. -
setFakeFirstId
public void setFakeFirstId(long firstId) Force a fake 'first ID'. May be used for fights where the first headmarker ID is variable but still determinable based on other aspects of the fight.Please note that this affects all downstream consumers! Generally, it is preferable to have anything using this be part of the main repo, so that different plugins don't try to force their own behavior on everything else.
- Parameters:
firstId- the fake first ID
-
hasFirstId
public boolean hasFirstId()
-