Package crow.game.ha0.proto
Record Class AccountReg2StoreRequest
java.lang.Object
java.lang.Record
crow.game.ha0.proto.AccountReg2StoreRequest
- Record Components:
aid- Account IDcid- Character IDactions- The list of actions to take.
public record AccountReg2StoreRequest(int aid, int cid, List<AccountReg2StoreAction> actions)
extends Record
Message sent when the map or char server want to update the users data, seemingly to update data
that can be recalled by OTHER map servers.
-
Constructor Summary
ConstructorsConstructorDescriptionAccountReg2StoreRequest(int aid, int cid, List<AccountReg2StoreAction> actions) Creates an instance of aAccountReg2StoreRequestrecord class. -
Method Summary
Modifier and TypeMethodDescriptionactions()Returns the value of theactionsrecord component.intaid()Returns the value of theaidrecord component.intcid()Returns the value of thecidrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.toString()Returns a string representation of this record class.
-
Constructor Details
-
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 '=='. -
aid
public int aid()Returns the value of theaidrecord component.- Returns:
- the value of the
aidrecord component
-
cid
public int cid()Returns the value of thecidrecord component.- Returns:
- the value of the
cidrecord component
-
actions
Returns the value of theactionsrecord component.- Returns:
- the value of the
actionsrecord component
-