Exemple #1
0
 public void MergeFrom(BoutInformation other)
 {
     if (other == null)
     {
         return;
     }
     if (other.PlayRoundNumber != 0L)
     {
         PlayRoundNumber = other.PlayRoundNumber;
     }
     if (other.Amount != 0L)
     {
         Amount = other.Amount;
     }
     if (other.Award != 0L)
     {
         Award = other.Award;
     }
     if (other.IsComplete != false)
     {
         IsComplete = other.IsComplete;
     }
     if (other.playId_ != null)
     {
         if (playId_ == null)
         {
             PlayId = new global::AElf.Types.Hash();
         }
         PlayId.MergeFrom(other.PlayId);
     }
     if (other.BingoRoundNumber != 0L)
     {
         BingoRoundNumber = other.BingoRoundNumber;
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }