示例#1
0
        public int CompareTo(ArrayMaterialIdentity other)
        {
            var modComparison = Mod.CompareTo(other.Mod);

            if (modComparison != 0)
            {
                return(modComparison);
            }
            return(ArrayMaterial.CompareTo(other.ArrayMaterial));
        }
示例#2
0
 public bool Equals(ArrayMaterialIdentity other)
 {
     return(Mod.Equals(other.Mod) && ArrayMaterial == other.ArrayMaterial);
 }