/[gr2lib]/trunk/gr2lib/core/coretypes/implementation/grnfileinfo.cs
ViewVC logotype

Diff of /trunk/gr2lib/core/coretypes/implementation/grnfileinfo.cs

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

--- trunk/gr2lib/core/coretypes/implementation/grnfileinfo.cs	2010/07/16 23:44:30	89
+++ trunk/gr2lib/core/coretypes/implementation/grnfileinfo.cs	2010/07/17 00:00:16	90
@@ -170,6 +170,15 @@
 
 
         #region Igrnfileinfo Members
+
+
+        public bool HaveArtToolInfo { get { if (this.ArtToolInfo == null) return false; return true; } }
+        public bool HaveExporterInfo { get { if (this.ExporterInfo == null) return false; return true; } }
+        public bool HaveFromFileName { get { if (this.FromFileName == null || this.FromFileName == "") return false; return true; } }
+        public bool HaveTextures { get { if (this.Textures == null || this.Textures.Count <= 0) return false; return true; } }
+        public bool HaveMaterials { get { if (this.Materials == null || this.Materials.Count <= 0) return false; return true; } }
+        public bool HaveSkeletons { get { if (this.Skeletons == null || this.Skeletons.Count <= 0) return false; return true; } }
+
         public ArtToolInfo ArtToolInfo { get { return _ArtToolInfo; } set { _ArtToolInfo = value; } }
         public ExporterInfo ExporterInfo { get { return _ExporterInfo; } set { _ExporterInfo = value; } }
         public string FromFileName { get { return fromFileName; } set { fromFileName = value; } }

 

  ViewVC Help
Powered by ViewVC 1.1.22