private static void AddList(
            List <CustomClothesFileInfo> _list,
            string path,
            byte sex,
            bool preset,
            ref int idx)
        {
            string[] searchPattern = new string[1] {
                "*.png"
            };
            CoordinateCategoryKind coordinateCategoryKind = sex != (byte)0 ? CoordinateCategoryKind.Female : CoordinateCategoryKind.Male;

            if (preset)
            {
                coordinateCategoryKind |= CoordinateCategoryKind.Preset;
            }
            FolderAssist folderAssist = new FolderAssist();

            folderAssist.CreateFolderInfoEx(path, searchPattern, true);
            int fileCount = folderAssist.GetFileCount();

            for (int index = 0; index < fileCount; ++index)
            {
                ChaFileCoordinate chaFileCoordinate = new ChaFileCoordinate();
                if (!chaFileCoordinate.LoadFile(folderAssist.lstFile[index].FullPath))
                {
                    Debug.LogFormat("コーディネートファイル読込みエラー:Code {0}", new object[1]
                    {
                        (object)chaFileCoordinate.GetLastErrorCode()
                    });
                }
                else
                {
                    List <CustomClothesFileInfo> customClothesFileInfoList = _list;
                    CustomClothesFileInfo        customClothesFileInfo1    = new CustomClothesFileInfo();
                    CustomClothesFileInfo        customClothesFileInfo2    = customClothesFileInfo1;
                    int num1;
                    idx = (num1 = idx) + 1;
                    int num2 = num1;
                    customClothesFileInfo2.index    = num2;
                    customClothesFileInfo1.name     = chaFileCoordinate.coordinateName;
                    customClothesFileInfo1.FullPath = folderAssist.lstFile[index].FullPath;
                    customClothesFileInfo1.FileName = folderAssist.lstFile[index].FileName;
                    customClothesFileInfo1.time     = folderAssist.lstFile[index].time;
                    customClothesFileInfo1.cateKind = coordinateCategoryKind;
                    CustomClothesFileInfo customClothesFileInfo3 = customClothesFileInfo1;
                    customClothesFileInfoList.Add(customClothesFileInfo3);
                }
            }
        }
 private bool IsNowSelectInfo(CustomClothesFileInfo _info)
 {
     return(_info != null && this.selectInfo != null && this.selectInfo.info.FullPath == _info.FullPath);
 }