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: { Result = input.ReadUInt32(); break; } case 18: { if (tag_ == null) { tag_ = new global::Protocol.Server.Register.Server_Tag(); } input.ReadMessage(tag_); break; } } } }
public void MergeFrom(MSG_Server_Connect_Command other) { if (other == null) { return; } if (other.tag_ != null) { if (tag_ == null) { tag_ = new global::Protocol.Server.Register.Server_Tag(); } Tag.MergeFrom(other.Tag); } if (other.info_ != null) { if (info_ == null) { info_ = new global::Protocol.Server.Register.Connect_Info(); } Info.MergeFrom(other.Info); } if (other.ConnectType != 0) { ConnectType = other.ConnectType; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }
public void MergeFrom(MSG_Server_Register other) { if (other == null) { return; } if (other.tag_ != null) { if (tag_ == null) { tag_ = new global::Protocol.Server.Register.Server_Tag(); } Tag.MergeFrom(other.Tag); } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }