INNER CODE UNIT · Java

hash

AwakenCN/Almost-Famous · famous-common/src/main/java/LockstepProto/BattleActor.java:437

    hash = (19 * hash) + getDescriptor().hashCode();
    hash = (37 * hash) + ROLEID_FIELD_NUMBER;
    hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
        getRoleId());
    hash = (37 * hash) + IQ_FIELD_NUMBER;
    hash = (53 * hash) + getIq();
    hash = (37 * hash) + AGI_FIELD_NUMBER;
    hash = (53 * hash) + getAgi();
    hash = (37 * hash) + STR_FIELD_NUMBER;
    hash = (53 * hash) + getStr();
    if (getCardIdsCount() > 0) {
      hash = (37 * hash) + CARDIDS_FIELD_NUMBER;
      hash = (53 * hash) + getCardIdsList().hashCode();
    }
    hash = (37 * hash) + SCHOOL_FIELD_NUMBER;
    hash = (53 * hash) + getSchool();
    hash = (37 * hash) + ROLENAME_FIELD_NUMBER;
    hash = (53 * hash) + getRoleName().hashCode();

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…