Esempio n. 1
0
  static boolean a(TurnBasedMatch var0, Object var1) {
    boolean var3 = true;
    boolean var2;
    if (!(var1 instanceof TurnBasedMatch)) {
      var2 = false;
    } else {
      var2 = var3;
      if (var0 != var1) {
        TurnBasedMatch var4 = (TurnBasedMatch) var1;
        if (jv.equal(var4.getGame(), var0.getGame())
            && jv.equal(var4.getMatchId(), var0.getMatchId())
            && jv.equal(var4.getCreatorId(), var0.getCreatorId())
            && jv.equal(
                Long.valueOf(var4.getCreationTimestamp()),
                Long.valueOf(var0.getCreationTimestamp()))
            && jv.equal(var4.getLastUpdaterId(), var0.getLastUpdaterId())
            && jv.equal(
                Long.valueOf(var4.getLastUpdatedTimestamp()),
                Long.valueOf(var0.getLastUpdatedTimestamp()))
            && jv.equal(var4.getPendingParticipantId(), var0.getPendingParticipantId())
            && jv.equal(Integer.valueOf(var4.getStatus()), Integer.valueOf(var0.getStatus()))
            && jv.equal(
                Integer.valueOf(var4.getTurnStatus()), Integer.valueOf(var0.getTurnStatus()))
            && jv.equal(var4.getDescription(), var0.getDescription())
            && jv.equal(Integer.valueOf(var4.getVariant()), Integer.valueOf(var0.getVariant()))
            && jv.equal(Integer.valueOf(var4.getVersion()), Integer.valueOf(var0.getVersion()))
            && jv.equal(var4.getParticipants(), var0.getParticipants())
            && jv.equal(var4.getRematchId(), var0.getRematchId())
            && jv.equal(
                Integer.valueOf(var4.getMatchNumber()), Integer.valueOf(var0.getMatchNumber()))
            && jv.equal(var4.getAutoMatchCriteria(), var0.getAutoMatchCriteria())
            && jv.equal(
                Integer.valueOf(var4.getAvailableAutoMatchSlots()),
                Integer.valueOf(var0.getAvailableAutoMatchSlots()))) {
          var2 = var3;
          if (jv.equal(
              Boolean.valueOf(var4.isLocallyModified()),
              Boolean.valueOf(var0.isLocallyModified()))) {
            return var2;
          }
        }

        return false;
      }
    }

    return var2;
  }
Esempio n. 2
0
 static String b(TurnBasedMatch var0) {
   return jv.h(var0)
       .a("Game", var0.getGame())
       .a("MatchId", var0.getMatchId())
       .a("CreatorId", var0.getCreatorId())
       .a("CreationTimestamp", Long.valueOf(var0.getCreationTimestamp()))
       .a("LastUpdaterId", var0.getLastUpdaterId())
       .a("LastUpdatedTimestamp", Long.valueOf(var0.getLastUpdatedTimestamp()))
       .a("PendingParticipantId", var0.getPendingParticipantId())
       .a("MatchStatus", Integer.valueOf(var0.getStatus()))
       .a("TurnStatus", Integer.valueOf(var0.getTurnStatus()))
       .a("Description", var0.getDescription())
       .a("Variant", Integer.valueOf(var0.getVariant()))
       .a("Data", var0.getData())
       .a("Version", Integer.valueOf(var0.getVersion()))
       .a("Participants", var0.getParticipants())
       .a("RematchId", var0.getRematchId())
       .a("PreviousData", var0.getPreviousMatchData())
       .a("MatchNumber", Integer.valueOf(var0.getMatchNumber()))
       .a("AutoMatchCriteria", var0.getAutoMatchCriteria())
       .a("AvailableAutoMatchSlots", Integer.valueOf(var0.getAvailableAutoMatchSlots()))
       .a("LocallyModified", Boolean.valueOf(var0.isLocallyModified()))
       .a("DescriptionParticipantId", var0.getDescriptionParticipantId())
       .toString();
 }
Esempio n. 3
0
  public TurnBasedMatchEntity(TurnBasedMatch var1) {
    this.CK = 2;
    this.acs = new GameEntity(var1.getGame());
    this.Zb = var1.getMatchId();
    this.aep = var1.getCreatorId();
    this.adS = var1.getCreationTimestamp();
    this.aex = var1.getLastUpdaterId();
    this.XH = var1.getLastUpdatedTimestamp();
    this.aey = var1.getPendingParticipantId();
    this.aez = var1.getStatus();
    this.aeE = var1.getTurnStatus();
    this.adW = var1.getVariant();
    this.Ef = var1.getVersion();
    this.aeB = var1.getRematchId();
    this.aeD = var1.getMatchNumber();
    this.aem = var1.getAutoMatchCriteria();
    this.aeF = var1.isLocallyModified();
    this.UO = var1.getDescription();
    this.aeG = var1.getDescriptionParticipantId();
    byte[] var4 = var1.getData();
    if (var4 == null) {
      this.aeA = null;
    } else {
      this.aeA = new byte[var4.length];
      System.arraycopy(var4, 0, this.aeA, 0, var4.length);
    }

    var4 = var1.getPreviousMatchData();
    if (var4 == null) {
      this.aeC = null;
    } else {
      this.aeC = new byte[var4.length];
      System.arraycopy(var4, 0, this.aeC, 0, var4.length);
    }

    ArrayList var5 = var1.getParticipants();
    int var3 = var5.size();
    this.adV = new ArrayList(var3);

    for (int var2 = 0; var2 < var3; ++var2) {
      this.adV.add(
          (ParticipantEntity) ((ParticipantEntity) ((Participant) var5.get(var2)).freeze()));
    }
  }
Esempio n. 4
0
 static int a(TurnBasedMatch var0) {
   return jv.hashCode(
       new Object[] {
         var0.getGame(),
         var0.getMatchId(),
         var0.getCreatorId(),
         Long.valueOf(var0.getCreationTimestamp()),
         var0.getLastUpdaterId(),
         Long.valueOf(var0.getLastUpdatedTimestamp()),
         var0.getPendingParticipantId(),
         Integer.valueOf(var0.getStatus()),
         Integer.valueOf(var0.getTurnStatus()),
         var0.getDescription(),
         Integer.valueOf(var0.getVariant()),
         Integer.valueOf(var0.getVersion()),
         var0.getParticipants(),
         var0.getRematchId(),
         Integer.valueOf(var0.getMatchNumber()),
         var0.getAutoMatchCriteria(),
         Integer.valueOf(var0.getAvailableAutoMatchSlots()),
         Boolean.valueOf(var0.isLocallyModified())
       });
 }