Package gg.xp.xivsupport.events.fflogs
Record Class FflogsFightCombatantData
java.lang.Object
java.lang.Record
gg.xp.xivsupport.events.fflogs.FflogsFightCombatantData
public record FflogsFightCombatantData(List<Long> friendlyPlayers, List<Long> enemyPlayers, List<FflogsPetData> friendlyPets, List<FflogsPetData> enemyPets, List<FflogsNpcData> friendlyNPCs, List<FflogsNpcData> enemyNPCs)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionFflogsFightCombatantData(List<Long> friendlyPlayers, List<Long> enemyPlayers, List<FflogsPetData> friendlyPets, List<FflogsPetData> enemyPets, List<FflogsNpcData> friendlyNPCs, List<FflogsNpcData> enemyNPCs) Creates an instance of aFflogsFightCombatantDatarecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theenemyNPCsrecord component.Returns the value of theenemyPetsrecord component.Returns the value of theenemyPlayersrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of thefriendlyNPCsrecord component.Returns the value of thefriendlyPetsrecord component.Returns the value of thefriendlyPlayersrecord component.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
FflogsFightCombatantData
public FflogsFightCombatantData(List<Long> friendlyPlayers, List<Long> enemyPlayers, List<FflogsPetData> friendlyPets, List<FflogsPetData> enemyPets, List<FflogsNpcData> friendlyNPCs, List<FflogsNpcData> enemyNPCs) Creates an instance of aFflogsFightCombatantDatarecord class.- Parameters:
friendlyPlayers- the value for thefriendlyPlayersrecord componentenemyPlayers- the value for theenemyPlayersrecord componentfriendlyPets- the value for thefriendlyPetsrecord componentenemyPets- the value for theenemyPetsrecord componentfriendlyNPCs- the value for thefriendlyNPCsrecord componentenemyNPCs- the value for theenemyNPCsrecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
friendlyPlayers
Returns the value of thefriendlyPlayersrecord component.- Returns:
- the value of the
friendlyPlayersrecord component
-
enemyPlayers
Returns the value of theenemyPlayersrecord component.- Returns:
- the value of the
enemyPlayersrecord component
-
friendlyPets
Returns the value of thefriendlyPetsrecord component.- Returns:
- the value of the
friendlyPetsrecord component
-
enemyPets
Returns the value of theenemyPetsrecord component.- Returns:
- the value of the
enemyPetsrecord component
-
friendlyNPCs
Returns the value of thefriendlyNPCsrecord component.- Returns:
- the value of the
friendlyNPCsrecord component
-
enemyNPCs
Returns the value of theenemyNPCsrecord component.- Returns:
- the value of the
enemyNPCsrecord component
-