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); }
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_); } }
public SaveDeckCmd(SaveDeckCmd other) : this() { info_ = ((other.info_ != null) ? other.info_.Clone() : null); _unknownFields = UnknownFieldSet.Clone(other._unknownFields); }