示例#1
0
 public void MergeFrom(SaveDeckCmd other)
 {
     if (other == null)
     {
         return;
     }
     if (other.info_ != null)
     {
         if (info_ == null)
         {
             info_ = new DeckInfo();
         }
         Info.MergeFrom(other.Info);
     }
     _unknownFields = UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }
示例#2
0
        public void MergeFrom(CodedInputStream input)
        {
            uint num;

            while ((num = input.ReadTag()) != 0)
            {
                if (num != 10)
                {
                    _unknownFields = UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
                    continue;
                }
                if (info_ == null)
                {
                    info_ = new DeckInfo();
                }
                input.ReadMessage(info_);
            }
        }
示例#3
0
 public SaveDeckCmd(SaveDeckCmd other)
     : this()
 {
     info_          = ((other.info_ != null) ? other.info_.Clone() : null);
     _unknownFields = UnknownFieldSet.Clone(other._unknownFields);
 }