예제 #1
0
 public static void ResetThumbnails()
 {
     if (sThumbnails != null)
     {
         sThumbnails = null;
     }
 }
예제 #2
0
        //private static KeyNameS3SA sCurrntKNA = null;
        //private static KeyNameS3SA sCustomKNA = null;
        //private static KeyNameS3SA sGCoreKNA = null;
        //private static KeyNameS3SA sGContKNA = null;

        public static void RefreshKeyNameMaps()
        {
            sCurrntKNM = KeyNameMap.Current;
            sCustomKNM = KeyNameMap.CustomContent;

            //sCurrntKNA = KeyNameS3SA.Current;
            //sCustomKNA = KeyNameS3SA.CustomContent;

            bool ftEnabled = FileTable.FileTableEnabled;

            FileTable.FileTableEnabled = true;

            sGCoreKNM = KeyNameMap.GameCore;
            //bool ccEnabled = FileTable.CustomContentEnabled;
            //PathPackageTuple ppt = FileTable.Current;
            //FileTable.CustomContentEnabled = false;
            //FileTable.Current = null;
            sGContKNM = KeyNameMap.GameContent;
            sImageKNM = KeyNameMap.DDSImages;
            sThumbKNM = KeyNameMap.Thumbnails;

            //sGCoreKNA = KeyNameS3SA.GameCore;
            //sGContKNA = KeyNameS3SA.GameContent;

            FileTable.FileTableEnabled = ftEnabled;
            //FileTable.CustomContentEnabled = ccEnabled;
            //FileTable.Current = ppt;
        }
예제 #3
0
 public static void ResetDDSImages()
 {
     if (sDDSImages != null)
     {
         sDDSImages = null;
     }
 }
예제 #4
0
 public static void ResetGameContent()
 {
     if (sGameContent != null)
     {
         sGameContent = null;
     }
 }
예제 #5
0
 public static void ResetGameCore()
 {
     if (sGameCore != null)
     {
         sGameCore = null;
     }
 }
예제 #6
0
 public static void ResetCustomContent()
 {
     if (sCustomContent != null)
     {
         sCustomContent = null;
     }
 }
예제 #7
0
 public static void ResetCurrent()
 {
     if (sCurrent != null)
     {
         sCurrent = null;
     }
 }
예제 #8
0
 public static void ResetThumbnails()
 {
     if (sThumbnails != null)
     {
         sThumbnails = null;
     }
 }
예제 #9
0
 public static void ResetGameCore()
 {
     if (sGameCore != null)
     {
         sGameCore = null;
     }
 }
예제 #10
0
 public static void ResetGameContent()
 {
     if (sGameContent != null)
     {
         sGameContent = null;
     }
 }
예제 #11
0
 public static void ResetDDSImages()
 {
     if (sDDSImages != null)
     {
         sDDSImages = null;
     }
 }
예제 #12
0
 public static void ResetCustomContent()
 {
     if (sCustomContent != null)
     {
         sCustomContent = null;
     }
 }
예제 #13
0
 public static void ResetCurrent()
 {
     if (sCurrent != null)
     {
         sCurrent = null;
     }
 }
예제 #14
0
        //private static KeyNameS3SA sCurrntKNA = null;
        //private static KeyNameS3SA sCustomKNA = null;
        //private static KeyNameS3SA sGCoreKNA = null;
        //private static KeyNameS3SA sGContKNA = null;
        public static void RefreshKeyNameMaps()
        {
            sCurrntKNM = KeyNameMap.Current;
            sCustomKNM = KeyNameMap.CustomContent;

            //sCurrntKNA = KeyNameS3SA.Current;
            //sCustomKNA = KeyNameS3SA.CustomContent;

            bool ftEnabled = FileTable.FileTableEnabled;
            FileTable.FileTableEnabled = true;

            sGCoreKNM = KeyNameMap.GameCore;
            //bool ccEnabled = FileTable.CustomContentEnabled;
            //PathPackageTuple ppt = FileTable.Current;
            //FileTable.CustomContentEnabled = false;
            //FileTable.Current = null;
            sGContKNM = KeyNameMap.GameContent;
            sImageKNM = KeyNameMap.DDSImages;
            sThumbKNM = KeyNameMap.Thumbnails;

            //sGCoreKNA = KeyNameS3SA.GameCore;
            //sGContKNA = KeyNameS3SA.GameContent;

            FileTable.FileTableEnabled = ftEnabled;
            //FileTable.CustomContentEnabled = ccEnabled;
            //FileTable.Current = ppt;
        }