Record Class FlagGotPickedUp
java.lang.Object
java.lang.Record
dev.zwazel.internal.message.data.flag.FlagGotPickedUp
- Record Components:
flagId
- The ID of the flag that got picked up.carrierId
- The ID of the client that picked up the flag.
- All Implemented Interfaces:
MessageData
Represents the message data for when a flag is picked up.
Received when a flag is picked up.
-
Constructor Summary
ConstructorsConstructorDescriptionFlagGotPickedUp
(long flagId, long carrierId) Creates an instance of aFlagGotPickedUp
record class. -
Method Summary
Modifier and TypeMethodDescriptionlong
Returns the value of thecarrierId
record component.final boolean
Indicates whether some other object is "equal to" this one.long
flagId()
Returns the value of theflagId
record component.final int
hashCode()
Returns a hash code value for this object.final String
toString()
Returns a string representation of this record class.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface dev.zwazel.internal.message.MessageData
applyBeforeSend, applyOnAddingToQueue, applyOnReceive, isUnique
-
Constructor Details
-
FlagGotPickedUp
-
-
Method Details
-
toString
-
hashCode
-
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 with thecompare
method from their corresponding wrapper classes. -
flagId
-
carrierId
-