Ejemplo n.º 1
0
 public void MergeFrom(Extensions other)
 {
     if (other == null)
     {
         return;
     }
     if (other.vRMCVrm_ != null)
     {
         if (vRMCVrm_ == null)
         {
             VRMCVrm = new global::VrmProtobuf.VRMCVrm();
         }
         VRMCVrm.MergeFrom(other.VRMCVrm);
     }
     if (other.vRMCSpringBone_ != null)
     {
         if (vRMCSpringBone_ == null)
         {
             VRMCSpringBone = new global::VrmProtobuf.VRMCSpringBone();
         }
         VRMCSpringBone.MergeFrom(other.VRMCSpringBone);
     }
     if (other.vRMCConstraint_ != null)
     {
         if (vRMCConstraint_ == null)
         {
             VRMCConstraint = new global::VrmProtobuf.VRMCConstraint();
         }
         VRMCConstraint.MergeFrom(other.VRMCConstraint);
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }
Ejemplo n.º 2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (vRMCVrm_ != null)
            {
                hash ^= VRMCVrm.GetHashCode();
            }
            if (vRMCSpringBone_ != null)
            {
                hash ^= VRMCSpringBone.GetHashCode();
            }
            if (vRMCConstraint_ != null)
            {
                hash ^= VRMCConstraint.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }