Class HeadmarkerOffsetTracker
java.lang.Object
gg.xp.xivsupport.events.state.combatstate.HeadmarkerOffsetTracker
Deals with the offset headmarkers in newer content.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
void
processMarker
(EventContext context, HeadMarkerEvent event) void
reset()
Manually reset the tracking.void
reset
(EventContext context, DutyCommenceEvent event) void
reset
(EventContext context, ZoneChangeEvent event) void
reset
(EventContext context, PullStartedEvent event) void
setFakeFirstId
(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()
-