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 aFlagGotPickedUprecord class. -
Method Summary
Modifier and TypeMethodDescriptionlongReturns the value of thecarrierIdrecord component.final booleanIndicates whether some other object is "equal to" this one.longflagId()Returns the value of theflagIdrecord component.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods 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 thecomparemethod from their corresponding wrapper classes. -
flagId
-
carrierId
-