public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 8: { code_ = (global::Msg.ResponseCode)input.ReadEnum(); break; } case 18: { if (err_ == null) { err_ = new global::Msg.Error(); } input.ReadMessage(err_); break; } case 26: { skills_.AddEntriesFrom(input, _repeated_skills_codec); break; } } } }
public void MergeFrom(SkillUpgradeResponse other) { if (other == null) { return; } if (other.Code != 0) { Code = other.Code; } if (other.err_ != null) { if (err_ == null) { err_ = new global::Msg.Error(); } Err.MergeFrom(other.Err); } if (other.skill_ != null) { if (skill_ == null) { skill_ = new global::Msg.Skill(); } Skill.MergeFrom(other.Skill); } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }
public void MergeFrom(SkillResponse other) { if (other == null) { return; } if (other.Code != 0) { Code = other.Code; } if (other.err_ != null) { if (err_ == null) { err_ = new global::Msg.Error(); } Err.MergeFrom(other.Err); } skills_.Add(other.skills_); _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }