INNER CODE UNIT · Java
equals
AwakenCN/Almost-Famous · famous-common/src/main/java/LockstepProto/BattleActor.java:398
public boolean equals(final Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof BattleActor)) {
return super.equals(obj);
}
BattleActor other = (BattleActor) obj;
if (getRoleId()
!= other.getRoleId()) return false;
if (getIq()
!= other.getIq()) return false;
if (getAgi()
!= other.getAgi()) return false;
if (getStr()
!= other.getStr()) return false;
if (!getCardIdsList()