Class HeadMarkerEvent

java.lang.Object
gg.xp.reevent.events.BaseEvent
gg.xp.xivsupport.events.actlines.events.HeadMarkerEvent
All Implemented Interfaces:
Event, HasPrimaryValue, HasTargetEntity, Serializable

public class HeadMarkerEvent extends BaseEvent implements HasTargetEntity, HasPrimaryValue
Represents a headmarker. Note that this does not have any correction applied, i.e. for offset markers
See Also:
  • Constructor Details

    • HeadMarkerEvent

      public HeadMarkerEvent(XivCombatant target, long markerId)
  • Method Details

    • getTarget

      public XivCombatant getTarget()
      Specified by:
      getTarget in interface HasTargetEntity
      Returns:
      The target of this headmarker
    • getMarkerId

      public long getMarkerId()
      Returns:
      The ID of this headmarker
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getMarkerOffset

      public int getMarkerOffset()
      Returns:
      The ID of this headmarker relative to the beginning of the pull
    • setPullOffset

      public void setPullOffset(int pullOffset)
    • getPrimaryValue

      public String getPrimaryValue()
      Specified by:
      getPrimaryValue in interface HasPrimaryValue
      Returns:
      A text description of this object. Should be user-friendly and not over-the-top technical (fine-grained details belong in other fields, or in the Object.toString() method).