Class HeadmarkerOffsetTracker

java.lang.Object
gg.xp.xivsupport.events.state.combatstate.HeadmarkerOffsetTracker

public class HeadmarkerOffsetTracker extends Object
Deals with the offset headmarkers in newer content.
  • Constructor Details

    • HeadmarkerOffsetTracker

      public HeadmarkerOffsetTracker()
  • Method Details

    • processMarker

      public void processMarker(EventContext context, HeadMarkerEvent event)
    • reset

      public void reset(EventContext context, PullStartedEvent event)
    • reset

      public void reset(EventContext context, ZoneChangeEvent event)
    • reset

      public void reset(EventContext context, DutyCommenceEvent event)
    • 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()