Class VisualCdInfoCharge
java.lang.Object
gg.xp.xivsupport.events.triggers.jobs.gui.VisualCdInfoCharge
- All Implemented Interfaces:
LabelOverride
,VisualCdInfo
,CurrentMaxPair
-
Constructor Summary
ConstructorDescriptionVisualCdInfoCharge
(BasicCooldownDescriptor cd, @Nullable BaseEvent basisEvent, @Nullable BuffApplied buffApplied, @Nullable Instant replenishedAt, int chargeNum) -
Method Summary
Modifier and TypeMethodDescriptionlong
current()
@Nullable BuffApplied
@Nullable AbilityUsedEvent
getEvent()
getLabel()
long
List<? extends VisualCdInfo>
long
max()
boolean
boolean
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface gg.xp.xivsupport.models.CurrentMaxPair
getPercent, getShortString, isEmpty, isFull
-
Constructor Details
-
VisualCdInfoCharge
public VisualCdInfoCharge(BasicCooldownDescriptor cd, @Nullable @Nullable BaseEvent basisEvent, @Nullable @Nullable BuffApplied buffApplied, @Nullable @Nullable Instant replenishedAt, int chargeNum)
-
-
Method Details
-
getEvent
- Specified by:
getEvent
in interfaceVisualCdInfo
-
getLabel
- Specified by:
getLabel
in interfaceLabelOverride
-
current
public long current()- Specified by:
current
in interfaceCurrentMaxPair
-
getBuffApplied
- Specified by:
getBuffApplied
in interfaceVisualCdInfo
-
max
public long max()- Specified by:
max
in interfaceCurrentMaxPair
-
useChargeDisplay
public boolean useChargeDisplay()- Specified by:
useChargeDisplay
in interfaceVisualCdInfo
-
getPrimaryAbilityId
public long getPrimaryAbilityId()- Specified by:
getPrimaryAbilityId
in interfaceVisualCdInfo
-
stillValid
public boolean stillValid()- Specified by:
stillValid
in interfaceVisualCdInfo
-
makeChargeInfo
- Specified by:
makeChargeInfo
in interfaceVisualCdInfo
-
getStatus
- Specified by:
getStatus
in interfaceVisualCdInfo
-