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 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 a FflogsFightCombatantData record class.
      Parameters:
      friendlyPlayers - the value for the friendlyPlayers record component
      enemyPlayers - the value for the enemyPlayers record component
      friendlyPets - the value for the friendlyPets record component
      enemyPets - the value for the enemyPets record component
      friendlyNPCs - the value for the friendlyNPCs record component
      enemyNPCs - the value for the enemyNPCs record component
  • Method Details

    • toString

      public final String 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • 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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      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 with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • friendlyPlayers

      public List<Long> friendlyPlayers()
      Returns the value of the friendlyPlayers record component.
      Returns:
      the value of the friendlyPlayers record component
    • enemyPlayers

      public List<Long> enemyPlayers()
      Returns the value of the enemyPlayers record component.
      Returns:
      the value of the enemyPlayers record component
    • friendlyPets

      public List<FflogsPetData> friendlyPets()
      Returns the value of the friendlyPets record component.
      Returns:
      the value of the friendlyPets record component
    • enemyPets

      public List<FflogsPetData> enemyPets()
      Returns the value of the enemyPets record component.
      Returns:
      the value of the enemyPets record component
    • friendlyNPCs

      public List<FflogsNpcData> friendlyNPCs()
      Returns the value of the friendlyNPCs record component.
      Returns:
      the value of the friendlyNPCs record component
    • enemyNPCs

      public List<FflogsNpcData> enemyNPCs()
      Returns the value of the enemyNPCs record component.
      Returns:
      the value of the enemyNPCs record component