+ self.toon_texture_index=toon_texture_index\r
+ self.comment=comment\r
+ self.vertex_count=vertex_count\r
+\r
+ def __eq__(self, rhs):\r
+ return (\r
+ self.name==rhs.name\r
+ and self.english_name==rhs.english_name\r
+ and self.diffuse_color==rhs.diffuse_color\r
+ and self.alpha==rhs.alpha\r
+ and self.specular_color==rhs.specular_color\r
+ and self.specular_factor==rhs.specular_factor\r
+ and self.ambient_color==rhs.ambient_color\r
+ and self.flag==rhs.flag\r
+ and self.edge_color==rhs.edge_color\r
+ and self.edge_size==rhs.edge_size\r
+ and self.texture_index==rhs.texture_index\r
+ and self.sphere_texture_index==rhs.sphere_texture_index\r
+ and self.sphere_mode==rhs.sphere_mode\r
+ and self.toon_sharing_flag==rhs.toon_sharing_flag\r
+ and self.toon_texture_index==rhs.toon_texture_index\r
+ and self.comment==rhs.comment\r
+ and self.vertex_count==rhs.vertex_count\r
+ )\r
+\r
+ def diff(self, rhs):\r
+ #self._diff(rhs, "name")\r
+ self._diff(rhs, "english_name")\r
+ self._diff(rhs, "diffuse_color")\r
+ self._diff(rhs, "alpha")\r
+ self._diff(rhs, "specular_color")\r
+ self._diff(rhs, "specular_factor")\r
+ self._diff(rhs, "ambient_color")\r
+ self._diff(rhs, "flag")\r
+ self._diff(rhs, "edge_color")\r
+ self._diff(rhs, "edge_size")\r
+ self._diff(rhs, "texture_index")\r
+ self._diff(rhs, "sphere_texture_index")\r
+ self._diff(rhs, "sphere_mode")\r
+ self._diff(rhs, "toon_sharing_flag")\r
+ self._diff(rhs, "toon_texture_index")\r
+ self._diff(rhs, "comment")\r
+ self._diff(rhs, "vertex_count")\r
+\r
+ def __ne__(self, rhs):\r
+ return not self.__eq__(rhs)\r