Class TetherEvent

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

public class TetherEvent extends BaseEvent implements HasSourceEntity, HasTargetEntity, HasPrimaryValue
Event representing a tether. Rather than relying on tether events always ordering the two targets in a particular way, consider using order-agnostic methods, such as eitherTargetMatches(gg.xp.xivsupport.models.XivCombatant), getTargetMatching(java.util.function.Predicate<gg.xp.xivsupport.models.XivCombatant>), and getTargets(). In addition, for computing multiple tethers, there is a getUnitsTetheredTo(gg.xp.xivsupport.models.XivCombatant, java.util.Collection<gg.xp.xivsupport.events.actlines.events.TetherEvent>) method which you may find convenient.
See Also: