예제 #1
0
 public static void Initialize()
 {
     ModsManager.Initialize();
     ContentCache.AddPackage("app:/Content.pak", Encoding.UTF8.GetBytes(Pad()), new byte[1]
     {
         63
     });
     LanguageControl.init(ModsManager.modSettings.languageType);
     List <FileEntry> .Enumerator enumerator = ModsManager.GetEntries(".pak").GetEnumerator();
     while (enumerator.MoveNext())
     {
         ContentCache.AddPackage(() => enumerator.Current.Stream, Encoding.UTF8.GetBytes(Pad()), new byte[1]
         {
             63
         });
     }
 }