public void MergeFrom(TestTableArraysTemplate other) { if (other == null) { return; } if (other.Id != 0) { Id = other.Id; } weapons_.Add(other.weapons_); if (other.bornPosition_ != null) { if (bornPosition_ == null) { BornPosition = new global::Position3d(); } BornPosition.MergeFrom(other.BornPosition); } testTypes_.Add(other.testTypes_); if (other.LinkId != 0) { LinkId = other.LinkId; } if (other.Model.Length != 0) { Model = other.Model; } if (other.Icon.Length != 0) { Icon = other.Icon; } machineTypes_.Add(other.machineTypes_); if (other.MapType.Length != 0) { MapType = other.MapType; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }