Package gg.xp.xivsupport.events.fflogs
Record Class FflogsMasterDataEvent.Actor
java.lang.Object
java.lang.Record
gg.xp.xivsupport.events.fflogs.FflogsMasterDataEvent.Actor
- Enclosing class:
- FflogsMasterDataEvent
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.long
gameID()
Returns the value of thegameID
record component.final int
hashCode()
Returns a hash code value for this object.long
id()
Returns the value of theid
record component.name()
Returns the value of thename
record component.@Nullable Long
petOwner()
Returns the value of thepetOwner
record component.subType()
Returns the value of thesubType
record component.final String
toString()
Returns a string representation of this record class.type()
Returns the value of thetype
record component.
-
Constructor Details
-
Actor
public Actor(long gameID, long id, String name, @Nullable @Nullable Long petOwner, String type, String subType) Creates an instance of aActor
record class.- Parameters:
gameID
- the value for thegameID
record componentid
- the value for theid
record componentname
- the value for thename
record componentpetOwner
- the value for thepetOwner
record componenttype
- the value for thetype
record componentsubType
- the value for thesubType
record 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. Reference components are compared withObjects::equals(Object,Object)
; primitive components are compared with '=='. -
gameID
public long gameID()Returns the value of thegameID
record component.- Returns:
- the value of the
gameID
record component
-
id
public long id()Returns the value of theid
record component.- Returns:
- the value of the
id
record component
-
name
Returns the value of thename
record component.- Returns:
- the value of the
name
record component
-
petOwner
Returns the value of thepetOwner
record component.- Returns:
- the value of the
petOwner
record component
-
type
Returns the value of thetype
record component.- Returns:
- the value of the
type
record component
-
subType
Returns the value of thesubType
record component.- Returns:
- the value of the
subType
record component
-