HonorLee 11 months ago
parent
commit
a7665c3bb1
1 changed files with 4 additions and 4 deletions
  1. 4 4
      CrossgateToolkit/Graphic.cs

+ 4 - 4
CrossgateToolkit/Graphic.cs

@@ -179,19 +179,19 @@ namespace CrossgateToolkit
         }
         
         // 获取图档数据
-        public static GraphicDetail GetGraphicDetail(uint serial,int palet = 0)
+        public static GraphicDetail GetGraphicDetail(uint serial,int palet = 0,bool linerFilter = false)
         {
             GraphicInfoData graphicInfoData = GraphicInfo.GetGraphicInfoData(serial);
             if (graphicInfoData == null) return null;
-            return GraphicData.GetGraphicDetail(graphicInfoData, palet);
+            return GraphicData.GetGraphicDetail(graphicInfoData, palet, 0, linerFilter);
         }
         
         // 获取图档数据
-        public static GraphicDetail GetGraphicDetailByIndex(string Version,uint index,int palet = 0)
+        public static GraphicDetail GetGraphicDetailByIndex(string Version,uint index,int palet = 0,bool linerFilter = false)
         {
             GraphicInfoData graphicInfoData = GraphicInfo.GetGraphicInfoDataByIndex(Version, index);
             if (graphicInfoData == null) return null;
-            return GraphicData.GetGraphicDetail(graphicInfoData, palet);
+            return GraphicData.GetGraphicDetail(graphicInfoData, palet, 0, linerFilter);
         }
     }
 }