Package gg.xp.xivsupport.events.state
Class XivStateDummy
java.lang.Object
gg.xp.xivsupport.events.state.XivStateDummy
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
getMap()
int
getPartySlotOf
(XivEntity entity) Returns the party slot of the given entitygetZone()
boolean
inCombat()
void
void
provideCombatantHP
(XivCombatant target, @NotNull HitPoints hitPoints) void
provideCombatantMP
(XivCombatant target, @NotNull ManaPoints manaPoints) void
provideCombatantPos
(XivCombatant target, Position newPos) void
provideCombatantRadius
(XivCombatant cbt, float radius) void
provideCombatantShieldPct
(XivCombatant cbt, long shieldPct) void
provideTransformation
(long entityId, short transformationId) void
provideWeaponId
(XivCombatant existing, short weaponId) void
removeSpecificCombatant
(long idToRemove) void
setCombatants
(List<XivCombatant> combatants) void
setCombatants
(Map<Long, XivCombatant> combatants) void
void
setPartyList
(List<XivPlayerCharacter> partyList) void
setPlayer
(XivPlayerCharacter player) void
boolean
zoneIs
(long zoneId) 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.events.state.XivState
dutyIs, getCombatant, getLatestCombatantData, getPlayerJob, npcById, npcsById, playerJobMatches
-
Constructor Details
-
XivStateDummy
-
-
Method Details
-
getPlayer
-
setPlayer
-
getZone
-
setZone
-
getMap
-
setMap
-
getPartyList
- Specified by:
getPartyList
in interfaceXivState
-
setPartyList
-
zoneIs
public boolean zoneIs(long zoneId) -
removeSpecificCombatant
public void removeSpecificCombatant(long idToRemove) - Specified by:
removeSpecificCombatant
in interfaceXivState
-
getCombatants
- Specified by:
getCombatants
in interfaceXivState
-
setCombatants
-
setCombatants
-
getCombatantsListCopy
- Specified by:
getCombatantsListCopy
in interfaceXivState
-
getPartySlotOf
Description copied from interface:XivState
Returns the party slot of the given entity- Specified by:
getPartySlotOf
in interfaceXivState
- Parameters:
entity
- The entity- Returns:
- 0-7 based on their party slot, or -1 if they are not in the party
-
provideCombatantHP
- Specified by:
provideCombatantHP
in interfaceXivState
-
provideCombatantMP
- Specified by:
provideCombatantMP
in interfaceXivState
-
provideCombatantPos
- Specified by:
provideCombatantPos
in interfaceXivState
-
provideActFallbackCombatant
- Specified by:
provideActFallbackCombatant
in interfaceXivState
-
flushProvidedValues
public void flushProvidedValues()- Specified by:
flushProvidedValues
in interfaceXivState
-
inCombat
public boolean inCombat() -
provideCombatantShieldPct
- Specified by:
provideCombatantShieldPct
in interfaceXivState
-
provideCombatantRadius
- Specified by:
provideCombatantRadius
in interfaceXivState
-
provideTransformation
public void provideTransformation(long entityId, short transformationId) - Specified by:
provideTransformation
in interfaceXivState
-
provideWeaponId
- Specified by:
provideWeaponId
in interfaceXivState
-